> From: Olivier Antoine [mailto:oliviera201...@gmail.com] 
> Sent: Tuesday, June 11, 2013 13:45
> To: users@subversion.apache.org
> Subject: Re: History in subversion
> 
> Thanks for your help, I will try again this.
> But this is very poor compared to ClearCase. Nobody tried to script that ?
> 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.
> 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).

Unlike ClearCase, Subversion does not have elements each with their own 
history. Rather, the whole repository is versioned with each commit.  So, there 
is no benefit to this syntax:

<directory>@revnumber/<file>

Instead, use:

<directory>/<file>@revnumber

The Revision identifies a snapshot of the whole repository, not just some 
snapshot of a directory.

-Steve

> 
> 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 ?
> 
> 
> 2013/6/11 Olivier Antoine <oliviera201...@gmail.com>
> Hi,
> I'm trying to work with SVN, but coming from ClearCase, I'm lost.
> It seems that it is not possible to consult the history of the repository 
> like in CC,
> I can get the history of a file element with svn+annotate, I can use svn+diff 
> on files,
> But for directories : no annotate, no diff - nothing ? 
> Do I have to check all the repository revision set in order to follow the 
> changes on a directory element ?
> Regards
> Olivier

Reply via email to