Show More
@@ -103,7 +103,7 b" nokwcommands = ('add addremove annotate " | |||||
103 | # hg commands that trigger expansion only when writing to working dir, |
|
103 | # hg commands that trigger expansion only when writing to working dir, | |
104 | # not when reading filelog, and unexpand when reading from working dir |
|
104 | # not when reading filelog, and unexpand when reading from working dir | |
105 | restricted = ('merge kwexpand kwshrink record qrecord resolve transplant' |
|
105 | restricted = ('merge kwexpand kwshrink record qrecord resolve transplant' | |
106 | ' unshelve rebase') |
|
106 | ' unshelve rebase graft') | |
107 |
|
107 | |||
108 | # names of extensions using dorecord |
|
108 | # names of extensions using dorecord | |
109 | recordextensions = 'record' |
|
109 | recordextensions = 'record' |
@@ -1243,4 +1243,19 b' Test restricted mode with rebase' | |||||
1243 | $Xinfo$ |
|
1243 | $Xinfo$ | |
1244 | +xxxx |
|
1244 | +xxxx | |
1245 |
|
1245 | |||
|
1246 | Test restricted mode with graft | |||
|
1247 | ||||
|
1248 | $ hg graft -q 10 | |||
|
1249 | $ hg diff -r 9 -r 13 a | |||
|
1250 | diff -r 800511b3a22d -r 01a68de1003a a | |||
|
1251 | --- a/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
1252 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
1253 | @@ -1,4 +1,6 @@ | |||
|
1254 | +foobranch | |||
|
1255 | expand $Id$ | |||
|
1256 | do not process $Id: | |||
|
1257 | xxx $ | |||
|
1258 | $Xinfo$ | |||
|
1259 | +xxxx | |||
|
1260 | ||||
1246 | $ cd .. |
|
1261 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now