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

Re: after checked out an old revision...

From: Lorenz <lorenznl_at_yahoo.com>
Date: Fri, 14 Nov 2008 07:57:01 +0000

Steven Woody wrote:
>[...]
>I am not clear with method, can you show me a detail instruction on
>what command should I run in what step? Thanks a lot.

ok, let say your wc is checked out from <repo url>/<path>@95,
and HEAD = 100

> If you don't want the removed changes to show up in the log, you
> alternatively can delete the folder in the repository (-> 101) and
> reinstate it as a copy off of your working copy. That creates 102 as a
> copy of 95 including your local changes.

1) svn delete <repo url>/<path> -m "delete source folder"
        -> 101

2) svn copy . <repo url>/<path> -m "reinstate source from wc"
        -> 102

> If you want the copy to show up without modifications, you can first
> do the copy in the repo (-> 102), switch you working copy to that
> revision and then commit your changes (-> 103).

1) svn delete <repo url>/<path>
        -> 101

2) svn copy <repo url>/<path>@95 <repo url>/<path>
        -> 102

3) svn switch <repo url>/<path> .

4) svn commit .
        -> 103

-- 
Lorenz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-14 08:57:40 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.