[PATCH 05 of 10] rebase: test for empty dest revision

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jan 13 01:30:22 CST 2014


looks good to me (and apparently independant from 4)

On Sun, Jan 12, 2014 at 05:08:03PM +0100, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1384730518 18000
> #      Sun Nov 17 18:21:58 2013 -0500
> # Node ID 34f07528358d4bd02fbdc966f981e54704953796
> # Parent  55325a119cbeea17c2379bbe23f20d6226442a03
> rebase: test for empty dest revision
> 
> diff --git a/tests/test-rebase-parameters.t b/tests/test-rebase-parameters.t
> --- a/tests/test-rebase-parameters.t
> +++ b/tests/test-rebase-parameters.t
> @@ -101,6 +101,10 @@ These fail:
>    nothing to rebase - base revset is empty
>    [1]
>  
> +  $ hg rebase --dest '1 & !1'
> +  abort: empty revision set
> +  [255]
> +
>  These work:
>  
>  Rebase with no arguments (from 3 onto 8):
> _______________________________________________
> 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: 836 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140113/f9f6ef1e/attachment.pgp>


More information about the Mercurial-devel mailing list