[PATCH main-line-of-work] subrepo: detect issue3871 case earlier so it apply to bundle2
Yuya Nishihara
yuya at tcha.org
Fri May 29 08:59:27 CDT 2015
On Thu, 28 May 2015 13:08:20 -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1432732094 25200
> # Wed May 27 06:08:14 2015 -0700
> # Node ID a6113fe627b29a2d027a8247fc379ff8b934060f
> # Parent f5088cab7b299553177fa0c2ad36b6abbb566b8e
> subrepo: detect issue3871 case earlier so it apply to bundle2
I believe it is "issue3781".
http://bz.selenic.com/show_bug.cgi?id=3781
> We are doing some strange special casing of phase push when:
>
> - the source is a subrepo
> - the destination is publishing
> - some changeset are still draft on the destination
>
> In that case we do not push phases information (to publish the draft changesets)
> because it could break simple cycle of 'clone/pull/push' of subrepos. We have to
> detect this case earlier to have bundle2 respecting it.
>
> We change the test to check the behavior for both bundle1 and bundle2.
More information about the Mercurial-devel
mailing list