You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bryan Mayland <bm...@leoninedev.com> on 2003/07/16 14:07:49 UTC

svn log on deleted items

I've looked through the mail archives and this looked like it was 
convered in the 12-15-2002 thread of the same title started by Garrett 
Rooney.  I see the issue is tagged as "fixed" in Issuezila 
(http://subversion.tigris.org/issues/show_bug.cgi?id=891) so I'd like to 
see if I'm not using the proper svn syntax.

I'm trying to figure out when a file was deleted from the repository 
(mainly so I can checkout the last known version of the file for 
recovery).  I've tried all the steps mentioned by Garrett (log, log 
-r1:100, log -r100, etc) and always get the 404 error from the svn 
client.  I've also checked against the subversion repository and get the 
same error.
svn log http://svn.collab.net/repos/svn/trunk/ac-helpers/check-diff.sh 
-r1:4121
svn: RA layer request failed
svn: REPORT request failed on '/repos/svn/trunk/ac-helpers/check-diff.sh'
svn: REPORT of '/repos/svn/trunk/ac-helpers/check-diff.sh': 404 Not 
Found (http://svn.collab.net)

I can svn cat -r4120 and see the file, and not in r4121 so therefore I 
can conclude that r4121 included the delete commit, but is there another 
way to do this other that cating / lsing revisions until you find the file?


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

Re: svn log on deleted items

Posted by Ben Collins-Sussman <su...@collab.net>.
Bryan Mayland <bm...@leoninedev.com> writes:

> Aha very nice and definately works for my purposes.  Is there also a
> way to view the deleted file's log without checkout?

Apparently this is a newly discovered bug... 'svn log -v -rN URL'
should work, even if URL only exists back in revison N, and not head.

We'll get it fixed in a jif, I'm sure.

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

Re: svn log on deleted items

Posted by Bryan Mayland <bm...@leoninedev.com>.
Aha very nice and definately works for my purposes.  Is there also a way 
to view the deleted file's log without checkout?

Ben Collins-Sussman wrote:

>>I can svn cat -r4120 and see the file, and not in r4121 so therefore I
>>can conclude that r4121 included the delete commit, but is there
>>another way to do this other that cating / lsing revisions until you
>>find the file?
>>    
>>
>
>Try running 'svn log -v' on the *parent* of the file.  You'll see 'D
>file' in one of the revisions.
>  
>


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

Re: svn log on deleted items

Posted by Ben Collins-Sussman <su...@collab.net>.
Bryan Mayland <bm...@leoninedev.com> writes:

> I can svn cat -r4120 and see the file, and not in r4121 so therefore I
> can conclude that r4121 included the delete commit, but is there
> another way to do this other that cating / lsing revisions until you
> find the file?

Try running 'svn log -v' on the *parent* of the file.  You'll see 'D
file' in one of the revisions.

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