Re: Re: Git migration & revcheck tag
| From: | Hannes Magnusson | Date: | Sun, 04 Mar 2012 10:06:22 +0000 |
| Subject: | Re: Re: Git migration & revcheck tag | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969383691@lists.php.net to get a copy of this message | ||
On Sat, Mar 3, 2012 at 23:14, David Soria Parra <dsp@php.net> wrote:
> On 2012-01-19, Yannick Torrès <yannick.torres@gmail.com> wrote:
>> --e89a8f235177550b4404b6e66798
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi Philip, Hannes,
>>
>> About Git migration : how are we deal with the revcheck tag ? Is there a
>> link between SVN revision ID and futur Git revision ID ? Is there a script
>> to automatically update translation to include the right Git revision ID
>> into the revcheck tag ?
>
> I don't know much about it, but git supports keywords. You can have an
> $Id$ field that is replaced by the sha1. As far as I know, nothing in
> the doc tree assumes that revision numbers are ordered (as sha1's are
> not ordered)?
We use revision numbers extensively to detect if a translation is
older then the english files.
In CVS we also used it to easily detect how many revisions a file was
out of date.
I didn't know git actually supported $Id$
-Hannes