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

Re: Unable to find log of deleted files in subversion

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-29 16:28:28 CET

On 12/29/06, Ben Collins-Sussman <sussman@red-bean.com> wrote:
>
> You guys are the Gnome project, right? Pretty high profile migration
> going on. :-)
>
> If Tim wants to find out "hey, in what revision was
> /trunk/bse/bseiirfilter.c deleted?", the normal way to do that is not
> to run 'svn log -v' on the file itself, but on the *parent* directory.
> Think of addition and deletion as operations on the parent directory.
>
> Something like: 'svn log -v bse -rHEAD:3956 > foo', then grep foo for
> "D bseiirfilter.c".
>
>
>
Paul Burba commited a change in trunk which perhaps could eventually be used
to provide something better here. The svn status API contains fields in the
struct for when an item was last changed, we use this in Subclipse in our
Synchronize view. Paul fixed the API so that when status -u output contains
a deleted file, then the revision where the file was deleted is included in
the status output.

The svn status command line output does not show this information. In my
opinion it should. The output it shows now seems of little value. With the
data Paul has added to the struct, the command line output could show the
last changed revision and author when svn status -u is run. Currently, it
shows the revision of the item in the working copy which does not seem very
valuable.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Dec 29 16:28:34 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.