You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Peter N. Lundblad" <pe...@famlundblad.se> on 2004/09/02 19:40:37 UTC

Re: parsing svn output

On Thu, 2 Sep 2004, Cédric Chabanois wrote:

> A --xml option would help. Should I submit a patch ?
>
>
I wouldn't object to such an option. Please submit a patch if you have
time, but read HACKING first if you haven't already.

> 2)
> svn log Class4.java -v
> ------------------------------------------------------------------------
> r38 | cedric | 2004-09-02 15:21:06 +0100 (jeu., 02 sept. 2004) | 1 line
> Changed paths:
>    M /project3/src/package1/Class2.java
>    M /project3/src/package1/Class4.java
>
> changed paths are relative to the repository but how can I get the
> repository url ?
>
svn info gives you that.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: parsing svn output

Posted by Cédric Chabanois <cc...@no-log.org>.
>  
>
>>2)
>>svn log Class4.java -v
>>------------------------------------------------------------------------
>>r38 | cedric | 2004-09-02 15:21:06 +0100 (jeu., 02 sept. 2004) | 1 line
>>Changed paths:
>>   M /project3/src/package1/Class2.java
>>   M /project3/src/package1/Class4.java
>>
>>changed paths are relative to the repository but how can I get the
>>repository url ?
>>
>>    
>>
>svn info gives you that.
>
>  
>
Not really, it gives the url of a managed resource but it does not give 
the url of the repository.

Moreover, if I do svn log against a url target, it will give me a 
similar output :
svn log -v 
file:///F:/Programmation/sources2/svn/repository/project3/src/package1/Class4.java
------------------------------------------------------------------------
r38 | cedric | 2004-09-02 15:21:06 +0100 (jeu., 02 sept. 2004) | 1 line
Changed paths:
   M /project3/src/package1/Class2.java
   M /project3/src/package1/Class4.java

But I can't easily deduce the url of the changed resources (at least 
when resource has been moved)

Cédric

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: parsing svn output

Posted by Barry Scott <ba...@barrys-emacs.org>.
On Sep 2, 2004, at 20:40, Peter N. Lundblad wrote:

>> changed paths are relative to the repository but how can I get the
>> repository url ?
>>
> svn info gives you that

No it does not. There is no simple solution to this problem.
This issue was discussed a while ago and apart from deep
programing with the RA layer you cannot find the root of the repo.

Barry


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org