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

Re: copy-planz.txt

From: <cmpilato_at_collab.net>
Date: 2001-11-16 16:18:12 CET

Greg Hudson <ghudson@mit.edu> writes:

> With files, we replace. Consistency seems like a win. Automatically
> replacing a directory sounds dangerous, but, well, we are a version
> control system; it's not like we ever lose data. (Although data in a
> working copy could be lost, I suppose.)

My linux box's copy command does this:

- copying a file where a file exists
 
  (replace file)

- copying a dir where a dir exists

  (a merge of sorts happens, the result being a directory that has all
  the non-conflicting contents of both the original SRC and DST dirs.
  conflicting contents are handled by the individual rules that applies)

- copy a file where a dir exists

  ("cannot overwrite directory with non-directory" error)

- copy a dir where a file exists

  ("cannot create directory `1/boo': File exists" error)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:48 2006

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.