Page MenuHomePhabricator

copy: clarify in help text that `hg co --forget` takes a *destination* file
ClosedPublic

Authored by martinvonz on Thu, Oct 15, 1:31 PM.

Details

Summary

We had a user who tried to pass a source file. The command then fails
with <file>: not unmarking as copy - file is not marked as copied,
so at least it's not just silent, but let's be a little clearer in the
documentation.

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.Thu, Oct 15, 1:31 PM
pulkit added a subscriber: pulkit.Thu, Oct 15, 2:29 PM

<file>: not unmarking as copy - file is not marked as copied

I think we have room for improving this error message too. Queued this, many thanks!

pulkit accepted this revision.Thu, Oct 15, 2:29 PM
This revision is now accepted and ready to land.Thu, Oct 15, 2:29 PM