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

Re: restore deleted file

From: Gaurav Kothiyal <kothiyal_at_gmail.com>
Date: 2007-07-24 19:13:03 CEST

Find the last revision in which it existed

svn log -v . | less

then svn copy -r <last revision> filename .

then svn Status

the file should be added back

Then svn commit filename

On 7/24/07, Jan Torben Heuer <jtnews@mail2003.dnsalias.org> wrote:
> Hi,
>
> after
> $ svn update
> D src
> D pom.xml
> Updated to revision 224
>
> these two files were deleted, how can I restore them from repository?
>
> Or could it be, that they have never been in the repository?
>
> A comand-line or eclipse decription is fine!
>
> Thanks,
>
> Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Gaurav Kothiyal
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 24 19:12:02 2007

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.