# HG changeset patch # User Christian Ebert # Date 1259229077 -3600 # Node ID 25e813ce68e27033b53e000f855b419666e88da2 # Parent 55e769bd66f76bb0b1f69297ae86027194616e09 The CVS keyword is $RCSfile$, not $RCSFile$ http://cvsbook.red-bean.com/cvsbook.html#List%20Of%20Keywords Fix default keyword map accordingly. Keep $RCSFile$ for Mercurial backwards compatibility. diff -r 55e769bd66f7 -r 25e813ce68e2 hgkw/keyword.py --- a/hgkw/keyword.py Fri Nov 27 18:03:29 2009 +0000 +++ b/hgkw/keyword.py Thu Nov 26 10:51:17 2009 +0100 @@ -111,7 +111,8 @@ 'Revision': '{node|short}', 'Author': '{author|user}', 'Date': '{date|utcdate}', - 'RCSFile': '{file|basename},v', + 'RCSfile': '{file|basename},v', + 'RCSFile': '{file|basename},v', # kept only for backwards compatibility 'Source': '{root}/{file},v', 'Id': '{file|basename},v {node|short} {date|utcdate} {author|user}', 'Header': '{root}/{file},v {node|short} {date|utcdate} {author|user}', diff -r 55e769bd66f7 -r 25e813ce68e2 tests/test-keyword.out --- a/tests/test-keyword.out Fri Nov 27 18:03:29 2009 +0000 +++ b/tests/test-keyword.out Thu Nov 26 10:51:17 2009 +0100 @@ -9,6 +9,7 @@ Header = {root}/{file},v {node|short} {date|utcdate} {author|user} Id = {file|basename},v {node|short} {date|utcdate} {author|user} RCSFile = {file|basename},v +RCSfile = {file|basename},v Revision = {node|short} Source = {root}/{file},v $Author: test $ @@ -16,6 +17,7 @@ $Header: /TMP/demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $ $Id: demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $ $RCSFile: demo.txt,v $ +$RCSfile: demo.txt,v $ $Revision: xxxxxxxxxxxx $ $Source: /TMP/demo.txt,v $ [extensions]