Show More
@@ -103,7 +103,7 b" nokwcommands = ('add addremove annotate " | |||
|
103 | 103 | # hg commands that trigger expansion only when writing to working dir, |
|
104 | 104 | # not when reading filelog, and unexpand when reading from working dir |
|
105 | 105 | restricted = ('merge kwexpand kwshrink record qrecord resolve transplant' |
|
106 | ' unshelve rebase graft backout') | |
|
106 | ' unshelve rebase graft backout histedit') | |
|
107 | 107 | |
|
108 | 108 | # names of extensions using dorecord |
|
109 | 109 | recordextensions = 'record' |
@@ -1271,4 +1271,17 b' Test restricted mode with backout' | |||
|
1271 | 1271 | $Xinfo$ |
|
1272 | 1272 | -xxxx |
|
1273 | 1273 | |
|
1274 | Test restricted mode with histedit | |
|
1275 | ||
|
1276 | $ cat <<EOF >> $HGRCPATH | |
|
1277 | > [extensions] | |
|
1278 | > histedit = | |
|
1279 | > EOF | |
|
1280 | ||
|
1281 | $ hg commit -m 'backout #11' | |
|
1282 | $ hg histedit -q --command - 13 <<EOF | |
|
1283 | > pick 49f5f2d940c3 14 backout #11 | |
|
1284 | > pick 01a68de1003a 13 9foobranch | |
|
1285 | > EOF | |
|
1286 | ||
|
1274 | 1287 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now