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

RE: History in subversion

From: Varnau, Steve (Seaquest R&D) <steve.varnau_at_hp.com>
Date: Tue, 11 Jun 2013 21:06:16 +0000

> From: Olivier Antoine [mailto:oliviera201304_at_gmail.com]
> Sent: Tuesday, June 11, 2013 13:45
> To: users_at_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:


Instead, use:


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


> 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 <oliviera201304_at_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
Received on 2013-06-11 23:08:25 CEST

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.