[Python-Dev] Expose Subversion revision number to Python
"Martin v. Löwis"
martin at v.loewis.de
Fri Dec 16 20:30:40 CET 2005
Phillip J. Eby wrote:
> The "Revision" from "svn info" isn't reliable; it doesn't actually relate
> to what version of code is in the subtree. It can change when nothing has
> changed.
That is not true. It does relate - it is the revision that was current
when "svn up" was last done. This *does* allow you to tell what changed
last, and it *does* allow to restore the precise sources (unless the
user only made a partial "svn up"). If some person tells you this
revision R, and you do 'svn up -rR', then you have precisely the same
sources as that person.
Regards,
Martin
More information about the Python-Dev
mailing list