[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Retrieve the full URL of a file given the revision number

From: Jay Jesus Amorin <jay.amorin_at_gmail.com>
Date: Sun, 25 Jan 2009 12:30:18 +0800

No, probably not that. I want an svn command that when i run given the
revision number will return a URL of the file/files of that revision in the
repository.

Help please.

Thanks,

Jay

On Sun, Jan 25, 2009 at 3:40 AM, Matthew Pounsett <matt_at_conundrum.com>wrote:

>
> On 24-Jan-2009, at 14:32 , Jay Jesus Amorin wrote:
>
> Hi,
>>
>> Is there a way to retrieve the full url of a file given the revision
>> number in svn.
>> The result would be something like this
>> file:///path/to/the/file/in/the/repository or
>> https://path/to/the/file/in/the/repository.
>>
>
> Is this what you mean?
>
> % pwd
> ~/devel/svn-test/trunk
>
> % svn info Makefile
> Path: Makefile
> Name: Makefile
> URL: https://svn.host.domain/svn-test/trunk/Makefile
> Repository Root: https://svn.host.domain/svn-test
> Repository UUID: 37fdcd9f-a7e5-0310-80cd-f4a4424f7216
> Revision: 83
> Node Kind: file
> Schedule: normal
> Last Changed Author: mattp
> Last Changed Rev: 58
> Last Changed Date: 2007-09-17 12:51:06 -0400 (Mon, 17 Sep 2007)
> Text Last Updated: 2008-06-23 15:01:18 -0400 (Mon, 23 Jun 2008)
> Checksum: 6fa5e9f25804d486abdf53e7a351de38
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1048438

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-25 05:31:17 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.