On Thu, Jun 07, 2007 at 03:12:22PM -0400, Jesse Keating wrote: > On Thursday 07 June 2007 15:01:12 Axel Thimm wrote: > > I think it is more like "copy, then remove", which is all you really > > want as the history can be propagated back through the copy/rename > > operation (-f option to any relevant hg command will do the trick). > > Maybe you know something that I don't, but the last time I looked at this, > there was no way in HG to rename a file, but keep change history of that > file. When changing the name you suddenly have no history of that file. Try man hg | egrep -2 '(rename|-f)' E.g. | rename [OPTION]... SOURCE... DEST | Mark dest as copies of sources; mark sources for deletion. If dest is a directory, copies are put in that directory. If dest is a file, there can only be one source. [...] | log [OPTION]... [FILE] | Print the revision history of the specified files or the entire project. | | File history is shown without following rename or copy history of | files. Use -f/--follow with a file name to follow history across | renames and copies. And similar for hg grep and other history querying commands. -- Axel.Thimm at ATrpms.net
Attachment:
pgprRdNIFpfi1.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list