[PATCH 2 of 4] add: pass options via keyword args
Mads Kiilerich
mads at kiilerich.com
Thu Jan 15 22:00:58 CST 2015
On 01/16/2015 04:39 AM, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1421114357 18000
> # Mon Jan 12 20:59:17 2015 -0500
> # Node ID c9313d348ff8b373820e49359b03950875e737dc
> # Parent 6c893ee9c85def62e2f19de9f4a2b5288a12a5fd
> add: pass options via keyword args
>
> The largefiles extensions needs to be able to pass --large, --normal and
> --lfsize to subrepos via cmdutil.add() and hgsubrepo.add(). Rather than add
> additional special purpose arguments, stop extracting the existing args from the
> **opts passed to commands.add() and just pass them along.
I guess this patch should come before patch 1 to make sure every
revision in history works?
/Mads
More information about the Mercurial-devel
mailing list