Tagged Questions
61
votes
5answers
22k views
What's the easiest way to commit and push a single file while leaving other modifications alone?
I'm relatively new to Mercurial and my team is trying it out right now as a replacement for Subversion.
How can I commit and push a single file out to another repository while leaving other ...
52
votes
8answers
6k views
With Mercurial, how can I “compress” a series of changesets into one before pushing?
Let's say I have a local and a remote Mercurial repository. Now, I start working on a feature. I work on it, and when I think it's done, I commit the changeset. Testing it a bit more, I find that I ...
32
votes
2answers
7k views
What is the advantage of the rebase command in Mercurial?
Compare to standard push/pull, what is the advantages of using the rebase command in Mercurial?
24
votes
2answers
4k views
Show progress of Mercurial push/pull
Is it possible to get Mercurial to show progress of long-running push or pull operation? Google tells me basically "no", but does somebody know better? I was expecting something like hg pull -v...
22
votes
3answers
12k views
Mercurial client error 255 and HTTP error 404 when attempting to push large files to server
Problem:
19/06/10 Update: More evidence problem is server-side. Receiving this error on Windows 7 command line (see below for full traceback):
URLError: <urlopen error [Errno 10054] An existing ...
22
votes
5answers
7k views
Mercurial says “abort: outstanding uncommitted changes”, I don't want to commit!
Scenario: Local repo, before I leave the office
$ hg status
M important/update1
M another/important/update2
M work/in/progress
I want to commit and push important/update1 and important/update2, ...
18
votes
1answer
9k views
How to only push to one branch in Hg?
I have a Hg repo with 3 branches in it, but two of them are inactive (since I have already merged them into my default branch). hg heads shows 3 heads, one for each branch, even though hg branches ...
17
votes
5answers
10k views
Unable to merge in mercurial
I am a newcomer to mercurial. I have recently set up a repository with 2 colleagues and am having difficulty with pushing my code. [I am using command-line hg in Windows]. In particular when I push I ...
14
votes
2answers
1k views
How can I prevent mercurial from pushing subrepos?
In my repository I've added several sub-repositories for modules that I'm using. I'm always going to treat these subrepos as "pull only". I don't plan to make any changes to them but want to retain ...
13
votes
1answer
4k views
TortoiseHg Push
What's the TortoiseHg equivalent of:
hg push http://bitbucket.org/MY_USER/MY_REPO
I haven't been able to figure out how to do this in the manual, and I ask this after extensive Google searching.
...
13
votes
4answers
3k views
In Mercurial (hg), how do you see a list of files that will be pushed if an “hg push” is issued?
We can see all the changesets and the files involved using
hg outgoing -v
but the filenames are all scattered in the list of changesets.
Is there a way to just see a list of all the files that ...
9
votes
2answers
809 views
Can I mark a branch as 'not going to push'?
I use named branches in Mercurial.
In doing so I have created one branch called playground where I can try out various wacky experiments. I never intend to merge this branch into any others and I ...
9
votes
3answers
5k views
Mercurial: Why do I get a 404 error when pushing to a repository whose URL I can hit in a browser?
I have a Mercurial repository that I can see just fine if I navigate to it in a browser, but when I try to do a push, with my default path set to the same URL that I visit in the browser, I get this:
...
8
votes
2answers
3k views
TortoiseHg: Push Branch
I am working on some bugs in our code base and I have created separate branches for each bug. I have rebased one of the branches on top of default. I generally use the mercurial plugin for Eclipse and ...
6
votes
2answers
13k views
Pushing to remote repository after merge “creates new remote heads” - is that bad?
I initialized a Mercurial project on Machine A, committed my changes and uploaded them to a remote repository.
Then I cloned that repository on Machine B, committed some additional changes and ...