Patchwork [10,of,10] largefiles: deprecate --all-largefiles for pull

login
register
mail settings
Submitter Mads Kiilerich
Date April 15, 2013, 7:24 p.m.
Message ID <1420c627ab7cab43c1b9.1366053843@mk-desktop>
Download mbox | patch
Permalink /patch/1326/
State Accepted
Commit 43cb150e74f9107e22345d8af0e7c606f991d3e9
Headers show

Comments

Mads Kiilerich - April 15, 2013, 7:24 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@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.
Matt Mackall - April 16, 2013, 4:38 p.m.
On Mon, 2013-04-15 at 21:24 +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski@unity3d.com>
> # Date 1365983951 -7200
> #      Mon Apr 15 01:59:11 2013 +0200
> # Node ID 1420c627ab7cab43c1b93cab5e76b58e265bc20a
> # Parent  2f37882b3dccd6a1c81b3ef163225b1e10641fb8
> largefiles: deprecate --all-largefiles for pull

These are queued for default, thanks.

Patch

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)