[PATCH 2 of 2 STABLE] phase: add a passing test for (issue3575)

Augie Fackler raf at durin42.com
Sat Apr 12 11:24:58 CDT 2014


On Jan 23, 2014, at 5:48 PM, pierre-yves.david at ens-lyon.org wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at 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 at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140412/d674d62b/attachment.pgp>


More information about the Mercurial-devel mailing list