[PATCH 2 of 2 V2] tests: convert a push test to use revsets

Pierre-Yves David pierre-yves.david at logilab.fr
Tue Jul 17 09:26:28 CDT 2012


On Tue, Jul 17, 2012 at 10:18:53AM -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1342370590 14400
> # Node ID c6e38fdff23ce1e4411a204a70b8aa6062a73dc5
> # Parent  ecde35a1af9e326e124a52787dd355c4d24b07e7
> tests: convert a push test to use revsets
> 
> diff --git a/tests/test-mq-safety.t b/tests/test-mq-safety.t
> --- a/tests/test-mq-safety.t
> +++ b/tests/test-mq-safety.t
> @@ -188,7 +188,7 @@
>  
>  Pushing revs excluding applied patch
>  
> -  $ hg push --new-branch -r branch -r 2 ../forcepush2
> +  $ hg push --new-branch -r 'branch(branch)' -r 2 ../forcepush2
>    pushing to ../forcepush2
>    searching for changes
>    adding changesets

Looks good to me.

-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120717/8c0f93ba/attachment.pgp>


More information about the Mercurial-devel mailing list