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

Re: svn copy failed, commits go to trunk?

From: Talden <talden_at_gmail.com>
Date: Fri, 18 Jan 2008 08:45:36 +1300

On Jan 18, 2008 7:40 AM, William Finn <William.Finn_at_riverbed.com> wrote:
> I'm fairly new to svn, so maybe I'm doing something stupid, but it seems to
> me right now that svn has the problem. I did something similar to this:

You're missing a whole lot of important information needed to give assistance.

When you 'checkout' you specify which part of the repository you're
checking out. in your case it's unclear and so the best assumption we
can make is that you've checked out the entire repo.

EG if your repo structure is


It would be usual to check out "projectX/trunk" or one of the branches
or one of the tags.

> svn copy trunk branch

Usually you'd create a branch with URL to URL copies ensuring that the
branching operation is atomic. In addition you can't normally do it
locally because you would normally have the parent of the branches and
trunk folder checked out (though if you're creating a mixed revision
tag or branch then you might).

> svn commit -m"Yay branching!" branch

You probably should revisit the Subversion book for a guide on typical
layouts and typical branching practices.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-17 20:46:02 CET

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.