0
голосов
1ответов
1492 просмотров

NetBeans + Mercurial + SSH = Endless Pull/Push

I have well working Mercurial. I can push/pull through cmd commands. But in NetBeans push/pull lasts forever. I've tried to push to BitBucket over http and it worked. But the same thing over ssh didn't. And the same ssh push with 'hg push ssh://...' worked. What's wrong with NetBeans? It may be ...

5
голосов
4ответов
3117 просмотров

Is it possible to set up a private Mercurial repository on Google Code?

I like the fact that Google Code is a free option for Mercurial hosting but, in the test project I set up I couldn't find a way to designate the repository as private. Ideally I would like to work on a project privately until it is ready for the world to see and only then open it up to others. ...

5
голосов
2ответов
2504 просмотров

Is there way to tell Mercurial to put .orig files into a separate directory?

I don't like Mercurial polluting the source tree with .orig files and such. Is it possible to keep all such files in /tmp, for example?

14
голосов
1ответов
3328 просмотров

Mercurial - how do I populate repository descriptions for hgwebdir.cgi?

Currently if I specify a description in hgwebdir.config it shows up the same for each repository. I want to have a unique name for each repository. Where and how do I set this? My hgwebdir.config looks like this at present: [web] style = Gitweb contact = BrianLy description = Same description ...

46
голосов
6ответов
9793 просмотров

Handling renames: svn vs. git vs. mercurial

How do each of these VCS handle renames? I have found a lot of contradicting information stating that git tracks LOC (lines of code) instead of files, renames would therefore have no meaning for it.

4
голосов
4ответов
1117 просмотров

Retrieve revision number in VS with qmake

My current workflow: hg update (or whatever one uses to check out a revision) MyProject.pro → qmake → MyProject.vcproj Open Visual Studio, edit files Build project During the build step, how can I update my config.h header file with information from version control system (e.g. hg id)? MyPr...

2
голосов
1ответов
396 просмотров

Is it possible to "read" a mercurial repos from a browser using javascript?

I want to be able to list the files and directories of a mercurial repository in a web browser using javascript.

1
голосов
5ответов
551 просмотров

Provisioning mercurial server

I'm in need of a software (not a service) that has a web API to both create as well as interact with mercurial repositories. In my mind's eye I imagine the API might look like: POST /repos name=foo Creates a repository at /repos/foo, which then works as per hgwebdir.cgi. Does such softwar...

5
голосов
1ответов
1542 просмотров

Mercurial Client with SVN Support for Windows

Are there any Mercurial clients for Windows that have integrated SVN support? Our build server uses SVN and there are no plans to move towards Mercurial, but I prefer Mercurial over the other distributed source control clients I have tried (e.g., Git). I've looked into TortiseHG and the Mercuria...

43
голосов
3ответов
16504 просмотров

hgignore: help ignoring all files but certain ones

I need an .hgdontignore file :-) to include certain files and exclude everything else in a directory. Basically I want to include only the .jar files in a particular directory and nothing else. How can I do this? I'm not that skilled in regular expression syntax. Or can I do it with glob syntax? ...

7
голосов
3ответов
9356 просмотров

How to properly setup Mercurial plugin for Eclipse?

Just added Mercurial plugin (1.4.12.86) to Eclipse (Web Dev Version, Build id:20090920-1017), and got this error on startup: Cannot run program "hg": CreateProcess error=2, The system cannot find the file specified Found a thread on the same problem, but have no idea how to fix it. Here's mor...

29
голосов
7ответов
10201 просмотров

Git versus Mercurial for .NET developers?

I've been wondering what is the better DVCS for .NET developers? From reading various information it has sounded like Mercurial works better on Windows, but other information claims that Git has caught up and surpassed Mercurial in offering quality Windows and Visual Studio tools. Does anyone h...

3
голосов
2ответов
1341 просмотров

Forking on Google Code (or any other SVN hosting)

Sites like github, bitbucket provides an excellent/useful feature of "forking" projects. This allows one to simply fork a project and work on their desired features (before submitting it to the projector owner and getting commit access). How is this workflow best achieved for SVN projects (espec...

5
голосов
1ответов
1408 просмотров

Blocking write-access to a specific branch in a single mercurial repository

Is it possible to write some manner of hook in mercurial that will reject changesets that effect a specific named branch in a repository? We have a managed project and would like to allow any developers to push their changes to our repository so long as they are in their own named branch. This a...

5
голосов
3ответов
725 просмотров

Does anyone have a script to handle multiple hg repositories at once?

I have a project that is combining multiple hg repositories (different components) to build a single application. I'm looking for a cross-platform tool to support performing an operation on multiple repos at the same time (e.g. tag, pull, push, commit etc...) Essentially, I'm looking for the 'rep...

13
голосов
2ответов
2393 просмотров

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the ...

24
голосов
1ответов
1139 просмотров

Mercurial: TortoiseHg's "guess rename" from the commandline?

Is there any hg functionality to mimic the "guess renames" command of TortoiseHG? I really dig this one, however I am currently using MacOS and have Murky or the commandline interface available.

1
голосов
1ответов
2159 просмотров

Mercurial: Revert "commit action" changes

Suppose I have made a change to a file, hg status show it as modified. Now I want to commit. Before I can do so I accidentially hg remove my file. Mercurial now would remove my file on the next commit, hg revert would retain it from removal, my changes would be lost however. Is exporting a patc...

14
голосов
5ответов
18754 просмотров

Installing Mercurial on Mac OS X 10.6 Snow Leopard

Installing Mercurial on Mac OS X 10.6 Snow Leopard I installed Mercurial 1.3.1 on Mac OS X 10.6 Snow Leopard from source using the following: cd ~/src curl -O https://www.mercurial-scm.org/release/mercurial-1.3.1.tar.gz tar -xzvf mercurial-1.3.1.tar.gz cd mercurial-1.3.1 make all sudo make inst...

0
голосов
1ответов
186 просмотров

How can I get a complete version from TortoiseHg

I am using TortoiseHg as my source control for developing a CMS project written in .NET/C#. I don't know how can I get a whole complete version from my source repository. Is it possible? a version for a specified date. Thank you.

5
голосов
1ответов
248 просмотров

Correct way to jump back and forth between two branches?

If I create a branch: hg branch branch-A and commit to it: hg commit -m "improvement A-1" and then create a second branch: hg branch branch-B and commit to it: hg commit -m "improvement B-1" If I want to add my next change to branch-A do I simply type: hg branch branch-A and commit...

11
голосов
3ответов
7338 просмотров

Defining which branch my next commit is added to

Let's say I create two banches at the same time: hg branch branch-A hg branch branch-B How do I send my next commit to branch-A instead of branch-B?

5
голосов
3ответов
1700 просмотров

Please suggest a better workflow in Mercurial

I'm new to Mercurial and what I'm starting to realize is that my basic workflow may not be the most efficient way of working because I perform commits so frequently and for feature improvements that are so small that when I need to find some earlier step to revert to, it is extremely difficult. ...

89
голосов
4ответов
41811 просмотров

Git equivalents of most common Mercurial commands?

I've been using Mercurial but would like to do a quick demo of Git. What are the Git equivalents of: hg init . # start a project in the current directory hg addremove # look for any added or deleted files hg commit -m "comment" # commit any uncomitted changes hg status # what have i changed sin...

5
голосов
2ответов
1226 просмотров

Using Mercurial hooks to create/load database dumps for versioning

I've started using Mercurial for version-controlling my Drupal project source files (I'm both a VCS and Mercurial newbie). However, the database is still "version-controlled" using a directory of dated .sql.gz files. What I want is to have a single database dump file somewhere within my reposito...

11
голосов
2ответов
995 просмотров

How to set different username by repository in Mercurial?

I am working on projects for different clients using Mercurial as a VCS. I know how to set a default user, but is there a mean to set a different user for each project ?

9
голосов
1ответов
4087 просмотров

Using external diff tools with Mercurial

Anyone know how integrate ExamDiff with Mercurial? I have KDiff3 set up but couldn't figure out how to set up ExamDiff. Update: Per accepted answer, this .hgrc config worked: [extensions] hgext.extdiff = [extdiff] cmd.examdiff = C:\Program Files\ExamDiff Pro\ExamDiff.exe Can run ExamDiff ...

7
голосов
6ответов
1740 просмотров

Is the Mercurial .hgignore my only option for handling hundreds of temp files generated when compiling?

I've been all over google and SO looking for someone who has asked this question, but am coming up completely empty. I'll apologize in advance for the lengthy round-about way of asking the question. (If I was able to figure out how to encapsulate the problem, maybe I would have been successful ...

0
голосов
2ответов
176 просмотров

How can I update file in my working directory with a file from different branch?

I am working in branch Feature and another developer has finished merging his branch Feature2 with Default. I would like to simply pull one of the files from the now default branch to my branch, before merging my feature (as it is not complete yet).

5
голосов
3ответов
1822 просмотров

How to use mercurial from nant

I have a little private Google code project. For a SCM I use Mercurial. And for the local build i would like to use nant. So basically: I would like to download my source files from a known mercurial repository using a nant task I would like to somehow get the revision number of the repository...