[PATCH 10 of 10] largefiles: deprecate --all-largefiles for pull

Mads Kiilerich mads at kiilerich.com
Mon Apr 15 14:24:03 CDT 2013


# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1365983951 -7200
#      Mon Apr 15 01:59:11 2013 +0200
# Node ID 1420c627ab7cab43c1b93cab5e76b58e265bc20a
# Parent  2f37882b3dccd6a1c81b3ef163225b1e10641fb8
largefiles: deprecate --all-largefiles for pull

The same can be achieved with --lfrev pulled() and we shouldn't advertise
unnecessary command line options.

diff --git a/hgext/largefiles/uisetup.py b/hgext/largefiles/uisetup.py
--- a/hgext/largefiles/uisetup.py
+++ b/hgext/largefiles/uisetup.py
@@ -79,7 +79,7 @@
     entry = extensions.wrapcommand(commands.table, 'pull',
                                    overrides.overridepull)
     pullopt = [('', 'all-largefiles', None,
-                 _('download all pulled versions of largefiles')),
+                 _('download all pulled versions of largefiles (DEPRECATED)')),
                ('', 'lfrev', [],
                 _('download largefiles for these revisions'), _('REV'))]
     entry[1].extend(pullopt)


More information about the Mercurial-devel mailing list