I come from a Subversion background, but I am slowly migrating to Mercurial.
When starting on many of my projects, I would setup a development environment that was configured to a particular starting point in developing an app/webapp/program (much like a Maven 2 archetype, but not necessarily Java/Maven).
Later I would checkout th...
I've installed the copssh on a windows 2008 server and then I tried to clone a reposity on the server through ssh. But no matter how hard I tried I couldn't fix this error i got. here is the log:
C:\Users\Admin>hg clone ssh://[email protected]
The authenticity of host 'rafsanjani.ir (96.31.90.174)' can't be established.
RSA key finger...
I am trying to follow the instructions posted here but am getting stuck at step 3. After setting up my local workstation to serve the Repository; I cannot clone it from my server. When I run the following command
hg clone http://COMPUTER-XXXXX.hsd1.va.comcast.net:8000/
I receive
abort: error: getaddrinfo failed
What am I missin...
I have a mercurial repository, and inside it a file that ends with '>>'. When doing a hg clone from this windows repository, I get the following error:
abort: The filename, directory name, or volume label syntax is incorrect: C:\Users\Path\To\Repos/More/Path/file>>
Is there a way to fix it? It seems to do with the '>>' being confused...
I upgraded my OS to Windows 7 and installed mercurial, but I can't seem to be able to clone any remote repository. Windows Firewall is disabled and I don't have a third-party firewall. I even tried to launch the command prompt as administrator. No matter what I do, I always get this Operation timed out error. Any ideas?
c:\Users\Alfred>...
What's the best way to check in script if there're uncommitted changes in mercurial's working tree.
(the way I would with git diff --quiet in git)
...
I've seen it mentioned that mercurial stores the executable bit on files, but cannot find out how to do it. I'm looking for functionality analogous to svn ps svn:executable '' TARGET.
...
I'd like to evaluate Mercurial for my working projects. But most of my projects very heavily rely on the presence of svn:externals-like support. I've searched over StackOverflow and googled for corresponding support in Mercurial. All I found is subrepo feature added in Mercurial 1.3, but the page for this feature said:
subrepos are a...
I'm pretty new at Mercurial - actually new at source control.
I have projects at localhost, which is ~/mamp/htdocs. I want to work all local. There is a point I'm confused about:
I should keep repository at a different path than my htdocs I think, so I created "/reps/" folder and creating folders for each project under here, and copy a...
Hi,
I've got a named branch (same repository) that was created in order to to spike something. I've now decided that I want to move all the changesets created in the branch back into the main (default) and then close the branch.
I've tried a number of different things, including what was outlined in this post (http://stackoverflow.co...
I would like to use svn export to export a bunch of files out of a Subversion repository. And I also wish to forgo keyword expansion on any of the keywords found in these files regardless of the svn:keywords property on this file. Is there a way to do this?
I'm doing this because I want to compare the files in the repository against a...
Hi,
I want to move a changeset from one branch to another. Basically, I currently have:
A -> B -> C -> D # default branch
And I want:
A # default branch
\-> B -> C -> D # some_new_branch
Where some_new_branch does not exist yet. I am used to git, so I guess there is a simple "mercurial" way I am missing.
...
When I clone out a Mercurial repository it usually shows files as being modified when they have not. This can happen when I do the following steps;
$ hg clone <url>
$ cd project
$ hg st
.... large number of files with M at the start for modified
$ hg diff
.... no result.
I think this is because the files have had their permissions cha...
What is your favorite non obvious feature of mercurial?
...
How do I find out who is responsible for a specific line of code? I know the linenumber and the filename but I would like Mercurial to tell me the author(s) of that specific line of code. Is there a command for that?
...
I'm searching for info to setup a Mercurial Server for Windows (7 or XP) with an Apache (xampp if it is useful to know it) with the Push Model, just like in this question but my team is composed of 5 to 8 (unsolvent) guys who are each one working in separated places, so I don't think the bitbucket solution or anyother non-private repo ou...
I'd like to do the same thing that they're doing here in stackoverflow.
<link rel="stylesheet" href="http://sstatic.net/so/all.css?v=6274">
<script type="text/javascript" src="http://sstatic.net/so/js/master.js?v=6180"></script>
<script src="http://sstatic.net/so/js/question.js?v=6274" type="text/javascript"></script>
D...
I've finished working on a feature branch feature-x. I want to merge results back to the default branch and close featrure-xh in order to get rid of it in the output of hg branches.
I came up with the following scenario, but it has some issues:
$ hg up default
$ hg merge feature-x
$ hg ci -m merge
$ hg up feature-x
$ hg ci -m 'Closed b...
Hi,
We are using mercurial-hg and git, and are wondering if there is a way to create documentations from the existing code and newly check-ed in code.
Is there any plugin that we can hook into mercurial-hg/git that generates documentations?
Thanks
...
Hi,
I'm using mercurial. I made a clone of a repository. For debugging, I changed a few lines of code in a java file. I did not commit those changes though. I just want to revert them back to their original state, as found in the repository. I tried "hg revert filename.java", which did revert it, but now when I do hg status, I see addit...