hg mv old new equivalent to mv old new hg addremove
Dr Rainer Woitok
rainer.woitok at gmail.com
Mon Jul 27 14:34:57 UTC 2020
Uwe,
On Sunday, 2020-07-26 19:14:53 +0200, you wrote:
> ...
> I presume hg mv is «safer» in that sense. But what information does it
> preserve?
The information that one file is just a rename of the other, which is,
for instance, utilized by "hg log -f". If you just move a file outside
of Mercurial, the old file will just cease to exist and the new file
will just spring into existence without noting that the old file is the
predecessor of the new one.
Sincerely,
Rainer
More information about the Mercurial
mailing list