[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: Tyler Roscoe <tyler_at_cryptio.net>
Date: Tue, 28 Apr 2009 16:54:32 -0700

On Tue, Apr 28, 2009 at 08:51:40PM +0000, Tom Anderl wrote:
> 1---2---3-*-----5---7
> \
> \-4---6---8
>
> 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.

What you're asking for doesn't make sense. Your branch didn't exist at
revision 2, so what would you expect to see on that branch at revision
2?

If you want to investigate revision 2, go back to the trunk (either
check out a new working copy or svn switch your existing working copy to
the trunk).

tyler
Received on 2009-04-29 01:55:26 CEST

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