In perforce, RCS keywords are case-sensitive
At least, this is true in 2007.2, according to the documentation. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Daniel Barkalow committed
Jul 22, 2008 at 12:48 UTC
2d71bde2d1a8f4e1c06cb8049a794ba4ba35d37d
1 file changed
+1
-1
contrib/fast-import/git-p4
+1
-1
@@ -906,7 +906,7 @@ class P4Sync(Command):
906
if stat['type'] in ('text+ko', 'unicode+ko', 'binary+ko'):
907
text = re.sub(r'(?i)\$(Id|Header):[^$]*\$',r'$\1$', text)
908
elif stat['type'] in ('text+k', 'ktext', 'kxtext', 'unicode+k', 'binary+k'):
909
- text = re.sub(r'(?i)\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\$',r'$\1$', text)
909
+ text = re.sub(r'\$(Id|Header|Author|Date|DateTime|Change|File|Revision):[^$]*\$',r'$\1$', text)
910
911
contents[stat['depotFile']] = text
912