mercurial

What are the Eclipse software requirments to run MercurialEclipse plug-in?

I have installed MercurialEclipse in both Helios "Eclipse Classic 3.6.0" and Helios "Eclipse IDE for Java Developers". Only in Classic does MercurialEclipse actually appear in the File->Import selections. What are the additional Eclipse plug-ins that need to be installed in the Java IDE version in order to enable MercurialEclipse? I t...

Mercurial http interface under Ubuntu Hardy. Doesn't work

Hello, I am trying to deploy mercurial under Ubuntu 8.04. Mercurial packages were installed correctly, but when I've configured http interface I always get 500 error. I enabled outputting debug info to error.log and got: mod_wsgi (pid=21159): Exception occurred within WSGI script '/home/hg/rep/hgwebdir.wsgi'. Traceback (most recent ca...

Mercurial archive specific folder/files?

Hi, In SVN, I can do this to only export contents in folder2 svn export svn://source/Trunk/folder1/folder2 -r HEAD How can I do the same in Mercurial? It seems that hg archive only accepts the target path not the source path. If I do hg archive target_path/folder it will export everything in the repository. Thanks in advance. ...

Build a specific revision in Hudson?

How do I ask Hudson to build a specific revision (instead of the latest one)? I am using Mercurial in case that's relevant. ...

Mercurial and code reviews; good workflow?

I'm in a small distributed team using Mercurial for a central repository. We each clone it via ssh onto our own linux boxes. Our intent is to review each others' work before pushing changes up to the central repository, to help keep central's tip clean. What is a good way to share code between developers on different linux boxes? I'm new...

In hg, how can I drop the branch name when rebasing and/or transplanting from another repo?

Basically, what I want to try is pulling hg revisions from a branch of an experimental repo into a clone of mainline. But I want to discard the branch name so I can push directly into the server-side mainline repo. It's probably best to give a simple example: hg init hg_mainline pushd hg_mainline touch foo hg add foo hg commit -m 'fo...

How can I insert or alter a mercurial revision

How can I alter r0 so it looks like I added .hgignore when I created my repository or insert a commit before my current r0? I just converted a huge SVN repo using hgsvn to mercurial. It took several hours and had to go through about a dozen branches to get the whole thing. My problem now is that .hgignore isn't committed, so when I hgim...

How to config mercurial to push without asking my password through ssh?

Hi guys, I use mercurial in my project, and every time I push new changesets to the server by ssh, it ask me for a password. Then how to config the mercurial to push with out asking password? I works on Ubuntu 9.10 ...

Can TortoiseSVN (or SVN) do batch diff like Mercurial?

I use Mercurial and TortoiseSVN, and with Mercurial, I can use hg vdiff and then kdiff3 will come out saying there are 5 files that got modified in the project tree, and then I can go to menu bar to "Expand Directories" and see the files that have diffs, and click on each of them. To my surprise, TortoiseSVN doesn't seem to have this...

What happens if we push a wrong project to another remote repository?

Say if we have a project known as main, and then we have a project that is analytics, and in Bash, we are at the analytics working directory and accidentally push to the main remote repository, will all the files in analytics be added to the main project, and is it reversible? ...

How can you force Mercurial (hg) to treat a file as binary?

I have a LaTeX hg repository for a paper and I use hg serve to display the progress to my coauthors. Until last week the file paper.pdf was treated as binary and its contents were not displayed in the changesets. (The users could download it via the raw link) Since last week, paper.pdf is treated as text and I see huge diffs of PDF code...

Retrieve old version of a file without changing working copy parent

How do you get a copy of an earlier revision of a file in Mercurial without making that the new default working copy of the file in your workspace? I've found the hg revert command and I think it does what I want but I'm not sure. I need to get a copy of an earlier revision of my code to work with for a few minutes. But I don't want to...

How to Setup Mercurial Security.. specifically the users.

I have mercurial setup by following these instructions. I'm trying to understand where or what file to setup the users in. Everything I've read seems kind of cryptic... it gives all these snippets of code saying use this but it seems to be leaving out steps of how it's all connected and what file to put the snippets of code in... can so...

Can we finally move to DVCS in Corporate Software? Is SVN still a 'must have' for development?

Git/Mercurial have been becoming more and more popular. I have seen plenty of articles comparing SVN with Git/Mercurial, but I am wondering if there is really any reason to still use SVN. It seems like there are plenty of tools for Git/Mercurial now which should help spread its corporate adoption. Are there any reasons to still use SVN...

After running "hg update" -> No tool found to merge MyClass.class: Keep (l)ocal or take (o)ther?

I went back to take a look at an earlier revision by doing: hg update -r 10 Then, I wanted to go back to the tip by doing: hg update But I got this message and am not sure how to respond to it: tool kdiff3 can't handle binary tool tortoisemerge can't handle binary tool winmergeu can't handle binary tool docdiff can't handle binary...

How do I remove all Java class files from my entire project history in Mercurial?

When I started my Mercurial project I forgot to exclude everything under my target/classes directory, such as: target/classes/com/mypackage/MyClass.class Now these binary files are causing conflicts when I do a hg update. Is there a single command that would allow me to delete all of these files from the entire project history? Or,...

Number of Mercurial repositories per project on Google Code

I'm not sure whether it belongs to Stack Overflow, however it's definitely programming-related. I have the following question: what is the limit on the number of user repositories per project that are available for addition on Administer tab (apart from default and wiki repositories)? ...

How do I attach a number to a Mercurial commit?

How do I include a defect number when doing a mercurial commit? The way that I'm currently doing it is to precede the commit message with the defect number so that QA can find the commits that relate to each defect. Is there a field or tag that would allow me to add a number to each mercurial commit? If not, is there a better way (than...

Can Mercurial repositories be nested?

What happens if there is already a Mercurial repository at /User/peter/development and now I want to add a repository for /User/peter because I also want to version .bashrc, .profile, or maybe /User/peter/notes as well. Will having a repository above an already existing repository create conflicts for Mercurial? ...

Mercurial: How to subsequently make a change to a changeset summary after it has been checked in?

Possible Duplicate: Is it possible to edit a summary after a commit using TortoiseHg? In Mercurial, if I forget to include the defect # in a check-in summary, how do you change the summary of a previously checked-in changeset, besides tweaking a flat-file and checking in a subsequent changeset just to comment on the previous c...