[Python-Dev] Expose Subversion revision number to Python (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Dec 17 18:29:27 CET 2005
- Previous message: [Python-Dev] Expose Subversion revision number to Python
- Next message: [Python-Dev] Test branch for ssize_t changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Hudson wrote:
For a different approach, would it be possible to have a subversion trigger put the revision number into some file in the repository?
Not easily, to my knowledge. Assuming that the export will be made from a tag, the revision at which the tag was created (along with the path of the tag) could be added through a wrapper script to perform the export.
Of course, if the policy to export from a tag is followed, just having the tag name is also sufficient.
Regards, Martin
- Previous message: [Python-Dev] Expose Subversion revision number to Python
- Next message: [Python-Dev] Test branch for ssize_t changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]