Mercurial is a fast, open-source, distributed version control system.

learn more… | top users | synonyms

3
votes
1answer
2k views

TortoiseHg and hg purge: do they work together?

TortoiseHg has settings to enable the Mercurial Purge extension. But does it actually have a drop down menu or something so that you can purge a directory without having to go to the command line? Or ...
6
votes
1answer
467 views

How to list every file for every revision in Git (like Mercurial's hg manifest --all)?

Mercurial has a command to list every file that the repository has for every revision: hg manifest --all Is there an equivalent command in Git?
0
votes
1answer
1k views

How to use Git Extensions with BitBucket/Mercurial repository?

I a have repository on both github.com and bitbucket.org, and I am very familiar with using Git Extensions for all repository functions on GitHub. When I started using bitbucket.org repo's I have to ...
1
vote
1answer
232 views

Install Mercurial 1.9.1 (isapi) on win2k3

I have been trying to get Mercurial installed on my 32bit 2003 server and i have been running into some issues. i have followed these instructions (which is the most current that i can find) with the ...
2
votes
1answer
469 views

How to deploy only select files through BitBucket

I'm hosting a small php-based website through Bitbucket. I have some files under version control that I don't want to deploy in production (helpful scripts, .xcf files, etc). Is there some way to just ...
3
votes
1answer
338 views

Mercurial no longer working in NetBeans?

I have been using Mercurial inside NetBeans for a while now. For the past few weeks now Windows Explorer has been crashing for various reasons, including every time I right click. Finally someone ...
0
votes
1answer
179 views

SVN to Mercurial conversion in windows

I am trying to convert a bunch of projects from SVN to Mercurial but I am having some trouble finding my way. Everywhere I look for, it is said that I have to add the [Extensions] tag in .hgrc. I ...
4
votes
2answers
419 views

Gollum-like wiki based on Mercurial

Is there a Gollum-like Wiki (Gollum uses a Git repo to store its pages) based on Mercurial (instead of Git)?
1
vote
1answer
558 views

Help with reinstalling Mercurial

I used Mercurial on my old computer without any trouble a month ago, but it broke on Friday and I needed to reinstall. Now when I try to do anything from my repository directory I get the error: ...
4
votes
1answer
261 views

Merging Mercurial conflicts in Netbeans

If you look in the image below.. The top left is my changes: $static_pages = 'terms|privacy|about|home|media'; The top right is some one elses changes. $static_pages = ...
1
vote
0answers
135 views

The “Add Selected Files” command of the Visualhg extension crashes VS2010

I just installed the Mercurial Source Control Plugin (visualhg) for MS Visual Studio 2010 to try out some features of source control management systems. When I clicked on the "Add Selected Files" ...
3
votes
1answer
919 views

Revert a deleted file several commits later

So I started down a new branch of development and decided that some files needed to go. Several commits later I realise that a certain decision was wrong and I need a couple of the files back. My ...
3
votes
2answers
712 views

How to deal with binary files in Google Code?

How do you deal with binary files in your Google Code Mercurial repository? I have heard something about bfiles extension and such, but I do not know where to begin. If you are going to say I should ...
1
vote
0answers
118 views

Mercurial Textmate bundle broken after switch to 1.5.10

After I left Textmate 1.5.9 for 1.5.10 the Textmate Mercurial bundle didn't find hg anymore. Probably due to this change: [CHANGED] Commands (without shebang) no longer source the default shell ...
9
votes
3answers
451 views

Is there a Windows Explorer extension that shows an inline command prompt?

Does anybody know of a Windows Explorer extension that will add a pane giving an inline command prompt, set to the current directory? I know that on Windows 7 I can Shift-Right Click and get Open ...
2
votes
1answer
489 views

Mercurial set up ACL

I'm trying to set up ACL. I've got it mostly working. However, I've got a couple of specific questions. Basically, I'm trying to set up a group @group that will be allowed to access a bunch of ...
1
vote
2answers
4k views

Installing Mercurial on Debian using apt-get

I am trying to install Mercurial using apt-get on a web server running Debian. I would prefer to have the latest stable version of Mercurial but I would be happy with anything reasonably recent. I ...
1
vote
2answers
144 views

Invoking mercurial commands for all directories in a given directory

Let's say I have around 10 hg repositories cloned in a parent directory (let's call it "parent"). Is there any way I can invoke a mercurial command like hg status on all of the sub-directories rather ...
2
votes
1answer
170 views

Mercurial: How can I see in advance what changes will an `hg up` do to my working directory?

I'm regularly updating a production server which is running from an hg working directory. I always update to a merged/resolved changeset after testing that changeset in the development server, but ...
0
votes
2answers
231 views

Can't get mercurial installed on opensuse

Hi I have opensuse 10.2 and need to install mercurial on it. It doesn't have mercurial package so I downloaded mercurial-1.6 but I don't know how to install mercurial on opensuse. Any help would be ...
8
votes
4answers
4k views

Can you remove a file from Mercurial without removing it from the filesystem like Git?

I've got some files in a repo that I don't want tracked, is it possible to remove them without removing the actual files from the filesystem? This would be equivalent to git's rm --cached.
3
votes
3answers
1k views

How to handle files that don't need version control in mercurial

I am new to mercurial, and for the most part do LaTeX reports and statistical calculations in R using .csv and/or .sqlite files. Re LaTeX, all I really care is the .tex file. Re R, I don't need ...
1
vote
1answer
1k views

How to get mercurial to ignore patterns from .hgignore correctly?

I have the following .hgignore: \.pyc$ yet in my hg st .pyc files still appear as modified and get committed with hg ci. I've also tried this .hgignore: syntax: glob *.pyc But with the same ...
2
votes
0answers
204 views

Branch names not showing in Mercurial's tab completion

I have a development machine running mercurial 1.6.3. Tab completion in bash works great for completing commands, tags and branch names. I've set up a new machine with the same mercurial version (both ...
0
votes
3answers
379 views

Installed Mercurial usin PPA repositroy, where can I get hgweb.cgi?

Ubuntu 10.10 Mercurial installed a la: http://icephoenix.us/linuxunix/installing-mercurial-1-5-or-1-6-on-ubuntu-lucid-lynx-10-04/ Is the hgweb.cgi script only in the source package or is it ...
1
vote
1answer
1k views

TortoiseHg; How to Connect to Server?

I'm starting a project with another partner of mine and have therefore resorted to using the Student Package from Kiln as a repository. I would like to get the bloody thing to work. I've looked at ...
0
votes
2answers
193 views

svn/git/mercurial mirror

I'm looking for a simple solution to mirror different repository to a single svn server. My problem is the following: I have many dependencies in my projects, some are hosted on Google code, some in ...
3
votes
1answer
335 views

Mercurial: How I can use external tool for diff?

I want to use kdiff3 as a tool for comparing different versions of a repository. Is there a way how one can do it?
1
vote
1answer
218 views

Not able to install latest mercurial release on fedora

I am trying to install latest mercurial on fedora by doing sudo yum install mercurial . But doing so I am getting mercurial 1.1 that is not latest release .Current mercurial release is 1.6+ . Any ...
0
votes
2answers
625 views

Bash command not found (trying to integrate Beyond Compare with Mercurial and using it within Cygwin)

I'm trying to integrate beyond compare with mercurial and I've copy & pasted the necessary lines from the Using Beyond Compare with Version Control Systems page for mercurial into my .hgrc file ...
2
votes
1answer
545 views

How can I disable color highlighting and marks of versioning in NetBeans?

How can I disable color highlighting and marks of versioning in NetBeans? (in my case, mercurial) PS: Now that I see, highlighting is on html tag attribute values, and doesn't respond to versioning, ...
7
votes
1answer
1k views

Git equivalent to hg update

I've used Mercurial for some time now, and am used to its workflow. Suddenly, I need to work with a Git repository, and I cannot make the install work from the head revision. In Mercurial I would ...
3
votes
2answers
2k views

Colors in cygwin being displayed as raw ANSI codes

When running command-line Mercurial with the color extension on, the colors appear as expected in the Windows command prompt (cmd.exe). However, in cygwin the colors are appearing as the underlying ...
3
votes
2answers
2k views

Pulling from a Mercurial repository over ssh with non-default ports

I'm trying to pull changes from a server which has sshd on port 2345 and an hg server listening locally on port 5432. I already have certifcate-based authentication for ssh, so there no need for a ...
6
votes
2answers
189 views

What to do next with Mercurial after I install it in my PC?

I have downloaded and installed Mercurial in my PC. However, I don't know what to do next. I thought it's like other programs; that after installing it'll just appear and then you can already use it. ...
2
votes
2answers
2k views

Mercurial What is Wrong with this command?

Y:\>hg -R Y:/mercFlow.cache/vm-linux rename Migration-2010/create_directory_stru cture.pl Migration-2010/create_directory_structure.pl2 abort: Migration-2010/create_directory_structure.pl not under ...
2
votes
1answer
489 views

Auto-updating BASH prompts with Mercurial repository info

I have followed the directions outlined by Steve Losh to colorize and format my bash prompt, however, the prompt doesn't update. My export PS1 line looks like this: export ...
1
vote
2answers
2k views

How do I clone a repository when I'm behind a proxy?

There's an option "http_proxy" which should allow access through proxy, but it's not clear whether this should be in the command line, .hgrc or some global variable. I tried it in the command line: ...
1
vote
1answer
792 views

Mac OS X 10.6: run particular command line at terminal start up

I use mercurial and I need to run the command line below each time I open Terminal. export PATH="/usr/local/bin:$PATH" Is there any way to add this command line to Terminal start-up? So I don't ...
3
votes
1answer
2k views

Mercurial [auth] section

I'm new to mercurial, and I'm trying to set up hgrc in such a way that I can push to the Google Code repository without having to type the password each time. I could just specify a ...
0
votes
1answer
887 views

Mercurial says hgrc is untrusted in Emacs, but works fine from the command line

I've got some Mercurial checkouts in a directory that was mounted by root. Mercurial is usually suspicious of files that aren't mine, but I'm the only user here, so I put: [trusted] users = root ...
1
vote
4answers
3k views

Mercurial 1.5.4 Can't Find osutil Module Using Ubuntu 10.04

I'm using Ubuntu 10.04 and I just installed Mercurial 1.5.4 from source (see this question for some installation trouble that I had). Now, however, when I invoke: hg I get the following: File ...
9
votes
3answers
5k views

Installing Mercurial 1.5.4 on Ubuntu 10.04

I've downloaded the source and tried to install via the README instructions: sudo make install but I get the following errors: python setup.py build running build running build_mo warning: ...
2
votes
1answer
406 views

Why is the glog command gone for mercurial at ubuntu?

I am using ubuntu 9.10 and installed mercurial (hg) via apt-get. If I now call hg glog it says: unknown command 'glog'. I am using version 1.3.1 of hg. How can I fix this?
5
votes
1answer
2k views

Configure Mercurial for SSH on alternate port and specific key with a passphrase?

I'm trying to configure mercurial for use on a remote machine that has sshd running on an alternate port, and for which my login requires a particular key, which uses a passphrase. ssh is configured ...
0
votes
3answers
1k views

Convert svn repository to hg - authentication fails

I'm trying to convert an existing svn repository to a mercurial repo with the following command hg convert <repository> <folder> My problem is that the svn repository's ...
1
vote
0answers
377 views

hg clone has stopped working on my Vista box

I have a Windows Vista machine that has been connecting to http://hg.netbeans.org productively for awhile... until recently. Lately, when I attempt to pull or clone, the update appears to stall... I ...
3
votes
1answer
761 views

Removing a file from TortoiseHg

I'm having problems removing a file from TortoiseHg. I make the clone, and there are a few test files which I want out. What is the procedure for removing a file from the repository?
0
votes
1answer
478 views

hg add -X not working

I'd like to hg add excluding files that begin with ._, or even better exclude all hidden files. It's not working, it's just completely ignoring my -X option. I tried the following: hg add -n -X ...
0
votes
1answer
280 views

Interrupted system call during “hg convert”

When I run "hg convert" to convert a Subversion repository to Mercurial, I get this error: fetching revision log for "/trunk" from 1538 to 0 run hg sink post-conversion action Traceback (most recent ...