[PATCH STABLE V2] verify: don't init a new subrepo when a missing one is referenced (issue5128)

Yuya Nishihara yuya at tcha.org
Fri Apr 29 05:07:54 EDT 2016


On Thu, 28 Apr 2016 00:08:34 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1461811552 14400
> #      Wed Apr 27 22:45:52 2016 -0400
> # Branch stable
> # Node ID 7a371add807cb7ab6534f33c60b270bc93124732
> # Parent  87d4a6c5567e81386b8c2209d95060d5bf72e064
> verify: don't init a new subrepo when a missing one is referenced (issue5128)

Pushed to the committed repo, thanks for working on this issue.

> +    return types[state[2]](ctx, path, state[:2], allowcreate)

It will break hgsubversion subrepo. I've flagged this patch as (API).

> +  $ find subrepo
> +  find: `subrepo': * (glob)
> +  [1]  

This fails on my Linux box.

-  find: `subrepo': * (glob)
+  find: 'subrepo': No such file or directory

Changed to "ls".


More information about the Mercurial-devel mailing list