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

Re: SVN MOVE don't perform a delete in some case

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 16 Apr 2010 09:51:37 +0200

On Fri, Apr 16, 2010 at 09:40:34AM +0200, Yann Crueghe wrote:
> Hi !

Hi!

> *Test 1 : Try to rename a directory BRANCHE to BRANCHE_1*
>
> *Command :*
> svn move --message "Rename BRANCHE to BRANCHE_1" http://tetris.agora.msanet:16060/svn/METIER/y78amodifier/branches/BRANCHE http://tetris.agora.msanet:16060/svn/METIER/y78amodifier/branches/BRANCHE_1
>
> *Hook params :*
> D y78amodifier/branches/BRANCHE/
>
> *Command result : * A repository hook failed
> svn: Commit blocked by pre-commit hook (exit code 1) with output:
> It's not allowed to rename or delete a branch.
>
>
> *Test 2 : Try to rename a directory BRANCHE to BRANCH*
>
> *Command :*
> svn move --message "Rename BRANCHE to BR" http://tetris.agora.msanet:16060/svn/METIER/y78amodifier/branches/BRANCHE
> http://tetris.agora.msanet:16060/svn/METIER/y78amodifier/branches/BR
>
> *Hook params :*
> A y78amodifier/branches/BRANCH/
>
> *Command result : * Commit done without error.
>
> Do you think it's a bug ?

I don't know. On the surface this looks like a bug, but we need
to find out what the real problem is. For that, you'll need to
help others reproduce this problem on their own machines.

Can you try to show a list of commands that starts by creating
an empty repository, imports some files or folders, installs
the hook script, and then runs some svn commands to trigger the problem?

Thanks,
Stefan
Received on 2010-04-16 09:52:17 CEST

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.