[PATCH stable] keyword: clarify object of backwards compatibility

Christian Ebert blacktrash at gmx.net
Fri Nov 27 13:04:49 CST 2009


Hi,

I'm proposing this patch in timeless' name because the wording is
by him, I just (hopefully) made it conform to the coding style
(linewidth).

c


# HG changeset patch
# User timeless
# Date 1259346385 0
# Branch stable
# Node ID 05a56064243b2f34240db5a7801196a066d86b6c
# Parent  f8d7797911614305b29a643f3e59c61392ff0d0d
keyword: clarify object of backwards compatibility

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -112,7 +112,8 @@
         'Author': '{author|user}',
         'Date': '{date|utcdate}',
         'RCSfile': '{file|basename},v',
-        'RCSFile': '{file|basename},v', # kept only for backwards compatibility
+        'RCSFile': '{file|basename},v', # kept for backwards compatibility
+                                        # with hg-keyword
         'Source': '{root}/{file},v',
         'Id': '{file|basename},v {node|short} {date|utcdate} {author|user}',
         'Header': '{root}/{file},v {node|short} {date|utcdate} {author|user}',



More information about the Mercurial-devel mailing list