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

Re: svn copy syntax

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-06-11 00:14:25 CEST

* Mark Phippard <MarkP@softlanding.com> [2004-06-10 11:02]:
> 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

That's what I would expect to see if /maintenance/r1.0 already existed
before you issued the "svn cp" command. Try doing an svn remove of
/maintenance/r1.0, and try the svn cp again. Or alternatively, try
doing the copy to a directory that definitely does not exist already:

svn cp -r 1047 url://trunk url://maintenance/foo-bar-baz

and see if you get the results you expect.

-- Mike

-- 
Michael W. Thelen
... spell 'creat' with an E.
                -- Ken Thompson

Received on Fri Jun 11 00:17:00 2004

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