">

(original) (raw)

A revision number is, indeed, local to the working repository. A changeset ID, however is global.

From Mercurial's documentation:

Revision numbers referring to changesets are very likely to be different in another copy of a repository. Do not use them to talk about changesets with other people. Use the changeset ID instead


See: http://mercurial.selenic.com/wiki/RevisionNumber

~/santa



On Sun, Mar 13, 2011 at 2:27 PM, Benjamin Peterson <benjamin@python.org> wrote:

2011/3/13 Antoine Pitrou <solipsis@pitrou.net>:

> On Sun, 13 Mar 2011 01:34:21 +0100
> benjamin.peterson <python-checkins@python.org> wrote:
>> http://hg.python.org/cpython/rev/52940f7f3726
>> changeset: 68416:52940f7f3726
>> user: Benjamin Peterson <benjamin@python.org>
>> date: Sat Mar 12 18:35:23 2011 -0600
>> summary:
>> bump ast version
>>
>> files:
>> Python/Python-ast.c
>>
>> diff --git a/Python/Python-ast.c b/Python/Python-ast.c
>> --- a/Python/Python-ast.c
>> +++ b/Python/Python-ast.c
>> @@ -2,7 +2,7 @@
>>
>>
>> /\*
>> - \_\_version\_\_ 68409:c017695acf19.
>> + \_\_version\_\_ 68410:0daa6ba25d9b.
>
> Is the version number necessary? It is local to the repository of the
> person regenerating the file, and therefore not very reliable (for
> example, 68410 on hg.python.org points to
> http://hg.python.org/cpython/rev/f757b3b79c2a).
>
> The changeset id should be sufficient.

I thought people might be comparing based on version numbers.



\--
Regards,
Benjamin
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/santoso.wijaya%40gmail.com