equal
deleted
inserted
replaced
1 $ cat >> $HGRCPATH <<EOF |
1 $ cat >> $HGRCPATH <<EOF |
2 > [extensions] |
2 > [extensions] |
3 > hgext.graphlog= |
|
4 > EOF |
3 > EOF |
5 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
4 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
6 |
5 |
7 hg prev -B should move active bookmark |
6 hg prev -B should move active bookmark |
8 $ hg init |
7 $ hg init test-repo |
|
8 $ cd test-repo |
9 $ touch a |
9 $ touch a |
10 $ hg add a |
10 $ hg add a |
11 $ hg commit -m 'added a' |
11 $ hg commit -m 'added a' |
12 $ touch b |
12 $ touch b |
13 $ hg add b |
13 $ hg add b |
91 [1] added b |
91 [1] added b |
92 $ hg bookmarks |
92 $ hg bookmarks |
93 mark 2:4e26ef31f919 |
93 mark 2:4e26ef31f919 |
94 no-move 2:4e26ef31f919 |
94 no-move 2:4e26ef31f919 |
95 |
95 |
|
96 test prev on root |
|
97 |
|
98 $ hg up null |
|
99 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
100 $ hg prev |
|
101 already at repository root |
|
102 [1] |
|
103 $ hg up 1 |
|
104 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
96 |
105 |
97 Behavior with local modification |
106 Behavior with local modification |
98 -------------------------------- |
107 -------------------------------- |
99 |
108 |
100 $ echo foo > modified-bar |
109 $ echo foo > modified-bar |
214 $ hg evolve -r 5 |
223 $ hg evolve -r 5 |
215 move:[5] added d |
224 move:[5] added d |
216 atop:[6] added b (3) |
225 atop:[6] added b (3) |
217 working directory is now at 47ea25be8aea |
226 working directory is now at 47ea25be8aea |
218 |
227 |
|
228 $ cd .. |
|
229 |
219 prev and next should lock properly against other commands |
230 prev and next should lock properly against other commands |
220 |
231 |
221 $ hg init repo |
232 $ hg init repo |
222 $ cd repo |
233 $ cd repo |
223 $ HGEDITOR=${TESTDIR}/fake-editor.sh |
234 $ HGEDITOR=${TESTDIR}/fake-editor.sh |