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

Re: undo a switch

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 28 Sep 2010 16:09:54 -0400

On Tue, Sep 28, 2010 at 2:21 PM, Jeremy Mordkoff <jlm_at_zeevee.com> wrote:
> Please tell me there's a way to undo a 'svn switch'
>
> The view was hopelessly out of date so I did
>
> svn copy -r xxxx svn://svn/zcode/trunk svn://svn/zcode/branches/jlm_temp1
> svn switch svn://svn/zcode/branches/jlm_temp1

Do you need to undo the "switch" or the copy that you did? You copied
the last commited version on trunk to this branch and then "switched"
to this branch. You can easily "switch" to a previous branch, but
there isn't an easy way to know what version your code was at before
the switch since you did the switch. Otherwise, you could have done an
"svn info" and see where the developer was.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-09-28 22:10:32 CEST

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.