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

Re: Challenge: Quickly finding the rev an ood path was deleted

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-10-25 22:55:34 CEST

Paul Burba <paulb@softlanding.com> wrote on 10/25/2006 04:49:27 PM:

> For those of you not following this thread...
>
> http://svn.haxx.se/dev/archive-2006-10/0018.shtml
>
> ...We've come up against a difficult problem when getting the status on
> out of date paths which no longer exist at HEAD. Specifically we would
> like to populate the svn_wc_status2_t ood_last_cmt_rev member with the
> revision the path was deleted, currently this is just set to
> SVN_INVALID_REVNUM. This isn't important for the svn command line, but
> for other users of svn_client_status2() like Subclipse it is.

I will just add that while this particular scenario does not apply to the
command line currently:

1) If the svn status command is ever enhanced to show this information
(as it should be IMO) then it would apply.
2) Whatever routine is created could potentially be used in some other
commands like svn log and info to make them more usable when the item has
been deleted from the repository.

On #2 as an example, if you run svn st -u in your WC and discover a file
has been deleted. It is very hard to find out when/why it was deleted.
All you can do is use svn log on the parent folder and look through the
output. You cannot run svn log on the file itself unless you already know
when it was deleted. Even then, I am not sure you can ever see the log
info for the revision when it was deleted. I'd like see this enhanced so
that if you ask for a log from -r BASE:HEAD that you see the history of
the item from the revision in your WC to when it was deleted.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 25 22:56:48 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.