mercurial

Storing a remote path by name in Hg

In git I can git remote add x http://... then git pull x how can I do this in hg? I was told to add the following to .hgrc: [paths] x = http://... so I added the above to /path/to/repo/.hgrc then tried hg pull x and got the following error: abort: repository x not found! where x was mozilla and http:// was http://hg.mozilla.org/la...

disabling MercurialEclipse

How do I disable MercurialEclipse? I don't really use it anymore and it causes startup delays, but I can't find any option to turn it off. (note: this is Eclipse 3.4.2) ...

hg serve simply hangs in terminal

I've started using Mercurial for my personal projects and I'm currently going through Joel's tutorial here: http://hginit.com/02.html The problem is when I type in hg serve in the terminal, it simply hangs. Other commands like hg init works perfectly. Anyone know what's going on? I installed mercurial by doing this: sudo apt-get instal...

Installing HgEclipse for IBM RAD 7.0

I would like to hear if anybody has had luck with installing HgEclipse on IBM RAD (Rational Application Developer for WebSphere) 7.0? I'm asking this on behalf of my coworkers, who want to use Mercurial, but who cannot make HgEclipse work. Does anybody use this combination, perhaps with an older version of HgEclipse? RAD 7.0 is built on...

Does anyone know any day-to-day usage tutorial for git

Hi, I am new to git, does anyone know a day-to-day usage, easy to understand tutorial for git? Like hginit for hg? http://hginit.com/ Thank you. ...

Using mercurial for web-design version control (dealing with images)

I'm very new to Version Control, and I was wondering if I could get some advice on how it can fit into website design. At the moment I'm working on a typical, simple website that includes images: A few .html files and a .css file One folder full of photographs Another folder with the corresponding thumbnails Can I just put the whole...

Unknown parent error in Mercurial

I am getting a error that is preventing me to pull, even force pull. hg command error: transaction abort! rollback completed abort: data/assets/images/skins/file/skin.jpg.i@0727c4489edc: unknown parent! Is there anyway to remove, revert or fix just this file, its not even used, and it's preventing any pulling. UPDATE After Running hg...

Push changes to TortoiseHG's web server fails with "Aborted Push"

I'm not using authentication with TortoiseHG but simply needed to see if a colleague could push some changes to me. He can browse my repo from the url that the web server provides and can pull changesets from me fine. What he can't do is push them to me over the built-in web server. I have configured it in TortoiseHG to have "*" next to...

Maven changelog plugin with Mercurial problem

I have configured my Maven2 project to generate a changelog report from a Mercurial repository (accessible via file:// protocol) but the goal execution fails with the following message: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'changelog'. [INFO] -------------...

How to best configure a central repository/multiple central repositories for Mercurial?

I am new to Mercurial and trying to figure out if it could replace SVN. Everyone I work with has used SVN, CVS and VSS (shiver), so this could be quite a large change. I have been very interested after reading about its merge and branch capability, but have a few reservations. We are currently on SVN, and have one central repository. ...

Mercurial on IIS7 connection timeout.

I configured Mercurial on IIS 7 and I am able tu push and pull without problems some test files. But if I try to push a bigger repository I get for the hg push command line this error: abort: error: An existing connection was forcibly closed by the remote host From Tortoise HG I get some more detail: lopen error [Errno 10054] An exis...

How to ignore the .classpath for Eclipse projects using Mercurial?

I'm trying to share a repository between my Mac (laptop) and PC (desktop). There are some external dependencies for the project that are stored on different places on each machine, and noted in the .classpath file in the Eclipse project. When the project changes are shared, the dependencies break. I'm trying to figure out how to keep th...

CVS to Mercurial conversion: end of line problem

I recently converted a CVS repository to Mercurial. From the looks of it, everything went perfect. Except that every end-of-line character is in Unix style and I want them in Windows style. I know the hg convert command can be used to "convert" a Mercurial repository to a Mercurial repository. Can I use it to do nothing on the repos but...

How can I 'hg clone' from another machine?

Hi, I have 2 Ubuntu laptops in the same WiFi network. I would like to 'hg clone' from 1 laptop to another. In my source laptop, I have a 'hg' repository in ~/work/myserver and my source laptop ip address inet addr:192.168.1.2. So what should i do on my dest laptop so that I can clone my hg repository? Thank you. ...

Does Mercurial have an equivalent to git clean?

hg clean does not seem to exist, which kinda bothers me. Is this a feature that Mercurial doesn't have or did they just name it differently? ...

Mercurial: Creating a diff of two commits

Is there a way to get the changes of two commits with mercurial? The second commit is not directly after the first one, there are some other ones between them. I tried hg diff [some params] --change xxxxx --change yyyyy > file.patch but that only includes the last changeset. If there is no way to achieve this with hg, is there maybe...

Is there a way to export current hg repository head in a tar ball

HI, Is there a way to export current hg repository head in a tar ball? I don't need all the hg meta files in the tar ball (e.g history/diff). ...

How to remove changes in a file in hg

Hi, Can you please tell me how can I remove change I made locally? In git , I can do git checkout -- aFile.cpp, how can I do the same thing for 'hg'? Thank you. ...

mercurial .hgrc notify hook

Could someone tell me what is incorrect in my .hgrc configuration? I am trying to use gmail to send a e-mail after each push and/or commit. .hgrc [paths] default = ssh://www.domain.com/repo/hg [ui] username = intern <[email protected]> ssh="C:\Program Files (x86)\Mercurial\plink.exe" -ssh -i "C:\Program Files (x86)\Mercurial\key.pub" [...

Merging remote Mercurial repository.

I have started a new project on Google code, and I chose Mercurial as VCS. I forced a push over the remote repository, since it created two heads, problem is: now I don't know how to merge this two heads on the remote repository! Please help, it's my first time with Mercurial, and I want it to be as painless as possible ;) Oh, and forgi...