You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Harris <da...@cpninternational.com> on 2006/07/05 04:52:10 UTC

Subversion equivalent of CVS' Attic?

Hey folks,

About 6-8 months ago (maybe a bit more?) I migrated our team of about a
dozen developers from CVS to Subversion.

After some teething pains, we have pretty much everything under control,
I believe.

One feature we miss, however, is CVS' Attic/ directory. On a fairly
regular basis, somebody needs to go revision-hunting looking for the
right revision to restore to trunk. It's a trial-and-error process. We
currently have about 25000 changesets, and it can be a pain.

Am I missing something which provides this sort of functionality?
Ideally I could do something like 'svn log --show-deleted
https://foo/bar/baz' and/ have a list of files which were moved/deleted
from /bar/baz/

If not, before I file a bug in the tracker, would anybody else find such
functionality useful? I'm thinking particularly for frontends - for
instance, a toggle-box in ViewCVS which would display what my developers
would call "the hidden entries" ;)

Thanks

-- 
    David Harris
    CPNInternational Inc.
    E-mail: david.harris@cpninternational.com
    Office: +1 647 439 5341 ext. 230
    Mobile: +1 416 558 0408
    Fax:    +1 647 439 5373


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion equivalent of CVS' Attic?

Posted by David Harris <da...@cpninternational.com>.
(Cc:s no longer required, I've subscribed to the list :)

On Thu, 2006-06-07 at 00:00 -0400, Nico Kadel-Garcia wrote: 
> I find the "viewvc" webtool very handy for browsing back in a directory to 
> find when structural changes occurred. It doesn't do precisely what you 
> asked, but I find it handy.

We use ViewCVS actually; an older version though. I'll check the latest
release, thanks for bringing the name change to my attention.

> "svn diff" might be reasonably parseable to find the lists you want, but 
> might wind up doing something like a newtonian appriximation to find exactly 
> when a specific file disappeared 

Yeah I did some tests, in particular with 'svn log -v'. It works, but
it's (godawful) slow.

I think that as a site-specific hack I'm going to do hijack a property
and have it maintained server-side; at this point a list of
file/changeset tuples. Each directory will have this property, with the
contents being every file/directory which has been deleted from the
directory, and the revision in which that happened. I'll modify ViewCVS
(sorry, ViewVC ;) to have a toggle which will show those.

Again though, I'll ask the question - anybody else have any interest in
this sort of thing being included upstream? With a BDB backend it'd be
pretty easy I think but I don't believe FSFS currently has anything in
place to keep this sort of metadata, aside from revprops.

-- 
    David Harris
    CPNInternational Inc.
    E-mail: david.harris@cpninternational.com
    Office: +1 647 439 5341 ext. 230
    Mobile: +1 416 558 0408
    Fax:    +1 647 439 5373


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion equivalent of CVS' Attic?

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
----- Original Message ----- 
From: "David Harris" <da...@cpninternational.com>
To: <us...@subversion.tigris.org>
Sent: Wednesday, July 05, 2006 12:56 AM
Subject: Re: Subversion equivalent of CVS' Attic?


> On Wed, 2006-05-07 at 00:52 -0400, David Harris wrote:
>> Am I missing something which provides this sort of functionality?
>> Ideally I could do something like 'svn log --show-deleted
>> https://foo/bar/baz' and/ have a list of files which were moved/deleted
>> from /bar/baz/
>
> As an addendum; ideally the revision in which the file was moved/deleted
> would be nice, as well as whether it was moved or deleted.
>
> P.S.: Please also Cc: me on replies. Thanks again.

I find the "viewvc" webtool very handy for browsing back in a directory to 
find when structural changes occurred. It doesn't do precisely what you 
asked, but I find it handy.

"svn diff" might be reasonably parseable to find the lists you want, but 
might wind up doing something like a newtonian appriximation to find exactly 
when a specific file disappeared 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion equivalent of CVS' Attic?

Posted by David Harris <da...@cpninternational.com>.
On Wed, 2006-05-07 at 00:52 -0400, David Harris wrote:
> Am I missing something which provides this sort of functionality?
> Ideally I could do something like 'svn log --show-deleted
> https://foo/bar/baz' and/ have a list of files which were moved/deleted
> from /bar/baz/

As an addendum; ideally the revision in which the file was moved/deleted
would be nice, as well as whether it was moved or deleted.

P.S.: Please also Cc: me on replies. Thanks again.

-- 
    David Harris
    CPNInternational Inc.
    E-mail: david.harris@cpninternational.com
    Office: +1 647 439 5341 ext. 230
    Mobile: +1 416 558 0408
    Fax:    +1 647 439 5373


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org