comparison tests/test-histedit-revspec.t @ 18608:3adbd57e1794

histedit: report when revisions to edit are not ancestors of working dir Editing the history only is possible when the working dir is a descendant of the revisions to edit. When this happens explain it by writing abort: %s is not an ancestor of working directory
author Simon Heimberg <simohe@besonet.ch>
date Sat, 03 Aug 2013 16:37:17 +0200
parents d9da327516f8
children 0dc83dbdd4f4
comparison
equal deleted inserted replaced
18607:26627c30735a 18608:3adbd57e1794
63 Run on a revision not ancestors of the current working directory. 63 Run on a revision not ancestors of the current working directory.
64 64
65 $ hg up 2 65 $ hg up 2
66 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 66 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
67 $ hg histedit -r 4 67 $ hg histedit -r 4
68 nothing to edit 68 abort: 08d98a8350f3 is not an ancestor of working directory
69 [1] 69 [255]