changeset 20246:e4dc4c89b03a

rebase: test for empty dest revision
author Mads Kiilerich <madski@unity3d.com>
date Sun, 17 Nov 2013 18:21:58 -0500
parents 4edd179fefb8
children a259f7b488ab
files tests/test-rebase-parameters.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-rebase-parameters.t	Thu Nov 21 15:17:18 2013 -0500
+++ b/tests/test-rebase-parameters.t	Sun Nov 17 18:21:58 2013 -0500
@@ -89,6 +89,9 @@
   nothing to rebase
   [1]
 
+  $ hg rebase --dest '1 & !1'
+  abort: empty revision set
+  [255]
 
 These work: