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 ^/trunk_at_12345 ^/branch
Sorry, it seems the above example was wrong.
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 ^/trunk_at_12345 ^/trunk
Received on 2010-04-09 23:48:06 CEST