This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever
Date 2009-05-23.18:19:53
SpamBayes Score 1.9771407e-12
Marked as misclassified No
Message-id <1243102798.53.0.847495660834.issue6094@psf.upfronthosting.co.za>
In-reply-to
Content
svnversion program from Subversion 1.7 (currently trunk), when invoked
on unversioned directory, prints "Unversioned directory" instead
"exported". This change in output is intentional and won't be reverted.

It causes build failure:
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -DNDEBUG -
-DSVNVERSION=\"`LC_ALL=C svnversion .`\" -o Modules/getbuildinfo.o
./Modules/getbuildinfo.c                                                                                                                                              
x86_64-pc-linux-gnu-gcc: directory": No such file or directory                                                                                               
<command-line>: warning: missing terminating " character                                                                                                     
./Modules/getbuildinfo.c: In function '_Py_svnversion':                                                                                                      
./Modules/getbuildinfo.c:48: error: missing terminating " character                                                                                          
./Modules/getbuildinfo.c:48: error: expected expression before ';'
token                                                                                     
make: *** [Modules/getbuildinfo.o] Error 1

I'm attaching the patch which fixes this problem and also updates
expected output of svnversion.
History
Date User Action Args
2009-05-23 18:19:58Arfreversetrecipients: + Arfrever
2009-05-23 18:19:58Arfreversetmessageid: <1243102798.53.0.847495660834.issue6094@psf.upfronthosting.co.za>
2009-05-23 18:19:56Arfreverlinkissue6094 messages
2009-05-23 18:19:55Arfrevercreate