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

RE: svn copy onto itself is possible

From: Lübbe Onken <L.Onken_at_rac.de>
Date: 2003-10-01 15:44:03 CEST

Hi Michal,

> This behavior was chosen because it mimics the behavior of 'cp' on
> Unix systems.
To mimic something because:
 ( ) it has always been done that way
 ( ) unix does it that way
(Check appropriate), is not always the best decision.

--- Quote from Ben's mail that has just popped in:
cp path/A path/B --> if path/B doesn't exist, creates path/B
                      if path/B does exist, creates path/B/A

---
I think in 90% (my wild guess) of the cases people do not want this to
happen and a warning would be in order. It doesn't harm anybody and it
prevents the user from doing something that he normally doesn't want. 
> Personally, I don't like this behavior.  I am frequently bitten by it
> when using 'mv' and 'cp' on Unix systems
I know... :-)
Cheers
-Lübbe
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 1 15:50:20 2003

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.