hg rm without removing the file?
Marcin.Kasperski at softax.com.pl
Thu Apr 26 10:42:05 CDT 2007
> One can of course workaround by renaming file, hg rm --after
> it, and renaming it back, but it is problematic when the file
> is used by some processess (say, casus of pidfile, lockfile
and you gave similar workaround:
> To get Hg to stop tracking a file, you need to 'hg rm' the
> file and add the filename into .hgignore. After the commit,
> you can 'hg cat' to retrieve the file.
which nevertheless does not solve the actual problem: there are
cases when I do not want to remove the file which I want to stop
tracking. Because, for instance, it is actively used by some
More information about the Mercurial