mercurial Questions

1

Let's say I have multiple commits, like this: ---A---B---C---D \ E---F---G \ H Now let's say I amend a change to B, creating commit B' B' / ---A---B---C---D \ E---F---G \ H How can I re...
Jadajadd asked 2/5 at 9:38

8

Solved

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 ...
Napiform asked 9/2, 2010 at 10:5

5

Solved

Every time I do an hg diff file.ext I end up using a console diff application. I would like to use Kdiff3 or WinMerge (I'm using Windows). Is there a way to change that? I can't find a reference i...
Potpourri asked 26/10, 2008 at 16:14

3

So, i've found this page here, showing how to use intellij's idea merge and diff from command line, and i'm trying to set it as a default for hg. However, i still have some problems when merging br...
Dedicate asked 16/6, 2016 at 21:35

4

Solved

In Mercurial, how do you examine a single changeset? hg log -l 5 will give me a summary of the newest 5 changesets, but how do I get a list of the files changed in one changeset? I don't want to do...
Breathed asked 31/3, 2010 at 5:34

5

Solved

I'm new to collaborating with Mercurial. My situation: Another programmer changed rev 1 of a file to replace 4-space indents with 2-space indent. (I.e. changed every line.) Call that rev 2, pushe...
Organon asked 3/4, 2010 at 2:58

4

Solved

As title, If I do copy from one file to destination file, then I commit the change. Afterwards I want to find parent file of copied file, How can I do? for example... hg copy file1 file2 hg ci -m &...
Senescent asked 6/12, 2010 at 9:37

6

Solved

I followed this documentation to get a token value and a token secret from bitbucket: https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket After that I want to push/pull to a give...
Mcnelly asked 25/7, 2014 at 22:15

11

Solved

I have a Git repository with few branches and dangling commits. I would like to search all such commits in repository for a specific string. I know how to get a log of all commits in history, but ...
Elison asked 14/4, 2009 at 7:49

4

Because of downsizing and cost-saving our organisation is moving from CM/Telogic/Rational Synergy to free tools (most probably SVN). Is there anyway to transfer history and branch information from ...
Bojorquez asked 18/1, 2011 at 13:38

2

Solved

Is it possible to checkout all the files in a repository for a specific revision? Say for example that my repository is at revision 88. I don't want to revert or backout any of the changes up to re...
Fingernail asked 5/12, 2013 at 20:42

7

Solved

With Subversion, I used the Visual SVN server to get it up and serving in a few minutes. Is there an equivalent for Mercurial, so I can run hg.mydomain.com?
Homeric asked 11/4, 2010 at 18:22

1

The default TortoiseHg / Hg Workbench UI font appears too small on a system running Win 11 Pro with ClearType disabled. Notably thinner and smaller than other applications. I'm using TortoiseHg 6.2...
Andrej asked 7/12, 2022 at 13:10

6

Solved

I accidentally did a "hg commit --amend" instead of just a commit. How can I roll back the commit to before the amend?
Friede asked 22/5, 2013 at 16:49

3

Solved

We're trying to clone a Mercurial repository A where it references a subrepository B that's moved hosts. We'd like to update .hgsub in A to point to the new location of B, but it's a chicken and eg...
Froth asked 30/9, 2011 at 23:9

3

Solved

The question is pretty much in the title. Does SmartGit supports working with Mercurial repos? I've downloaded the evaluation version, but from what I can see it only supports opening git repos, w...
Knut asked 24/8, 2012 at 20:0

3

Solved

Mercurial has a domain-specific language called revsets that allows users to specify sets of revisions. For example, you might want to list patches that haven't yet been merged into the branch def...
Hectocotylus asked 20/3, 2014 at 0:0

7

Solved

A bizarre import error is preventing me from installing a mercurial extension. I'm trying to get the mercurial_keyring extension running so that I don't have to type in my user name and password e...
Outskirts asked 2/3, 2011 at 20:43

5

I use the following command to apply a patch in Mercurial, without committing it : hg import patch.diff --no-commit It works great, however if I try to apply several patches at once like this : ...
Natala asked 24/10, 2014 at 8:59

9

Solved

Also, where would I find them?
Duramen asked 21/9, 2008 at 18:13

3

Solved

I noticed that TortoiseHg doesn't commit empty folders. How to fix that?
Hawkie asked 26/1, 2011 at 13:31

6

Solved

Is it possible to count the number of Mercurial/Git changesets (commits) with a simple command line with arguments?
Gully asked 21/5, 2013 at 14:40

3

Solved

In Mercurial/TortoiseHg, given the following example, what is the easiest way to merge revision "G" into repo A without taking D,E and F (Assume that G has no dependency on D,E or F). Repo A: A -...
Awl asked 3/11, 2009 at 20:54

7

I am trying to get the latest revision number of mercurial repository dynamically and have it in the versionName of the android app. This is what I have in the gradle file: def buildNumber = "hg...
Venule asked 30/10, 2017 at 15:26

2

Solved

Let's say I have the following revisions: rev 1: + Dim Foo as integer rev 2: + I like big butts, I cannot lie rev 3 - Dim Foo as integer Foo is in rev 1 & 2, and removed from three. What c...
Individual asked 15/3, 2012 at 18:26

© 2022 - 2024 — McMap. All rights reserved.