Submitter | Pierre-Yves David |
---|---|
Date | Jan. 23, 2014, 10:48 p.m. |
Message ID | <7a9ff4dcb69d8290c46d.1390517282@marginatus.fb.com> |
Download | mbox | patch |
Permalink | /patch/3406/ |
State | Accepted |
Commit | 0bc633aaa338715dc7620d479b60de048c90b839 |
Headers | show |
Comments
On Jan 23, 2014, at 5:48 PM, pierre-yves.david@ens-lyon.org wrote: > # HG changeset patch > # User Pierre-Yves David <pierre-yves.david@fb.com> > # Date 1390514993 28800 > # Thu Jan 23 14:09:53 2014 -0800 > # Node ID 7a9ff4dcb69d8290c46d5ba77ff0ffaf6c626e92 > # Parent af967baa28dec969bc5d2bd1c9cc79a2bc2b0af1 > phase: add a passing test for (issue3575) This looks like it never made it, so I'm going to go ahead and queue this patch, but I don't see the [1 of 2] patch, so consider resending it if needed? > > Apparently this issue fixed herself along the way (If it ever existed at all…) > > diff --git a/tests/test-phases-exchange.t b/tests/test-phases-exchange.t > --- a/tests/test-phases-exchange.t > +++ b/tests/test-phases-exchange.t > @@ -751,10 +751,73 @@ Pushing to Publish=True (common changese > | > o 0 public a-A - 054250a37db4 > > > > +Bare push with next changeset and common changeset needing sync (issue3575) > + > +(reset some stat on remot repo to not confused other test) > + > + $ hg -R ../alpha --config extensions.strip= strip --no-backup 967b449fbc94 > + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved > + $ hg phase --force --draft b740e3e5c05d 967b449fbc94 > + $ hg push -fv ../alpha > + pushing to ../alpha > + searching for changes > + 1 changesets found > + adding changesets > + adding manifests > + adding file changes > + added 1 changesets with 1 changes to 1 files (+1 heads) > + $ hgph > + o 9 public a-H - 967b449fbc94 > + | > + | o 8 public a-F - b740e3e5c05d > + | | > + | o 7 public a-E - e9f537e46dea > + | | > + +---o 6 public n-B - 145e75495359 > + | | > + o | 5 public n-A - d6bcb4f74035 > + | | > + | o 4 public a-D - b555f63b6063 > + | | > + | o 3 public a-C - 54acac6f23ab > + | | > + o | 2 public b-A - f54f1bb90ff3 > + |/ > + o 1 public a-B - 548a3d25dbf0 > + | > + o 0 public a-A - 054250a37db4 > + > + > + $ hg -R ../alpha update 967b449fbc94 #for latter test consistency > + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved > + $ hgph -R ../alpha > + @ 10 public a-H - 967b449fbc94 > + | > + | o 9 draft a-G - 3e27b6f1eee1 > + | | > + | o 8 public a-F - b740e3e5c05d > + | | > + | o 7 public a-E - e9f537e46dea > + | | > + +---o 6 public n-B - 145e75495359 > + | | > + o | 5 public n-A - d6bcb4f74035 > + | | > + o | 4 public b-A - f54f1bb90ff3 > + | | > + | o 3 public a-D - b555f63b6063 > + | | > + | o 2 public a-C - 54acac6f23ab > + |/ > + o 1 public a-B - 548a3d25dbf0 > + | > + o 0 public a-A - 054250a37db4 > + > + > Discovery locally secret changeset on a remote repository: > > - should make it non-secret > > $ cd ../alpha > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@selenic.com > http://selenic.com/mailman/listinfo/mercurial-devel
On 04/12/2014 12:24 PM, Augie Fackler wrote: > > On Jan 23, 2014, at 5:48 PM, pierre-yves.david@ens-lyon.org wrote: > >> # HG changeset patch >> # User Pierre-Yves David <pierre-yves.david@fb.com> >> # Date 1390514993 28800 >> # Thu Jan 23 14:09:53 2014 -0800 >> # Node ID 7a9ff4dcb69d8290c46d5ba77ff0ffaf6c626e92 >> # Parent af967baa28dec969bc5d2bd1c9cc79a2bc2b0af1 >> phase: add a passing test for (issue3575) > > This looks like it never made it, so I'm going to go ahead and queue this patch, but I don't see the [1 of 2] patch, so consider resending it if needed? patch 2 have been queued in stable.
Patch
diff --git a/tests/test-phases-exchange.t b/tests/test-phases-exchange.t --- a/tests/test-phases-exchange.t +++ b/tests/test-phases-exchange.t @@ -751,10 +751,73 @@ Pushing to Publish=True (common changese | o 0 public a-A - 054250a37db4 +Bare push with next changeset and common changeset needing sync (issue3575) + +(reset some stat on remot repo to not confused other test) + + $ hg -R ../alpha --config extensions.strip= strip --no-backup 967b449fbc94 + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ hg phase --force --draft b740e3e5c05d 967b449fbc94 + $ hg push -fv ../alpha + pushing to ../alpha + searching for changes + 1 changesets found + adding changesets + adding manifests + adding file changes + added 1 changesets with 1 changes to 1 files (+1 heads) + $ hgph + o 9 public a-H - 967b449fbc94 + | + | o 8 public a-F - b740e3e5c05d + | | + | o 7 public a-E - e9f537e46dea + | | + +---o 6 public n-B - 145e75495359 + | | + o | 5 public n-A - d6bcb4f74035 + | | + | o 4 public a-D - b555f63b6063 + | | + | o 3 public a-C - 54acac6f23ab + | | + o | 2 public b-A - f54f1bb90ff3 + |/ + o 1 public a-B - 548a3d25dbf0 + | + o 0 public a-A - 054250a37db4 + + + $ hg -R ../alpha update 967b449fbc94 #for latter test consistency + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hgph -R ../alpha + @ 10 public a-H - 967b449fbc94 + | + | o 9 draft a-G - 3e27b6f1eee1 + | | + | o 8 public a-F - b740e3e5c05d + | | + | o 7 public a-E - e9f537e46dea + | | + +---o 6 public n-B - 145e75495359 + | | + o | 5 public n-A - d6bcb4f74035 + | | + o | 4 public b-A - f54f1bb90ff3 + | | + | o 3 public a-D - b555f63b6063 + | | + | o 2 public a-C - 54acac6f23ab + |/ + o 1 public a-B - 548a3d25dbf0 + | + o 0 public a-A - 054250a37db4 + + Discovery locally secret changeset on a remote repository: - should make it non-secret $ cd ../alpha