Questions tagged [tortoisehg]

TortoiseHg is a Windows shell extension and a series of cross-platform applications for the Mercurial distributed revision control system.

TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system. It also includes a Gnome/Nautilus extension and a CLI wrapper application so the TortoiseHg tools can be used on non-Windows platforms.

List of features:

  • Repository explorer
  • Commit dialog
  • Support for visual diff/merge tools.
  • Data mining on repository contents
  • Repository synchronization
1127 questions
337
votes
12 answers

How to edit incorrect commit message in Mercurial?

I am currently using TortoiseHg (Mercurial) and accidentally committed an incorrect commit message. How do I go about editing this commit message in the repository?
223
votes
5 answers

How to branch with TortoiseHG

I downloaded TortoiseHg 1.0 for evaluation. For the life of me I can't figure out how to make a branch. It seems to understand branches (e.g. in its repository browser) but I just can't seem to find a way to make a branch. This seems like such a…
Michael Tiller
  • 9,291
  • 3
  • 26
  • 41
204
votes
7 answers

Store password in TortoiseHg

Is there a way to configure TortoiseHg to store my password? I have a project hosted on Google Code that I access using TortoiseHg. Whenever I want to push changes to Google Code TortoiseHg prompts me for a username and password. Google Code…
sourcenouveau
  • 29,356
  • 35
  • 146
  • 243
133
votes
9 answers

Mercurial undo last commit

How can I undo my last accidentally commited (not pushed) change in Mercurial? If possible, a way to do so with TortoiseHg would be prefered. Update In my concrete case I commited a changeset (not pushed). Then I pulled and updated from the server.…
Martin Buberl
  • 45,844
  • 25
  • 100
  • 144
107
votes
9 answers

How do I convert a git repository to mercurial?

I've been developing a java application using git as source code repository. I'd like to share the project with other java developers and hg seems to be most used by them. My question is how do I convert a git repository to hg? If I tried googling…
Spoike
  • 119,724
  • 44
  • 140
  • 158
107
votes
4 answers

TortoiseHg Apply a Patch

TortoiseHg allows you to email a patch file of your changes to someone, but does it support applying patches? If so, how do you apply a patch using TortoiseHg?
Michael La Voie
  • 27,772
  • 14
  • 72
  • 92
85
votes
2 answers

hg strip vs hg backout and hg revert

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.
Gopinagh.R
  • 4,826
  • 4
  • 44
  • 60
71
votes
3 answers

How do I cherry-pick a single revision in Mercurial?

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 - B - C Repo B (Clone of A) A - B - C - D - E - F -…
Tom Hubbard
  • 15,820
  • 14
  • 59
  • 86
55
votes
2 answers

What is TortoiseHg Overlay Icon Server

I just install TortoiseHg, to act as Mercurial client tool. However, in my Vista, whenever I start, there is a TortoiseHg Overlay Icon Server at my notification bar. Is quite annoying. What is the purpose of that? Can I disable it?
Cheok Yan Cheng
  • 47,586
  • 132
  • 466
  • 875
55
votes
2 answers

How to let TortoiseHg (Mercurial) on Windows use the Private Key file generated (by Puttygen)?

I have used Puttygen to create a public and a private key, and then is ready to let TortoiseHg on Windows 7 do a clone by going to ssh://somebody@code.somewhere.com/somecode but there seems to be no where to add the private key to TortoiseHg? (or…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
50
votes
2 answers

"Not a head revision!" in Mercurial Hg

I am working in a small organisation, only two developers and we use Mercurial version control tortoisehg-2.2.2-hg-2.0.2-x86. I am new to mercurial. Consider programmerA, programmerB. In programerA machine I created a repository and a client with…
Uthay
  • 505
  • 1
  • 4
  • 7
49
votes
3 answers

Why can't I push this change to my 'main' mercurial repository?

I am trying to grok Mercurial and hope I am just getting confused here! I have a repository ('main') that I have cloned ('clone'), , both on my own machine. Both were completely in sync with each other. I decided to play with named branches so the…
Neil Trodden
  • 4,724
  • 6
  • 35
  • 55
49
votes
4 answers

Hg: How to move files (to subfolder) without losing history?

How to move files (to subfolder) without losing their history? In my Mercurial repository (I mean the folder with the .hg in it) I have MyProject/ folder with all project files. Now I need to create src/ folder inside and move all files to it (from…
Alex P.
  • 3,697
  • 9
  • 45
  • 110
45
votes
4 answers

How to entirely disable SSL certificate checks in Mercurial / TortoiseHg?

I'm looking for a way to make --insecure option the default one for any hg \ TortoiseHg command. Please don't write this is a bad practice - I aware about possible risks and consider they're fully acceptable.
Alex Yakunin
  • 6,330
  • 3
  • 33
  • 52
41
votes
2 answers

How do I search historic mercurial file content?

I've found an issue in my code where something used to be specified, but is no longer, so I want to search for a particular string through the history of the repository. Is there a way to do this in TortoiseHg? I know it would take a while, but it'd…
Stephen
  • 19,488
  • 10
  • 62
  • 83
1
2 3
75 76