subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <>
Subject Re: History in subversion
Date Tue, 11 Jun 2013 20:59:32 GMT
On Tue, Jun 11, 2013 at 4:45 PM, Olivier Antoine
<> wrote:
> Thanks for your help, I will try again this.
> But this is very poor compared to ClearCase. Nobody tried to script that ?

It is open-source, so nothing is stopping someone from implementing
this if they find it important.  I think most of us do not see a need
for it so it has not risen to the level of being someone's "itch to

I am sure someone has scripted this but whether they shared it and you
can find it are questions I cannot answer.

> It is also possible to read the SVN repository without checkout, there is a
> way to address an element, something like this :
> <element url>@revnumber
> But it is not possible to use a syntax like this :
> <directory>@revnumber/<file>
> I tried, it doesn't work.

Have you tried this?

Note that would just be for using something like curl or wget.  A svn
client has always been capable of doing this.

> Actually, I just try to analyze all elements, files and directories,
> contained in a SVN repository. I'd like to be able to parse all the elements
> - if possible without any checkout (that would be great).
> Other challenge is : I need to restore a file element that has been removed
> in a very old revision, and of course I don't know which one.
> Any search command or script with Subversion ?

Restoring something that was removed is easy.  However, finding the
element and when it was deleted is unfortunately not easy.  As with
the previous example, you would want to run svn log with the --verbose
option and parse the output to find the revision when the item was
removed.  Looking at the history of a parent folder for the item would
show when it was deleted, but you would have to search the output or
script it.


Mark Phippard

View raw message