comparison tests/test-keyword.t @ 21705:dd5ca1a32109 stable

keyword: suppress keyword expansion while 'hg graft' for internal merge Before this patch, 'hg graft' may cause unexpected conflict, if 'hg graft'-ed changes are located near lines in which keywords are embedded, because keywords are substituted with other strings in the working directory. This patch suppresses keyword expansion while 'hg graft' for internal merge by adding 'graft' to 'restricted' command list like 'merge'.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 05 Jun 2014 16:47:14 +0900
parents 65dd65c645ed
children 5c64c338fa9f
comparison
equal deleted inserted replaced
21704:65dd65c645ed 21705:dd5ca1a32109
1241 do not process $Id: 1241 do not process $Id:
1242 xxx $ 1242 xxx $
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 ..