[PATCH 2 of 2] move: --force flag forcibly moves, not copies

Anton Shestakov av6 at dwimlabs.net
Tue Jul 2 22:08:20 EDT 2019


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1562119599 -28800
#      Wed Jul 03 10:06:39 2019 +0800
# Node ID 47ba6b2b35db31c4b436e9e99179607cc4cc86cc
# Parent  9151cf680e05ebe7322388f25af3376f52e004a8
move: --force flag forcibly moves, not copies

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4759,7 +4759,7 @@ def remove(ui, repo, *pats, **opts):
 
 @command('rename|move|mv',
     [('A', 'after', None, _('record a rename that has already occurred')),
-    ('f', 'force', None, _('forcibly copy over an existing managed file')),
+    ('f', 'force', None, _('forcibly move over an existing managed file')),
     ] + walkopts + dryrunopts,
     _('[OPTION]... SOURCE... DEST'),
     helpcategory=command.CATEGORY_WORKING_DIRECTORY)


More information about the Mercurial-devel mailing list