Questions tagged [tortoisehg]
TortoiseHg is a Windows shell extension and a series of cross-platform applications for the Mercurial distributed revision control system.
1,114
questions
2
votes
0
answers
18
views
what does the error message from hg convert mean?
i am trying to use hg convert to delete specific public files and create new repo.
the commands throws an error at a particular revision. this is the error message. please let me know what this is ...
3
votes
1
answer
23
views
Execute a command (TortoiseHG) through cmd remotely (PsExec)
Basically I want to use PsExec in order to navigate to a specificar folder in a remote computer and performe "hg update branch". I've tried to create the following batch but I'm not able to ...
2
votes
1
answer
32
views
Keeping local changes local in Mercurial while pushing and pulling
Quite often in Mercurial, I happen to need local changes to a local repository, which should never ever enter the main repository. This could be (not complete list)
config files which need to differ ...
3
votes
0
answers
23
views
Avoid duplication while moving/renaming binary file in mercurial
The mercurial move/rename commands seem to be delete+copy operations, this balloons a repository when binary files are just renamed or moved. With for example
hg mv foo.bin bar.bin
hg rename bar.bin ...
2
votes
0
answers
13
views
Get TortoiseHG to remember which file filters I selected?
Every time I restart Tortoise HG it resets the set of selected file filters:
The "ignored" and "subrep" items always come back CHECKED even though my preference is to leave them ...
3
votes
0
answers
38
views
Tortoisehg context menu bug
I have tortoisehg-5.9.2-x64 installed on Windows 8.1 Pro.
The context menu is showing but when clicking on it nothing happens.
I think it is not linked correctly to the registry.
Any one knows how to ...
2
votes
1
answer
119
views
Interoperability of Mercurial 6 with other VCSes
Some years ago, Mercurial | TortoiseHG could exchange data bidirectionally easy with at least 2 Big Brothers:
Subversion, using HGSubversion
Git, using HG-Git
Current (6.0 versions of family) state -...
2
votes
0
answers
25
views
Where can I find tortoisehg windows installer checksum?
I downloaded tortoisehg-5.9.3-x64.msi from https://www.mercurial-scm.org/release/tortoisehg/windows/. The file is not digitally signed.
Does anyone know where can I find the checksum (md5, sha256 or ...
1
vote
0
answers
28
views
How to recover .bak files from deleted shelf
So I accidentally deleted a shelf in TortoiseHg. I wanted to delete a certain file in it, but apparently it deletes the whole shelf.
Basically I did what OP did here: How to recover files that have ...
7
votes
1
answer
737
views
TortoiseHg (Mercurial) can not find hggit extension
I'm trying to get the hg-git extension to work with TortoiseHg (v5.8 on Win10). I have enabled the "hggit" extension in the settings. But when I try to push to github I get an error:
*** ...
3
votes
1
answer
50
views
How to push Mercurial subrepositories to their own origin
I am using subrepositories to share code between multiple projects.
I keep the "master" version of these shared repositories in a central location.
That way I can easily push changes I made ...
2
votes
0
answers
50
views
Android Studio: "Unsupported Hg version Some hg extensions [mercurial_keyring] are not found..."
Android Studio gets on my nerves for a few days on my new PC with following message on start:
"Unsupported Hg version Some hg extensions [mercurial_keyring] are not
found or not supported by ...
0
votes
1
answer
87
views
I got error 255 , when i doing initial commit. Mercurial TortoiseHg
Good day. Tell me please, why i have error 255, when i doing initial commit, error on scr. When I commit in parts of 2-4 files, it works, and when all the files are completely, it gives an error.
src ...
1
vote
0
answers
39
views
TortoiseHg 'No space left on device' error while commiting to NAS device
I have a number of large files about 5GB each, they are all on a remote NAS device. I want to commit them, so I created a repo on the NAS device, where the my files are, that went well, I made sure ...
1
vote
1
answer
35
views
Mercurial - Get modified files in a branch but stop when the branch was last closed
I want to get the committed files in a branch up until the branch was created.
For that I use:
hg log -b foo --no-merges --template="{files % '{file}\t'}"
But this gives too many changes ...
0
votes
1
answer
42
views
What parameters can be used in TortoiseHG custom tools?
TortoiseHG let's you add custom toolbar tools that can run mercurial (or any other) commands.
These tools would be many times more useful if it is possible to integrate them better into THG by passing ...
1
vote
1
answer
108
views
Can you hide obsolete or orphan changsets in TortoiseHG?
Having used hg evolve for a while TortoiseHG (version 5.6.1 on Windows) now shows a large number of obsolete changesets.
These show up red or gray, like this:
When you select one of these, THG will ...
3
votes
1
answer
308
views
Mercurial HG on Tortoise stuck - waiting for lock on working directory
Over night, my Tortoise stopped being able to push to my work repo, even though both my locks show free.
I get waiting for lock on working directory of \\uGames/MyGameRepo held by process '24012' on ...
1
vote
0
answers
24
views
Why I might suddenly get persmission denied when I just open TortoiseHG?
I installed TortoiseHG 5.6.1 (x64) on guest Win 7 Ultimate x64 in VirtualBox. The host OS is Win10 Enterprise x64. When I right-click in any folder and select "Hg Workbench", it opens ...
1
vote
2
answers
49
views
How to get the total number of commits in a specific branch in hg?
How to get the total number of commits in a specific branch in Mercurial(hg)?
1
vote
1
answer
43
views
how to assign a value to a property in the configuration file
There is a configuration file of repository in %path_of_repo%\.hg\hgrc
It has the following configuration:
[paths]
default = C:\STORAGE\REPOSITORIES\PROJ_FIRST
[web]
name = The First Project
encoding ...
3
votes
1
answer
320
views
Git equivalent for “hg log” with branch name check
I would like to list down all commits directly done in a particular branch. In hg I'm able to get it using the below command.
hg log -b {branchname}
I've tried different command git to achieve the ...
4
votes
1
answer
71
views
How do I merge branches in git that is similar to my mercurial workflow?
N.B. I’m using Windows 10, but I do have access to a Ubuntu 20 VM server (no desktop GUI). I installed mercurial by installing tortoisehg which also “courtesy” installs KDiff3 for merging.
The git ...
0
votes
1
answer
44
views
TortoiseHG clone Issue
I tried multiple times to clone my project but every time I received NOT FOUND ERROR: 255
Please review the attached screenshot. Thanks you
3
votes
0
answers
95
views
How do I setup hg Mercurial to do an automatic commit on file save?
If I have a repository like this:
C:\repository\
file1.txt
file2.txt
file3.txt
how can I configure or setup hg such that every time I save any one of those files hg will automatically ...
4
votes
0
answers
203
views
Write to TortoiseHG GUI Console
I've created a tool/plugin what can be launched within the TortoiseHG GUI, for a specific repository.
This tool is running a few time consuming tasks (3-4 minutes) in a .NET Console application (...
1
vote
1
answer
47
views
Update multiple commit messages in Mercurial
I submitted two revisions (1, 2) for Review in Mozilla's Phabricator instance. I was asked to amend the commit message for both the revisions. I did search for previous questions on this topic, like ...
2
votes
1
answer
47
views
Preserving working directory changes in hg
I use an ant script to deploy my application. Before deploying, however, I preserve any uncommitted changes by committing them to another branch, but keeping them uncommitted in my current branch. I ...
1
vote
1
answer
34
views
Can I delete the .hgtags file?
I have forked a project, so I have inherited some tags.
I removed them all via Terminal, which means they are now all prefixed with a bunch of zeros in .hgtags.
Is it safe, so to speak, to manually ...
1
vote
1
answer
84
views
secret phase of mercurial commit pushed to remote in tortoisehg
I often make minor cosmetic re-formatting changes to code, which some people find only aesthetically pleasing and not worth doing and committing and pushing...
If I designate such local commits as ...
1
vote
2
answers
133
views
Tortoise Mercurial - combine 2 commits
I am starting to use Mercurial:
1.) I pulled the latest updates from public (central) repository (revision 3029)
2.) Working on code, I made a commit - revision 3030
3.) Some additional work, ...
-1
votes
1
answer
37
views
remote conflicts due to local strips
I locally stripped a few commits that I had already pushed. I could see that locally I was back to where I wanted to be and that I had removed the undesirable commits. So, I continued working and made ...
0
votes
1
answer
39
views
Reverting several commits and rolling back
The image shows that I was working after revision 323 when I realized that revisions 323 and 322 were completely garbage.
So, I updated to revision 321 and I now realize that this is perfect and I ...
1
vote
1
answer
70
views
Deleting all the tags in a new forked project
Is it OK to open the .hgtags file in the mercurial root directory with NotePad and remove all the tags, if you have forked a template project?
Or is there a single command where I can simply say ...
0
votes
1
answer
100
views
Shelving or otherwise preserving changes in mercurial
Please, help me understand Hg mercurial with tortoise Hg.
I am working on a longer task on my local repo, having a lot of changes.
I am not ready to commit it, but central repo already has a lot of ...
0
votes
1
answer
106
views
TortoiseHG Workbench
Hi im a bit of a newbie on tortoise hg. I made some changes to the code (revision 100 and 101) and realised I dont need them. I therefore "updated" (right click update) to 99 then continued developing....
1
vote
1
answer
97
views
Edit commits in HG repo & mark as "closed"
I'm currently dealing with the fallout from BitBucket dropping HG support. We're going to be giving hg-git a try because, while my preference is self-hosting, my boss isn't quite mad enough at ...
1
vote
0
answers
57
views
Tracking bugs locally with TortoiseHg
Is there any way to track issues/bugs with TortoiseHg? There are a lot of extensions for online bug trackers (Trac, Jira etc) but is there any local solution? I have found bExtension useful but it ...
1
vote
1
answer
78
views
Specify a diff tool for specific file type in Mercurial/TortoiseHg
I am interested in tracking a binary file with Hg. For visual diffing, it would be beneficial to use a specific custom tool. Is it possible to tell TortoiseHg to use a specific tool, based on file ...
2
votes
0
answers
39
views
How to convert mercurial strip/histedit/rebase backup to patch files?
Mercurial backs up the commits/changesets for every destroy operation like histedit, rebase and strip. In my case, it has lots of such files.
How to convert these files with .hg extension to patches ...
2
votes
1
answer
46
views
Surgically removing commits in mercurial
I have accidentally committed multiple large data files (commits 3 and 4 in the example below) to my default branch in Mercurial and added commits on top without noticing. I want to surgically remove ...
2
votes
1
answer
43
views
Mercurial: File split into two files, how to track changes?
I'm using Mercurial via TortoiseHG for a project. Just came across a situation like the following:
public static class Example
{
public static void ExampleMethod() { ... }
public static ...
0
votes
0
answers
31
views
The default branch has multiple heads due to error adding subrepo
I managed to get my mercurial repo. into a bit of a state. At Rev 110 I added a subrepo. containing 4 commits to my main repo. however, I made an error when doing this and ended up having two heads on ...
1
vote
1
answer
512
views
Converting Mercurial to Git using TortoiseHG. No files are created
I want to convert a Mercurial project to a Git project. I am following the directions here https://stackoverflow.com/a/34853438/984003 using TortoiseHG.
Enable hggit
Open a command line, enter an ...
2
votes
1
answer
716
views
How to rebase in tortoisehg?
Often after committing changes, I do a pull, before pushing my changes, and someone has already committed changes. I could do another (merge) commit, but where possible I like to maintain linear ...
2
votes
1
answer
60
views
Changing Indentation with Eclipse Preferences not picked up as a changeset by TortoiseHG
I have changed the size of my indentations in preferences -> java -> code style -> formatter within the eclipse settings. I believe Eclipse defaults to 4, but I wanted it set to 2. I have applied the ...
1
vote
1
answer
122
views
Is there any way to squash commits with uncommitted changes?
I want to squash two commits.
I'm executing the following command:
hg rebase --dest .~2 --base . --collapse
Which gives me:
abort: uncommitted changes
Yes, I have uncommitted changes and I want ...
-1
votes
1
answer
108
views
new remote head on branch? mercurial push error
I created a branch and made some changes. The branch was abandoned/closed as the changes didn't work and the branch was created from the wrong revision.
I then created another branch with the same ...
-1
votes
1
answer
147
views
What is the return of hg tags --template "{date|isodate}\n"
I am using Mercurial "HG", I want to know what is the exactly output of
hg tags --template "{date|isodate}\n"
0
votes
1
answer
157
views
How to create a central repo in TortoiseHg without it showing up in the Repository Registry?
I set up a local repo in TortoiseHg and can see the folder in the Repository Registry list. I want to create a central repository that I can push to and pull from when I'm on different computers. I ...