You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marc Haisenko <ha...@webport.de> on 2003/11/28 13:24:47 UTC

"Undelete"

Hi folks,
	simple question: how do I "undelete" a file in SVN ?
Say I've checked in file foo.bar in r100 and rm'ed it in r110. Now I'm at 120 
and would to have just that file back. How would I do that ? svn up -r 109 
foo.bar gives me an error:

svn: warning: svn_wc_is_wc_root: 'foo.bar' is not a versioned resource

Thnx in advance,
	Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de

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

Re: "Undelete"

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2003-11-28 at 07:30, Marc Haisenko wrote:
> 
> Ah, thanks a lot... how about adding that to the FAQ on subversion.tigris.org 
> ? :-) I guess this is something that will come up a lot...

It's in the book too.  And so is the alternate method, "svn merge
-r110:109".




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

Re: "Undelete"

Posted by Marc Haisenko <ha...@webport.de>.
On Friday 28 November 2003 15:00, Sander Striker wrote:
> On Fri, 2003-11-28 at 14:24, Marc Haisenko wrote:
> > Hi folks,
> > 	simple question: how do I "undelete" a file in SVN ?
> > Say I've checked in file foo.bar in r100 and rm'ed it in r110. Now I'm at
> > 120 and would to have just that file back. How would I do that ? svn up
> > -r 109 foo.bar gives me an error:
> >
> > svn: warning: svn_wc_is_wc_root: 'foo.bar' is not a versioned resource
>
> $ svn cp -r 109 http://.../foo.bar foo.bar
>
> Sander

Ah, thanks a lot... how about adding that to the FAQ on subversion.tigris.org 
? :-) I guess this is something that will come up a lot...

C'ya,
	Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de

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

Re: "Undelete"

Posted by Sander Striker <st...@apache.org>.
On Fri, 2003-11-28 at 14:24, Marc Haisenko wrote:
> Hi folks,
> 	simple question: how do I "undelete" a file in SVN ?
> Say I've checked in file foo.bar in r100 and rm'ed it in r110. Now I'm at 120 
> and would to have just that file back. How would I do that ? svn up -r 109 
> foo.bar gives me an error:
> 
> svn: warning: svn_wc_is_wc_root: 'foo.bar' is not a versioned resource

$ svn cp -r 109 http://.../foo.bar foo.bar


Sander

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