[PATCH 2 of 2 RFC] extdiff: use -S to archive the full repo

Mathias De Maré mathias.demare at gmail.com
Mon Feb 9 01:28:24 CST 2015


On Mon, Feb 9, 2015 at 5:01 AM, Matt Harbison <mharbison72 at gmail.com> wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1342370590 14400
> #      Sun Jul 15 12:43:10 2012 -0400
> # Node ID 9c4f27e5c804662d2d25581ad3856ef6da3729ec
> # Parent  6abceaa1a49f82cebd3a4f141f69558e2bb3cec4
> extdiff: use -S to archive the full repo
>
> The working copy snapshot into the subrepo(s) is still missing.  (The
> hangup is
> how to pass the 'wfn not in ctx' check, and it would be nice to get all
> types of
> subrepo for free.  Maybe the solution is to change archive.archival to
> accept a
> context instead of a node, which would allow it to archive the working
> copy too.
> The subrepos would have to be changed to support this, but that doesn't
> mean the
> command line needs to see this capability.)
>

I guess both options are possible:
1. Extending archival to support the working directory.
2. Special-casing snapshot to copy the files.

I'm not sure what's the best choice here.

Other than that dilemma, this patch looks good to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150209/6ce45a64/attachment.html>


More information about the Mercurial-devel mailing list