On Wed, Dec 10, 2008 at 3:24 AM, Hervé Giraud <[EMAIL PROTECTED]> wrote:

> Alex Boisvert a écrit :
>
>> On Tue, Dec 9, 2008 at 2:36 AM, Herv� Giraud <[EMAIL PROTECTED]> wrote:
>>
>> > I have the following "problems" with the release task.
>> >
>> > The repo_url is defined like this :
>> >
>> >     def repo_url
>> >       svn('info').scan(/URL: (.*)/)[0][0]
>> >     end
>> >
>> > On my system, "svn info" gives me "URL : http://..."; : there is a space
>> > after "URL".
>> > A better regexp could be : /URL\s?: (.*)/
>>
>>
>> For reference, could you provide the output of "svn -version"  and "svn
>> info" ?
>>
>>
> I have a french version of Windows XP (I know, never a good idea not using
> english version).
> I'm using Msys or dos.
>
> svn, version 1.5.4 (r33841)
>   compilé Oct 24 2008, 15:51:42
>
> $ svn info
> Chemin : .
> URL : https://...
> Racine du dépôt : https://...
> UUID du dépôt : bb6581bd-5aa3-46da-a306-7108957c620c
> Révision : 208
> Type de noeud : répertoire
> Tâche programmée : normale
> Auteur de la dernière modification : ...
> Révision de la dernière modification : 206
> Date de la dernière modification: 2008-12-09 10:00:24 +0100 (mar. 09 déc.
> 2008)


I think this makes a good case for using "svn info --xml" instead of the
human-readable output so we are not subject to any localization differences
between versions.

I've created https://issues.apache.org/jira/browse/BUILDR-226

alex

Reply via email to