mercurial Questions

3

Solved

I am aware that you can close a Mercurial branch with: hg update rev-number hg commit --close-branch -m "Closing branch." However, some of the repositories I work with a rather large, and after ...
Liam asked 16/4, 2014 at 23:46

4

Solved

I'm working with a project I inherited from a Windows guy. It's under Hg version control. It got some inconsistent filename convention which I'm trying to fix so I renamed a file named jquery.fullp...
Wandie asked 13/12, 2013 at 20:26

1

Solved

I have a branch with a few revisions in it. I want to try making some code changes that require reordering and patching those commits with histedit, but I want to keep the original branch around in...
Pointsman asked 10/1, 2019 at 21:10

3

Solved

When I use mercurial command (hg commit --amend) it always opens up the editor window. In git I can avoid this by git commit -a --amend -CHEAD, is there something equivalent for mercurial?
Westerman asked 15/12, 2018 at 22:36

3

Solved

Is there a way to generate a diff in mercurial that only gives the file names? I'd like to do something like diff -r 1 --file-names-only and get something like +AddedFile.java -RemovedFile.java...
Backhouse asked 4/1, 2012 at 22:10

2

I'm trying to speed up my zsh theme prompt and hg checks are a bit slower than git's. That result in a slower prompt to show when using the hg plugin. For git we use git rev-parse --is-inside-work...
Chard asked 1/7, 2017 at 19:20

2

Solved

I'm trying to get a list of the current files and dirs using the following command: hg manifest -r tip However, this brings a list like this: .hgtags folder1/blah.c folder1/blah.h foo.json fold...
Permanence asked 19/5, 2018 at 1:47

5

Solved

I forget to place the correct .hgignore into my project and am now confronted with many useless files in my repository. As these files are already under source control .hgignore will not pick em up...
Cosmography asked 23/7, 2010 at 7:8

2

I'm using TortoiseHG on win7 64b to clone repository using https protocol. I've installed and configured the public cert on my side so the validity of server cert can be checked. However, i'm havin...
Wickliffe asked 6/11, 2013 at 6:40

2

I use Ubuntu 16.04 and Mercurial 3.7.3. Our repository is accessible only as an SMB share. I cloned the share to a folder in my home folder (I simplified the names a bit): > hg clone "/run/user...
Chesterton asked 25/5, 2016 at 16:16

2

Solved

What is the difference between the mercurial commands, hg strip hg backout hg revert All these commands basically are used to revert/undo the effects of an earlier changeset.
Chlodwig asked 4/1, 2013 at 5:38

6

Solved

I tried to merge two heads in Mercurial. After merging, I didn't commit and did some more changes. Then I tried to commit and got the following message: abort: cannot partially commit a merge (...
Benthos asked 29/7, 2010 at 15:13

4

Solved

I re-installed mercurial on my Mac (snow leopard) yesterday. The UI/console language of Mercurial has changed from English to Danish. My machine is set up to US-English and my keyboard layout is Da...
Azpurua asked 4/1, 2011 at 10:39

3

Solved

In a Microsoft Access 2007 project the Access form objects are exported to files with a dedicated software by using the built-in function "SaveAsText". This is necessary because Access doesn't stor...
Gibbsite asked 4/7, 2011 at 15:22

3

Solved

Basically, what it says on the tin: TortoiseHg is slow. My team moved from Subversion to Mercurial recently. (In part to take advantage of Kiln for Code Reviews) One of the things we've noticed is...
Psalms asked 24/10, 2011 at 20:23

3

Solved

I am using TortoiseHg GUI and it seems that there is no way to export diffs between my uncommited changes and the last revision. Is there a way to do it using hg ? My requirements : I do not wan...
Heraclitean asked 18/3, 2013 at 13:40

5

Solved

I've seen a number of blog posts, and have experienced for myself, that Mercurial does not preserve the permissions on files pushed from one repo to another. Does anyone know of a Mercurial extensi...
Throughway asked 17/8, 2009 at 19:5

6

Solved

Of course source control tools like Git, (Mercurial, SVN, etc...) can do a great job at managing source code. But I wonder, do these tools provide the developer with any advantage when used to stor...
Assignor asked 7/11, 2013 at 11:53

5

Solved

Is there a way to list remote branches in Mercurial like there in Git? git branch -r I want to list the branches on a remote machine (e.g. Bitbucket), so using: hg branches -R `hg showconfig pa...
Ceroplastics asked 28/11, 2010 at 12:3

11

Solved

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...
Changchun asked 29/7, 2009 at 14:30

2

Solved

How to checkout a single file from one branch to another in Mercurial? Basically I want to copy a single file from a branch experimental to another branch production.
Satchel asked 21/2, 2011 at 13:40

2

Solved

I'm developping a project with React. The IDE I use for React (ES6) is Visual Code and the version control is Mercurial Hg. (I'm in Windows and I get issue with Atom, that's why I use Visual Code)...
Principal asked 3/6, 2016 at 13:21

3

Solved

I opened a second branch (branch2) locally in hg and pushed it to bitbucket. After that i merged the two branches locally and pushed it again...I have branch2 still living on bitbucket. How do i de...
Pardo asked 6/12, 2011 at 11:55

5

Solved

I am new to Mercurial. Just cannot find the right command. Tried update/checkout with no luck. I am using local repository. Thanks
Optician asked 21/1, 2010 at 6:33

1

Solved

I'm trying to follow the sample code for writing Mercurial extensions. This is a minimal sample, copied verbatim from the sample code: from mercurial import cmdutil from mercurial.i18n import _ c...
Mcloughlin asked 31/8, 2018 at 14:10

© 2022 - 2024 — McMap. All rights reserved.