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

Re: phantom directories in less than 8 revisions, db errors

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-12-05 18:48:10 CET

Peter Gervai <grin@tolna.net> writes:

> > What you probably wanted to do was :
> > svn mkdir http://host/svn/public/grin (if it doesn't exist yet)
> > svn cp http://host/svn/private/grin/something \
> > http://host/svn/public/grin/something
> >
> > The command you tried apparently overwrites in some way the /public
> > directory with the /private/grin/something directory.
>
> Actually you're right, and I realised this several times (and forgot it
> again). svn cp and mv works quite different from unix counterparts, which
> moves under a directory if it does exist and not overwrite it. I checked the
> svnbook but no big red flashy warning about this, so maybe it's just me
> who got too used to unix syntax?

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 5 18:50:45 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.