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

learn more… | top users | synonyms

1
vote
0answers
5 views

Change Mercurial's history so that add/delete becomes a rename

I renamed a file and committed the change. Mercurial recorded it as an add and a delete. Now, a week later, I wish I had known to "rename" the file so that the repository would let me follow the ...
-1
votes
1answer
18 views

Mercurial keeps starting FileMerge instead of kdiff3

I want to merge some stuff in mercurial using kdiff3. Therefore I installed kdiff3 and added the following to ~/.hgrc: [extdiff] cmd.kdiff3 = [merge-tools] kdiff3.args = $base $local $other -o ...
1
vote
1answer
27 views

PATH variable not working properly with hg

I am having a CentOS remote machine where I have hg installed. It was working fine for long time and today when I am trying to use hg commands, I got the following errors, [dinesh@lab test]$ hg st ...
0
votes
1answer
13 views

Mercurial pull across network drive in powershell script from scheduled task

So I previously had this question: Mapped Drive inaccessible from Windows Scheduled task in which I discovered how to get access to a drive a python script I was running needed to put files in. I ...
0
votes
1answer
29 views

What could cause “missing files” in a mercurial working directory, and what should I do to fix it?

Today I noticed a few files on my Ubuntu and Mac machines that seem to be missing in the Mercurial working directory on my Windows machine. I'm using Mercurial to keep a folder synchronized between ...
0
votes
2answers
21 views

How to batch rewrite history in Mercurial

I would like to batch-edit a number of commits to automatically make modifications to author and commit message (being able to apply a few regular expressions would be fine). I am aware that this is ...
0
votes
1answer
93 views

Mercurial fails with missing attribute using Python 2 instead of Python 3

I'm working on a multiuser system with mercurial. I haven't been using the system lately, and today I wanted to start again, but mercurial refuses to work: $ hg help *** failed to import extension ...
1
vote
1answer
51 views

Why would executing “hg push” be failing as shown below?

My hgrc file contains the following information: [auth] default.prefix = bitbucket.org default.username = stephen-paul-chappell default.password = ****************************** default.schemes = ...
0
votes
1answer
37 views

How does vim know to syntax-color .hgrc?

With syntax on, vim syntax-highlights my ~/.hgrc file. How does vim recognize this file? How can I get vim to apply the same syntax coloring to a differently-named file?
0
votes
0answers
176 views

Need help getting Mercurial operational on Synlogogy DS412+

I am trying to get Mercurial to work on my Synlogy DS412+ with INTEL processor running DSM 5.1-5022 Update 4. I have installed v2.8.2-1 from https://synocommunity.com/packages and it says it is ...
0
votes
1answer
42 views

Running beyond compare 3 from mercurial

I need to run beyond compare using mercurial. I have tried this (in the .hgrc). [extensions] hgext.extdiff= [extdiff] cmd.vdiff = C:\Program Files (x86)\Beyond Compare 3\bcomp.exe which works; but ...
0
votes
0answers
90 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
24 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
1answer
17 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 ...
0
votes
1answer
223 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, ...
0
votes
0answers
21 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?
0
votes
1answer
858 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 ...
0
votes
1answer
42 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 ...
1
vote
1answer
137 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
1answer
32 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
278 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: ...
1
vote
1answer
745 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
1answer
553 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 ...
6
votes
0answers
581 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 ...
0
votes
1answer
19 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
80 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
1answer
164 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 ...
0
votes
3answers
522 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 ...
0
votes
0answers
248 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 ...
2
votes
1answer
6k 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
95 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 ...
0
votes
1answer
143 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
2answers
463 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 ...
3
votes
2answers
564 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 ...
2
votes
1answer
159 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 ...
0
votes
0answers
164 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 ...
1
vote
1answer
230 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
223 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
469 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
1k 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 ...
1
vote
2answers
103 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. ...
2
votes
0answers
448 views

Raspberry Pi, Mercurial and nginx

I am posting this here, as apparently, I am unlikely to get any help at raspberry pi. Please bear with me. I have a small problem with configuring Mercurial to work with nginx using unix sockets on ...
2
votes
2answers
763 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
0answers
72 views

How to verify download of TortoiseHg software for Windows

When installing software onto my PC, I generally like to run a hash check against my download before installing it. Many download pages provide an MD5sum to use for this kind of check. See: Some ...
1
vote
2answers
1k views

'abort: no repository found' when trying to install Vim through Mercurial

I'm new to Linux (which I'm setting up to start teaching myself web development). I am installing Vim, and in order to do so installed Mercurial. hg clone https://vim.googlecode.com/hg vim seemed to ...
1
vote
1answer
90 views

Mercurial Install

I'm new to Linux (which I'm setting up to start teaching myself web development). I am installing Vim, and in order to do so installed Mercurial. hg clone https://vim.googlecode.com/hg vim ...
2
votes
1answer
470 views

Mercurial confusion - commit / push, backouts

I'm trying to set up a repository on a shared filesystem. I'm using Mercurial 2.1.2 on a Windows-based architecture. I start with an empty folder on the shared filesystem and create a repository in ...
0
votes
1answer
339 views

Compose Mercurial commands from Toroise-Hg and send to remote linux using ssh

I use ToroiseHg Workbench to manage repositories on my local windows machine, and I like how TortoiseHg composes the commands based on clicks I make using the GUI. But I only know how to use ...
2
votes
0answers
67 views

Mercurial ACL Groups causing 502 error

am setting up my mercurial repo using the ACL extension. When I configure the ACL.deny section I am trying to deny a specific group of users. When blocking them individually ACL works as intended and ...
1
vote
1answer
863 views

Grab source from Google Code using wget or curl?

Is it possible to grab the source-code from a Google Code repository (hg) using wget or curl? Else using Python? Thanks for all suggestions FYI: I'm on a shared WebFaction host, so can't install hg ...