How do I search historic mercurial file content?
If you don’t mind working with Mercurial via the command line, there’s hg grep. It’s probably exposed somewhere in the TortoiseHg Workbench, but I don’t know.
If you don’t mind working with Mercurial via the command line, there’s hg grep. It’s probably exposed somewhere in the TortoiseHg Workbench, but I don’t know.
If your goal is to eliminate certificate fingerprint warnings during push/pull, there’s a better way to do this. Use the [hostfingerprints] in .hg/hgrc (or ~/.hgrc — see comments). [hostfingerprints] server.example.org = 38:76:52:7c:87:26:9a:8f:4a:f8:d3:de:08:45:3b:ea:d6:4b:ee:cc This will eliminate the warnings without eliminating the security checks. Note: I see from your comments to another answer that you’ve already found … Read more
Mercurial’s default behavior prevents you from creating remote branches. If you want to do this, you need to force-push. Synchronize menu in the window you show, there is an option for force push.
Since you have a “tortoisehg” tag, I figured I’d explain the way I do this using the GUI. Usually, I just rename/move files in my IDE, or from windows explorer, then when I go to commit, THG will show a bunch of (?) unknown files and (R) removed files. Just right click on any of … Read more
Examine the first screen shot and see that the top line says 8+ in the Rev column. This means that your working copy is based off revision 8. You can follow the line down and also see that it joins at revision 8 which indicates the same thing. There are two ways to solve this … Read more
Either add the following to the [ui]-section of the mercurial.ini in your home directory (assuming your key is in “C:\Users\UserName\mykey.ppk”): [ui] ssh = tortoiseplink.exe -ssh -i “C:\Users\UserName\mykey.ppk” or use Pageant, found in the TortoiseHg installation path (e.g. C:\Program Files\TortoiseHg\Pageant.exe). Start it, double click the taskbar-icon that appears, and add the .ppk-file.
The notification icon is part of a service* which gives us those handy icons on the corner of version-controlled files/folders. (The little icons demonstrate whether the file is “up-to-date”, modified, etc.) If you want to get rid of the icon: Right-click on Desktop Click on TortoiseHg->Explorer Extension Settings Click on Icons Uncheck Show Icon under … Read more
Tonfa is right. What you’re describing isn’t ‘merging’ (or ‘pushing’ or ‘pulling’); it’s ‘cherry-picking’. A push or a pull moves all the changesets from one repo to another that aren’t already in that repo. A ‘merge’ takes two ‘heads’ and merges them down to a new changeset that’s the combination of both. If you really … Read more
hg strip removes the changeset and all its descendants from the repository. It will be as if the changes never existed. Be careful when using this on public changesets as it will not remove it from any other repository and you’ll get them back next time you pull. hg backout creates a new changeset to … Read more
The hg convert utility isn’t on by default after installation. In order to set it as such add the following to your .hgrc file. [extensions] hgext.convert= If you’re using TortoiseHg on Windows then this file resides in your home directory as mercurial.ini. After this setting change you will be able to use the hg convert … Read more