Mercurial > hg
diff tests/test-histedit-revspec.t @ 17766:d9da327516f8
histedit: clean abort when there is nothing to edit
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sun, 14 Oct 2012 23:58:02 +0200 |
parents | 949e241b5573 |
children | 3adbd57e1794 |
line wrap: on
line diff
--- a/tests/test-histedit-revspec.t Mon Oct 15 00:05:16 2012 +0200 +++ b/tests/test-histedit-revspec.t Sun Oct 14 23:58:02 2012 +0200 @@ -60,3 +60,10 @@ # 0 files updated, 0 files merged, 0 files removed, 0 files unresolved +Run on a revision not ancestors of the current working directory. + + $ hg up 2 + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hg histedit -r 4 + nothing to edit + [1]