[Updated] D9214: copy: clarify in help text that `hg co --forget` takes a *destination* file
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Thu Oct 15 19:07:06 UTC 2020
Closed by commit rHG03690079d7dd: copy: clarify in help text that `hg co --forget` takes a *destination* file (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9214?vs=23225&id=23228
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9214/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9214
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2328,7 +2328,7 @@
@command(
b'copy|cp',
[
- (b'', b'forget', None, _(b'unmark a file as copied')),
+ (b'', b'forget', None, _(b'unmark a destination file as copied')),
(b'A', b'after', None, _(b'record a copy that has already occurred')),
(
b'',
@@ -2360,9 +2360,9 @@
exist in the working directory. If invoked with -A/--after, the
operation is recorded, but no copying is performed.
- To undo marking a file as copied, use --forget. With that option,
- all given (positional) arguments are unmarked as copies. The destination
- file(s) will be left in place (still tracked).
+ To undo marking a destination file as copied, use --forget. With that
+ option, all given (positional) arguments are unmarked as copies. The
+ destination file(s) will be left in place (still tracked).
This command takes effect with the next commit by default.
To: martinvonz, #hg-reviewers, pulkit
Cc: pulkit, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201015/4cb2918f/attachment-0002.html>
More information about the Mercurial-patches
mailing list