Patchwork [2,of,7,v2] rebase: test for empty dest revision

login
register
mail settings
Submitter Mads Kiilerich
Date Jan. 15, 2014, 2:24 a.m.
Message ID <e4dc4c89b03aec583bc9.1389752681@localhost.localdomain>
Download mbox | patch
Permalink /patch/3324/
State Accepted
Headers show

Comments

Mads Kiilerich - Jan. 15, 2014, 2:24 a.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1384730518 18000
#      Sun Nov 17 18:21:58 2013 -0500
# Node ID e4dc4c89b03aec583bc95af794d7a497359264d1
# Parent  4edd179fefb86c38c611f6fb167aba40a9cc02bc
rebase: test for empty dest revision

Patch

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
@@ -89,6 +89,9 @@  These fail:
   nothing to rebase
   [1]
 
+  $ hg rebase --dest '1 & !1'
+  abort: empty revision set
+  [255]
 
 These work: