[PATCH] keyword: Clarify object of backwards compatibility

Christian Ebert blacktrash at gmx.net
Fri Nov 27 13:09:32 CST 2009


* timeless on Friday, November 27, 2009 at 09:06:29 +0200
> # HG changeset patch
> # User timeless at mozdev.org
> # Date 1259305550 -7200
> # Node ID 932ce78408407ffe28d943ae284f15ebb8df5e77
> # Parent  5e4ef56b4d420ca8f28964114a49c26508ab34c0
> 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,7 @@ class kwtemplater(object):
>         '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}',

I just submitted a patch in your name with the same wording of
the comment but keeping the line under 80 chars.

Thank you. I think it's right to point to the fact that it is
about backwards compatibility within Mercurial.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/


More information about the Mercurial-devel mailing list