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

Re: Branching specified revision

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 11 Jun 2008 08:22:56 -0400

On Wed, Jun 11, 2008 at 8:11 AM, Johan Stridkvist
<johan.stridkvist_at_gmail.com> wrote:
> Hello!
>
> My repo is currently at revision 1100. I wanted to branch at r1000, and
> branched by typing
>
> svn -r1000 my_trunk_url my_branch_url
>
> After that I checked out my branch
>
> svn checkout -r1000 my_branch_url wrk_dir_branch
>
>
> At last I made an update in the working dir of my branch. I didnīt expect to
> get any updates since nothing had been checked in into the branch, but there
> were updates! Why? How do I achieve what I want?

Did it say that specific files were updated, or just that you were now
are rev 1101?

When you checked out the branch, you told SVN that you wanted the
branch URL as it looked in revision 1000. You shouldn't have done this
- your branch URL is a copy of the trunk at whatever point in time you
told it to make the branch (if you said to copy trunk at rev 1000 to
the branch, then the branch is the contents of trunk at revision
1000).

I suspect you'll need to re-create your branch using a peg revision,
then check it out again.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-11 14:23:18 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.