Am Mittwoch, den 08.12.2010, 15:06 +0100 schrieb Ludwig, Michael:
> > > I don't understand this behaviour. I expect an error message.
> 
> > That's actually perfectly analogous to the behaviour of the unix
> > cp command, when copying directories:
> 
> > So svn's cp behaviour is simply based on the standard behaviour
> > of cp.
> 
Buf if you call the svn copy a third time it will throw an error and
does not change anything in the repo.

Futher calls of "cp -r src dest" do not result in a error message and
anything in src will be copied to dest/src all the time.

> And there is no special treatment for branches/ or tags/, they're
> just like any other directory, even though they probably have
> special meaning to most users.
> 
> Michael

Yes, the trunk/tags/branches is logical concept.

To avoid changes of existing tags I'll use "svn info" to check if my
destination tag directory exists and abort if it does, otherwise i do
the the svn copy.

Cheers
Michael










Reply via email to