comparison tests/test-prev-next.t @ 2738:3f27fe80be26

prev: issue a proper error when reaching repository root (and adds the associated test)
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 14 Jul 2017 01:32:34 +0200
parents 66278c4d9c07
children 4dd84054ebbb
comparison
equal deleted inserted replaced
2737:66278c4d9c07 2738:3f27fe80be26
92 [1] added b 92 [1] added b
93 $ hg bookmarks 93 $ hg bookmarks
94 mark 2:4e26ef31f919 94 mark 2:4e26ef31f919
95 no-move 2:4e26ef31f919 95 no-move 2:4e26ef31f919
96 96
97 test prev on root
98
99 $ hg up null
100 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
101 $ hg prev
102 already at repository root
103 [1]
104 $ hg up 1
105 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
97 106
98 Behavior with local modification 107 Behavior with local modification
99 -------------------------------- 108 --------------------------------
100 109
101 $ echo foo > modified-bar 110 $ echo foo > modified-bar