This is an archive of the discontinued Mercurial Phabricator instance.

rename: add hint about --at-rev if source file doesn't exist
ClosedPublic

Authored by martinvonz on May 7 2021, 11:46 AM.

Details

Summary

It's quite common that users want to record copy (rename) information
after committing the working copy changes (i.e. an added and a deleted
file). When they try hg mv [--after] <src> <dst>, that just fails
because the source file doesn't exist. It seems helpful if we can
point them to --at-rev=. in this case.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.May 7 2021, 11:46 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.