I don't really understand what you're trying to do. A revision number
in itself has no meaning - it's a number. I have like ten repositories
here and they all have a revision "42". The number has only a meaning
if I combine it with a repository url - only if i specify "revision 42
of the repository at 'http://svn.agavi.org'" the number has a meaning.
And then it still does not describe a file but a changeset which may
contain multiple files. Which files are affected (and their full path
in the repository) can be retrieved by "svn log -r42 -v http://svn.agavi.org
". As you can see, there were three files affected by the changeset
(you can run the command, the repo is public readonly).
hope that helps
On Jan 25, 2009, at 5:30 AM, Jay Jesus Amorin wrote:
> 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.
> 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:
> 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
> % 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
T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28
Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-25 10:33:25 CET
- application/pkcs7-signature attachment: smime.p7s