[PATCH 01 of 14] commands: add shallowroot option
Nicolas Dumazet
nicdumz at gmail.com
Fri Jul 16 02:45:57 CDT 2010
On Fri, 16 Jul 2010 12:45:09 +0530
Vishakh H <vsh426 at gmail.com> wrote:
> # HG changeset patch
> # User Vishakh H <vsh426 at gmail.com>
> # Date 1279263210 -19800
> # Node ID ac0aaabc91abd7c2ecde7c1e35fe2ac6f6a46e93
> # Parent 47ca289a3a08516dd9b05d5ebe88aee07cf42d89
> commands: add shallowroot option
Patch 1,2,3, and 4 seems to be doing the same thing to me.
Maybe fold them into one? (or did someone complained, and asked you to split them?)
-Nicolas.
>
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -707,7 +707,8 @@
> stream=opts.get('uncompressed'),
> rev=opts.get('rev'),
> update=opts.get('updaterev') or not opts.get('noupdate'),
> - branch=opts.get('branch'))
> + branch=opts.get('branch'),
> + shallowroot=opts.get('shallowroot'))
>
> return r is None
>
> @@ -4048,6 +4049,8 @@
> _('include the specified changeset'), _('REV')),
> ('b', 'branch', [],
> _('clone only the specified branch'), _('BRANCH')),
> + ('s', 'shallowroot', '',
> + _('revision at which shallow clone will be created'), _('REV')),
> ('', 'pull', None, _('use pull protocol to copy metadata')),
> ('', 'uncompressed', None,
> _('use uncompressed transfer (fast over LAN)')),
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
--
Nicolas Dumazet — NicDumZ
More information about the Mercurial-devel
mailing list