I have repository with a lot of files of different type (including binary files). The thing is I decided to restructure my repository and moved most of files (it is about 5G) to another folder (inside the same repository). So, of course, I want to use find renames tool in Tortoise Hg
but since the are a lot of files application client freezes and after some time stops responding. I know that those files are only moved so how can I manually force the TortoiseHg to mark them as renamed without using the tool?
P.S. of course I can use this tool several time for only part of all files, but I want to know is it possible to do without find renames tool.
If you see the help for hg rm --help : hg remove [OPTION]... FILE... Schedule the indicated files for removal from the current branch. This command schedules the files to be removed at the next commit.
' hg forget ' is just shorthand for ' hg remove -Af '. From the ' hg remove ' help: ...and -Af can be used to remove files from the next revision without deleting them from the working directory. Bottom line: ' remove ' deletes the file from your working copy on disk (unless you uses -Af ) and ' forget ' doesn't.
TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system that includes a Gnome/Nautilus extension and a CLI wrapper application to be able to used on non-Windows platforms.
Explorer: select TortoiseHg ‣ Add Files… in the context menu. A dialog will open for you to check the selected files and accept the add operation. You can also open the status tool by selecting TortoiseHg ‣ View File Status. Check the files you want to add and select Add from the file context menu.
Welcome to TortoiseHg and the Mercurial! TortoiseHg is a set of graphical applications and Windows Explorer shell extension that serve as a friendly front-end to the Mercurial distributed version control system (DVCS). All TortoiseHg functionality is reachable from 3 places:
So there are menu entries for delete and rename in the TortoiseGit submenu. However, unlike SVN Git does not track filenames. Git only tracks the content of files. So there is in general no need to use the Git rename or remove functionality or even to "repair renames" as in SVN. Renames and copies are automatically detected when showing the log.
In the second case, repository paths and global options can be defined using a dedicated configuration file common to hg serve, hgweb.wsgi, hgweb.cgiand hgweb.fcgi. This file uses the same syntax as other Mercurial configuration files but recognizes only the following sections:
You can try running the following command in the terminal:
hg addremove --similarity 90
This will effectively tell Mercurial to detect renames of files which are 90% similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With