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

cp and mv behaviour with directories (Re: phantom directories in less than 8 revisions, db errors)

From: Peter Gervai <grin_at_grin.hu>
Date: 2003-01-13 22:14:52 CET

Hello,

I know it's old but....

On Thu, Dec 05, 2002 at 11:48:10AM -0600, Ben Collins-Sussman wrote:

> Hold on, something's wrong here. 'svn cp' was designed to work
> exactly like Unix cp. 'svn cp dir1 dir2' should create 'dir2/dir1'.
> Did it not do that?

Now I did:

svn mv file:///home/grin/subversion/intermezzo/trunk/intersync-0.9.5.orig \
    file:///home/grin/subversion/intermezzo/vendor/

(both intersync-0.9.5.orig and vendor is a directory)

the result: the _contents_ of intersync-0.9.5.orig ended up in vendor, and
not the directory itself. mv works differently. probably same problem with
cp.

svn, version 0.16.0 (r3987)
   compiled Dec 13 2002, 07:16:10

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 13 22:15:43 2003

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