On Fri, Apr 09, 2010 at 10:29:30PM +0100, Stefan Sperling wrote:
> On Fri, Apr 09, 2010 at 04:39:08PM -0400, Mark Mielke wrote:
> > Branch is similar. If I want to set to the point on trunk at which
> > branches/2.0 was branched, how do I do this?
> > In GIT, it's just "git checkout master", "git reset --hard branches/2.0".
> 
> Find the revision at which the branch was created using 
> "svn log" as above. Then copy the old version of the branch
> on top of the current version:
> 
> svn rm ^/branch
> svn copy ^/tr...@12345 ^/branch

Sorry, it seems the above example was wrong.
Correction:

Assuming you want to reset trunk to the state it had at r12345
(because this is the revision your hypothetical 2.0 branch was
created in), do:

 svn rm ^/trunk
 svn copy ^/tr...@12345 ^/trunk

Reply via email to