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

svn copy syntax

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-06-10 19:02:42 CEST

I have a project structure like this after converting my repository from
CVS:

trunk
  |--ProjectA
  |--ProjectB
  |--ProjectC

I have now added a folder for maintenance branches, as well as a release
subfolder:

trunk
  |--ProjectA
  |--ProjectB
  |--ProjectC
maintenance
  |--r1.0

I want to copy trunk as it existed at r:1047 to create the maintenance
branch and I want it to look like this:

trunk
  |--ProjectA
  |--ProjectB
  |--ProjectC
maintenance
  |--r1.0
     |--ProjectA
     |--ProjectB
     |--ProjectC

Can this be done with a single copy command? When I follow the syntax in
the book:

svn cp -r 1047 url://trunk url://maintenance/r1.0 -m "Comment"

It works except it winds up looking like this:

trunk
  |--ProjectA
  |--ProjectB
  |--ProjectC
maintenance
  |--r1.0
     |--trunk
        |--ProjectA
        |--ProjectB
        |--ProjectC

I can live with that, but it was not what I expected

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 10 19:04:41 2004

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.