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

login
register
mail settings
Submitter Anton Shestakov
Date July 3, 2019, 2:08 a.m.
Message ID <47ba6b2b35db31c4b436.1562119700@neuro>
Download mbox | patch
Permalink /patch/40743/
State Accepted
Headers show

Comments

Anton Shestakov - July 3, 2019, 2:08 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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

Patch

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)