import: deprecate --base
authorPatrick Mezard <pmezard@gmail.com>
Sun, 05 Jun 2011 22:24:02 +0200
changeset 14532 2498128821a9
parent 14531 b88368a3ade4
child 14533 aa12e1bbde10
import: deprecate --base This option was a convenient hack introduced in Mercurial early days which unfortunately survived until now.
mercurial/commands.py
--- a/mercurial/commands.py	Sun Jun 05 13:27:06 2011 +0200
+++ b/mercurial/commands.py	Sun Jun 05 22:24:02 2011 +0200
@@ -2993,7 +2993,7 @@
     [('p', 'strip', 1,
      _('directory strip option for patch. This has the same '
        'meaning as the corresponding patch option'), _('NUM')),
-    ('b', 'base', '', _('base path'), _('PATH')),
+    ('b', 'base', '', _('base path (DEPRECATED)'), _('PATH')),
     ('f', 'force', None, _('skip check for outstanding uncommitted changes')),
     ('', 'no-commit', None,
      _("don't commit, just update the working directory")),