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

learn more… | top users | synonyms

3
votes
2answers
3k 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 ...
0
votes
3answers
263 views

cygwin: output freezes until program is finished

I use cygwin at Windows XP. There's problem with Mercurial, for example. Say, I need to push my repo with several subrepos to the remote server. This operation takes about 20 seconds. When I call ...
4
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 ...
0
votes
0answers
28 views

How do I diff incoming changesets with Beyond Compare 4 and hg?

I have been using the mercurial and Beyond Compare 4 tools together for about 2 weeks now and feel fairly confident in my usage, however I still seem to have a problem when comparing incoming ...
0
votes
1answer
17 views

Mercurial commands take more than 20 seconds when run as root-user

when I call any mercurial command (hg init, hg status, hg manifest, hg add, etc) as root user, the commands take more than 20 seconds to complete: # time hg init real 0m25.226s user 0m0.156s ...
0
votes
0answers
22 views

Mercurial: Meld launching issues in Mac OS X and Meld not detected in Mercurial

I installed meld using Macports following the instructions in here. I even installed XQuartz as well. Problem is: every time I tried to launch meld from command line, I received a bunch of errors ...
0
votes
1answer
11 views

Is is possible to supply an absolute path to hg clone?

All of the examples of hg clone that I have seen have used a relative path: hg clone user@example.com/repo This will look up repo in uers's home directory. Is possible to supply an absolute path to ...
1
vote
3answers
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: hg ...
0
votes
1answer
142 views

Mercurial authorization issue on Yosemite

I have a local HG repo for my client work. I've configured the HG server before on earlier versions of OS X without any issues, but on Yosemite I am stuck. I used MacPorts' mercurial package, ...
33
votes
2answers
10k views

How to add an empty folder in a Mercurial project?

In my project, I am using Mercurial and a folder in when the user can upload file. But since the user will upload files, the folder is empty. I don't know how I can add this folder to my project ...
1
vote
1answer
15k views

How to checkout a repository using Mercurial (hg) in Mac OS X

I am trying to download a sample project of CorePlot from: http://code.google.com/p/core-plot/source/checkout There, they have mentioned below command to execute for getting a legal copy: hg clone ...
13
votes
3answers
21k views

How do I prevent a “No supported authentication methods available” error when using TortoiseHg?

I'm trying out Mercurial for the first time but am having problems doing a push/pull/clone with a remote server (in this case it's codebasehq.com) when using TortoiseHg. Here are some steps to ...
0
votes
1answer
23 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
0
votes
1answer
30 views

How to update repository after branch pull

When I create a new branch with Mercurial, I'm able to pull only that certain branch with : hg pull -b <branchname> The console prints the number of the files that had been modified, so not ...
0
votes
1answer
354 views

hg clone using tortoisehg throws “getaddrinfo failed” error on Windows XP

I have Windows XP installed in my system.I have installed tortoisehg-2.10-hg-2.8-x86.msi. I have checkpoint vpn1-secuRemote installed on my system. I am trying to clone a project.But when i clone a ...
6
votes
1answer
548 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
0answers
12 views

Are there any NULL bytes in an MS Access database?

Mercurial diffs files only if it is "not binary", where "binary" is defined as "contains a NULL byte". Do databases in MS Access (.mdb) contain null bytes?
2
votes
3answers
4k views

Installing Mercurial on Mac OS X 10.6

I'm trying to install Mercurial on Mac OSX 10.6, but I'm having problems: I have Mac OS X 10.6, so I downloaded Mercurial 1.4.3 for OS X 10.6 from http://mercurial.berkwood.com/ I install the ...
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 ...
4
votes
0answers
404 views

Why is hg fetch a deprecated extension? [closed]

Mercurial's fetch extenson conveniently pulls and merges from a remote repository. Recently, this feature has been deprecated by the developers. They recommend avoiding it and it is on the unloved ...
1
vote
1answer
72 views

hg status with multiple remotes

I am trying to use mercurial and work with multiple pull repos and a single push repo. I have tried changing the .hg/hgrc and is as given below: [paths] default = remoteA mine = remoteB default-push ...
0
votes
0answers
37 views

Tortoisehg is as slow as Christmas, small repo, small size

I'm really confused as to the problem here, I made a new repo yesterday for a project at work. The project itself is about 3GB but a lot of that is images that won't change so I told it to ignore ...
9
votes
4answers
5k 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.
0
votes
1answer
147 views

How to split branches on a mercurial repository to make other repositories using HG commands?

For example, I have the following history on my HG repository (i.e. I created a branch on rev. 80), named "Project X": Project X Workbench: ...
0
votes
1answer
140 views

Change outgoing repo on a hgsubversion checkout

For various convoluted reasons, I had to svnsync a subversion repo to be local, before I could clone it with hgsubversion, rather than cloning it straight from the 'source'. Now that has worked ...
1
vote
1answer
499 views

Setting up Mercurial on a Debian Wheezy server not quite working

I am using Debian Wheezy and I want to set up a Mercurial server. Here's what I did: 1. So, I first created the following directories: /var/www/hg /var/www/hg/cgi-bin /var/repo /var/repo/hg 2. ...
4
votes
0answers
365 views

Far Manager: Highlight file/dirs using external metadata (like SVN, Mercurial, Dropbox, etc)

I've recently migrated to Far Manager 3 and revised my app settings from scratch. One of those improvements was adjusting the file groups highlights (I didn't change them for long time even knowing ...
4
votes
2answers
437 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)?
6
votes
6answers
1k views

bitbucket on my own server

I want to have something like bitbucket.org or github (but for mercurial!) on my VDS. I don't need full functionality, but I need it being able to serve repositories, accept changes (with auth!) and ...
0
votes
1answer
15 views

Set a persistent reference date for repository

The hg commit command (and several others) provide the --date option to specify what date you want stored for the commit. For instance, I can do this: hg commit --date "Oct 27 2000" To pretend that ...
0
votes
2answers
72 views

Sycronizing/deploying scripts across several systems

I have a few time consuming tasks that I like to spread across several computers. These tasks require running an identical ruby or python script (or series of scripts that call each other) on each ...
0
votes
2answers
641 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
2answers
321 views

Using Mercurial in Emacs

It seems that there are a lot of different ways to work with Mercurial from within Emacs. (In case it matters, I'm using Emacs 24.1.1 and Mercurial 2.5.2 on Ubuntu 12.10.) I have found the following ...
0
votes
0answers
167 views

Mercurial HG: “hg push” returns abort: HTTP Error 500: No such file or directory

I am using mercurial and when I am trying to use hg push, I am getting this error: abort: HTTP Error 500: No such file or directory Server information: Nginx with Mercurial Debian 7.1 Any idea ...
3
votes
3answers
3k views

Creating an ssh-key just for mercurial pulls/clones

I want to make an ssh key (passwordless) that I can hand out to remote users so they can do an hg pull or hg clone of my repositories. I've gotten as far as making an ssh key that uses only the ...
1
vote
1answer
2k views

Where is Python installed on Raspberry Pi?

I am trying to set up Mercurial on a Raspberry Pi, but the instructions I am using are for Ubuntu. It suggests that the Python folder is usr/bin/python, but this does not exist on my Pi. Where is ...
0
votes
1answer
63 views

In MacHg is there a way to only see changesets that modified a specific file?

Using Tortoise Hg you can right-click on a file and view its revision history, which only shows those changesets in the repository that changed that specific file. Is there a way to accomplish the ...
1
vote
2answers
528 views

Mercurial: how to show branches in autocompletion

It is possible to update to a specific tag or branch with the hg update <branch-or-tag> command. However, the built-in completion only shows me tags (not branches). So when i type hg update and ...
0
votes
1answer
74 views

How to use code repo so that same user from multiple PCs can access it in Netbeans IDE

I am planning to work on a software project using Netbeans-- now I want to work across multiple PCs - how can I set up Netbeans and the Git/Mercurial repo so that I can for eg-- make code changes in ...
2
votes
1answer
110 views

Monit vs Source Control: permission problems

I'm trying to be good. That's my big mistake. I'm being good by having process monitoring: I have monit watching some key processes, and restarting them if they fail. I'm being good by not running ...
2
votes
2answers
2k views

What port(s) etc. need to be open on a firewall to allow successful operation with BitBucket

Over the weekend, our IT department installed an updated firewall. As a result, we are no longer able to pull from (and push to) the repository on BitBucket. Attempting to perform a Mercurial ...
3
votes
2answers
396 views

How should I install Mercurial on AIX 6.5 without root privilege?

Is there a way to install Mercurial on AIX 6.5 without root? I'm a physics student and am developing code on the IBM cluster in our college and don't have root privilege. Several weeks ago I decided ...
0
votes
0answers
146 views

“hg commit/diff” crash on my Mac OS X

I just run hg commit -m "xxx" on my Mac and then got the message: zsh: illegal hardware instruction hg commit and hg diff also be crash, but the hg commit is OK. When I save the commit message with ...
3
votes
1answer
157 views

Moving a Mercurial repository between OS's

I have been working with a local Mercurial repository on my Ubuntu PC for my personal documents. I am planning on using Windows more frequently, so I would like to move the repository over to my ...
1
vote
1answer
205 views

On Windows 7 how do you remove programs that add themselves to the right click menu? [duplicate]

After installing Tortoisehg workbench whenever I right click on an icon or the desktop on the menu it has options for Hg Workbench and Tortoisehg. I don't want that, how do I get rid of it? By the ...
1
vote
1answer
191 views

working with libs of 64 bit system under 32 bit system

I had a 64 bit ubuntu 10.04 system.I messed up with ubuntu-desktop,which was refusing me to login. So i have installed ubuntu 12.04 32 bit system through ISO image in a DVD, keeping the same ...
3
votes
4answers
403 views

How to version control for a solo author creating non-programming documents?

I'm a writer, not a programmer. I'm just now for the first time learning about version control and how it works, and I am wondering how version control could streamline my workflow. For years, I've ...
0
votes
2answers
904 views

How do I convert an hg repository to git?

I found an open-source project which is available via hg only. Now I want to put it onto GitHub, with my own changes alongside the previous commit history. Hg-git allows you to use git commands to ...
4
votes
5answers
1k views

What's a good text editor with Mercurial support?

I'm looking for a decent Windows editor with solid Mercurial support. I've had some trouble with Notepad++ (the Windows Explorer plugin was constantly crashing). What are some alternatives? I'm not ...
1
vote
2answers
95 views

How can I download Mercurial and be sure I have an untampered copy?

I'd like to download Mercurial, (not the "Tortoise" version) but can only find the download link http://mercurial.selenic.com/release/windows/Mercurial-2.4.2.exe which isn't an HTTPS link. ...