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

Need latest rev num for deleted file

From: Kynn Jones <kynnjo_at_gmail.com>
Date: Wed, 4 Mar 2009 11:42:05 -0500

I want to recover the last committed version of a file (call it foo/bar.c)
that was formerly under revision control, but which I deleted some weeks ago
with "svn del". I know that I can use svn copy to recover the latest
committed revision of this file, but for this i need the corresponding
revision number. How can I find this revision?
TIA!

Kynn

P.S. FWIW, if I try

% svn log foo

I get as output something like

------------------------------------------------------------------------
r1155 | jones | 2008-11-19 10:50:02 -0500 (Wed, 19 Nov 2008) | 1 line

------------------------------------------------------------------------

...which is of no use to me; for one thing, the date shown above is much
earlier than the date when I deleted foo/bar.c... The output is equally
useless if I add the -v flag to the command.

And if I try

% svn log -v foo/bar.c

i get an error message telling me that foo/bar.c is no longer under revision
control...

etc., etc.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1267558

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 17:43:15 CET

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.