Mercurial > hg-stable
diff tests/test-rebase-parameters.t @ 21210:799c494189a9 stable
rebase: empty revset should be a gentle no-op with exit code 1, not an error
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 01 May 2014 16:47:50 +0200 |
parents | cb4223c65f79 |
children | 19d6fec60b81 |
line wrap: on
line diff
--- a/tests/test-rebase-parameters.t Thu May 01 15:12:49 2014 +0200 +++ b/tests/test-rebase-parameters.t Thu May 01 16:47:50 2014 +0200 @@ -84,12 +84,12 @@ [1] $ hg rebase --source '1 & !1' - abort: empty "source" revision set - nothing to rebase - [255] + empty "source" revision set - nothing to rebase + [1] $ hg rebase --base '1 & !1' - abort: empty "base" revision set - can't compute rebase set - [255] + empty "base" revision set - can't compute rebase set + [1] $ hg rebase nothing to rebase - working directory parent is also destination