Re: calling svn copy twice...

2010-12-08 Thread Johan Corveleyn
On Wed, Dec 8, 2010 at 12:40 PM, Michael Kessler wrote: > Hi, > > during tests with hudson my release build script was accidentally called > more than once. The script calls svn copy too. > > 1. svn copy file:///var/repo/prj/trunk file:///var/repo/prj/tags/V1 -m > "created V1" > > In the Repo: > .

RE: calling svn copy twice...

2010-12-08 Thread 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. And there is no special treatment for branches/

RE: calling svn copy twice...

2010-12-08 Thread Michael Kessler
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

Re: calling svn copy twice...

2010-12-08 Thread Daniel Shahaf
Michael Kessler wrote on Wed, Dec 08, 2010 at 16:24:56 +0100: > 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

Re: calling svn copy twice...

2010-12-08 Thread David Weintraub
On Wed, Dec 8, 2010 at 6:26 AM, Michael Kessler wrote: > 1. svn copy file:///var/repo/prj/trunk file:///var/repo/prj/tags/V1 -m > "created V1" > > In the Repo: > ../prj/tags/V1/test.txt > OK > > 2. svn copy file:///var/repo/prj/trunk file:///var/repo/prj/tags/V1 -m > "created V1" > > In the Repo:

Re: calling svn copy twice...

2010-12-13 Thread Daniel Shahaf
Daniel Shahaf wrote on Wed, Dec 08, 2010 at 17:35:55 +0200: > And is it possible to say: > "Copy $URL1 to $URL2 *unless* $URL2 already exists" > ? > (in an atomic manner) > Yes, and 'svnmucc cp $URL1 $URL2' does that. (thanks to philipm for pointing that out)