Questions tagged [tortoisehg]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

TortoiseHg workbench - Commit&push changes of a repo - one subrepo is still in phase "draft" (not puhsed)

In Tortoise I have a repo "NIR_BOL" with few subrepos. I made changes in this subrepos and commited them. Then I went to the repo NIR_BOL and commited all changes comming from the subrepos. ...
ottelo15's user avatar
1 vote
0 answers
13 views

TortoiseHg + MQ: how to customize the default name for new patches?

In TortoiseHg, when creating a new patch with the QNew button, the patch name is defaulted to date time and rev: Is there a way of specifying some other default, using a custom template (for example, ...
Starnuto di topo's user avatar
2 votes
1 answer
21 views

How to uncommit one file in a series of commits in TortoiseHG (Mercurial)?

Hi, I've just joined a new company, and they are using TortoiseHG for version control, but due to some IT restrictions have never got this setup properly (hopefully due to change soon). This means I ...
norand's user avatar
  • 33
1 vote
0 answers
26 views

Sequentially Fixing and Merging Linear Series of Branches in Mercurial (TortoiseHG)

Image of my messed up branching: Each different colour is a different branch. As can be seen each branch is built linearly off one-another. And the changes in each branch do not affect each other. I ...
Minko_Minkov's user avatar
2 votes
1 answer
35 views

Mercurial corruption? "No such file or directory"

I'm currently running Mercurial 6.4.2. I've been using TortoiseHg for a long time and just started running into this recurring issue where if I update some files in specific folders, or if I delete ...
naasking's user avatar
  • 2,514
1 vote
1 answer
25 views

TortoiseHG Workbench - Delete Dropdown list with branch versions

If I create a new branch in TortoiseHG then I get a new window to Enter the new Version. This list always starts from the lowest number so its very annoying! I always have to scroll down or Enter a ...
ottelo15's user avatar
1 vote
1 answer
36 views

Different SSH ports/keys for different hosts, with TortoisePLink

TortoiseHg (Mercurial) normally uses TortoisePLink/plink to connect via SSH. Different SSH hosts have different settings, including private keys and ports to connect to. In its global hgrc settings, ...
himself's user avatar
  • 4,816
1 vote
0 answers
28 views

How can I open specific project in TortoiseHg workbench from CLI

I am using TortoiseHg on MacOS, and would like to open the repository of the project I am working on in workbench from the command-line. I tried providing a directory names: % open -a /Applications/...
Jason Smith's user avatar
1 vote
1 answer
107 views

Mercurial (TortoiseHG) command-line on Windows does not respond to pager environment variables (and fails to use a pager at all)

When I run commands such as hg log, I expect to see the output in a pager. I have configured my repository .hg\hgrc to use less: ... [pager] pager = C:\path\to\bin\less.exe ... I have confirmed that ...
Dancing Bear's user avatar
3 votes
1 answer
39 views

Committed and pushed incorrect revision in TortoiseHg

I accidentally committed and pushed the incorrect revisions and was wondering if there was a way to undo the changes? I used the rollback feature in TortoiseHg, but I don't believe that works when a ...
bigoops's user avatar
  • 31
1 vote
1 answer
41 views

TortoiseHG (Mercurial) - Push branch = abort: push creates new remote head

I closed a public branch inside Tortoise and want to push the change but I get this error: abort: push creates new remote head 2756e9fac9ea on branch '4.4.72'!
ottelo15's user avatar
2 votes
1 answer
87 views

How can I filter tortoisehg (Mercurial) to not show branches containing part of a string?

Our Mercurial/HG repo has a fair amount of wip feature branches, and I would like to be able to create a cleaner view and filter out any branches containing part of a string. I know I can specify ...
jsmars's user avatar
  • 1,650
3 votes
1 answer
113 views

How do I change TortoiseHg default UI font?

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.3 ...
luc0x61's user avatar
  • 31
0 votes
2 answers
38 views

Window Tortoisehg, realised I cannot use Bitbucket, is there free alternative for home use (with cheap annual subscription) which is easy to setup

Window Tortoisehg, realized I cannot use Bitbucket, is there free alternative for home use (with a cheap annual subscription) that is easy to setup. Many answer found here are outdated since Bitbucket ...
Riscy's user avatar
  • 853
3 votes
0 answers
53 views

TortoiseHG: Folder showing unversion overlay although files inside have green check mark

I created a local repo and added a folder into it however, all the files in the folder appear with the green check mark but the folder itself appears with the Unversion overlay (Blue question mark) on ...
Adhil's user avatar
  • 1,688
0 votes
0 answers
113 views

Error when cloning a repository mozilla-central

I get this error when just cloning the mozilla source code repository, can you tell me what the problem is? or When cloning via TortoiseHg GUI I get the following error The remote host forcibly ...
Tony's user avatar
  • 1
1 vote
1 answer
45 views

404 when trying to clone geckodriver

I am trying to clone this project with mercurial: https://hg.mozilla.org/mozilla-central/file/tip/testing/geckodriver I have downloaded TortoiseHg and selected clone repository. It gives 404 error: %...
Guerrilla's user avatar
  • 13.4k
0 votes
1 answer
49 views

How to get the file content in .hg bundler by Python or other tool?

for example, I want to use Python or other tool to get the file "test.txt" content in ".hg" which stored by TortoiseHg, but I don't want to clone the ".hg" file to local, ...
hbszjjw's user avatar
0 votes
1 answer
96 views

cannot push my mercurial repository to git from tortoisehg

After getting my repository by tortoisehg and activating the hggit by tools, i'm trying to push my mercurial project on a gitlab repository. it ask me to enter my credentials and check multiple times, ...
Vincent BUQUOY-BLANC's user avatar
1 vote
1 answer
45 views

Is there a way to sort the output in the Tortoisehg console window?

I can run hg commands in the TortoiseHg console window. Sometimes I want to pipe to another command to filter output or sort. Not really sure how to do this in TortoiseHg (although I know I can run hg ...
Russ Thils's user avatar
2 votes
0 answers
40 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 ...
frank_crane's user avatar
3 votes
1 answer
33 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 ...
kenzoviski's user avatar
2 votes
1 answer
46 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 ...
R Risack's user avatar
3 votes
0 answers
29 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 ...
Patrick Kwok's user avatar
2 votes
0 answers
17 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 ...
StayOnTarget's user avatar
  • 11.8k
3 votes
0 answers
65 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 ...
Amr's user avatar
  • 574
3 votes
2 answers
206 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 -...
Lazy Badger's user avatar
  • 94.8k
2 votes
0 answers
51 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 ...
user1164199's user avatar
1 vote
0 answers
53 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 ...
Swedgin's user avatar
  • 815
8 votes
1 answer
1k 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: *** ...
JacobP's user avatar
  • 571
3 votes
1 answer
90 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 ...
Karsten's user avatar
  • 1,824
1 vote
1 answer
111 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 ...
The incredible Jan's user avatar
0 votes
1 answer
112 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 ...
AlexandrZalamay's user avatar
1 vote
0 answers
47 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 ...
Man Wa kileleshwa's user avatar
1 vote
1 answer
40 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 ...
psclkhoury's user avatar
1 vote
1 answer
97 views

What parameters can be used in TortoiseHG custom tools?

TortoiseHG lets 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 ...
StayOnTarget's user avatar
  • 11.8k
1 vote
1 answer
237 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 ...
StayOnTarget's user avatar
  • 11.8k
3 votes
1 answer
559 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 ...
CatarinaRuna's user avatar
1 vote
0 answers
29 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 ...
theateist's user avatar
  • 13.9k
1 vote
2 answers
60 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)?
Arun Joseph's user avatar
  • 2,756
1 vote
1 answer
59 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 ...
user251433's user avatar
3 votes
1 answer
549 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 ...
Santoshsarma's user avatar
  • 5,617
4 votes
1 answer
120 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 ...
WhiskerBiscuit's user avatar
0 votes
1 answer
62 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
Ashhar Ali's user avatar
3 votes
0 answers
131 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 ...
skeetastax's user avatar
  • 1,016
4 votes
0 answers
265 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 (...
Peter's user avatar
  • 314
1 vote
1 answer
67 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 ...
Manish Giri's user avatar
  • 3,562
2 votes
1 answer
60 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 ...
milin's user avatar
  • 414
1 vote
1 answer
44 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 ...
Reem Al-Assaf's user avatar
1 vote
1 answer
149 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 ...
Reem Al-Assaf's user avatar

1
2 3 4 5
23