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

Reply via email to