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

RE: Updating WC of branch to before the branch was made

From: Tom Anderl <tom.anderl_at_impinj.com>
Date: Tue, 28 Apr 2009 20:51:40 +0000

Thanks Bob,

The end result I'm looking for is to get to what my project looked like
back in revision 2. I happen to be working on a branch, but the files
in that branch have history that goes back to before the branch was
created. This is demonstrated by the fact that svn log gives me history
that traverses the copy exactly as I would expect it to. In the example
from my original post (the branch should be coming off the * after
revision 3, sorry I don't know how to get the post to use a fixed width
font):

1---2---3-*-----5---7
           \
            \-4---6---8

svn log will tell me that the previous revisions of the project were: 8,
6, 4, 3, 2, 1. svn log tells me that my project existed in revision 2,
and I'd like if svn update would actually give me the project as it
existed in revision 2.

Take the following scenario: I'm working on my branch and I notice that
my project has some unexpected behaviour. I want to track down when
that behaviour started showing up. I ask svn for the log and I get the
comments for revisions 8, 6, 4, 3, 2, 1. Revision 2 has a comment that
makes me suspect that it's the revision where the problem started, so I
would like to roll back to that revision, run it, and see if the issue
exists at that point. It seems like it should be as simple as updating
my WC back to that revision and trying it. Unfortunately, my WC happens
to be on a branch, and I can't figure out how to update back to a
revision prior to the creation of the branch.

Tom

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1968452

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-28 22:52:48 CEST

This is an archived mail posted to the Subversion Users mailing list.