Hi !

When i refer to the svn-book 1.6, it's written that a svn move perform first a svn copy and then a svn delete.
But in some case, the command never perform a svn delete.
To test, i have written a pre-commit hook who deny deletion of a branch catching a "D ReposPath" action.

*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 ?

Thank you,
Have a great day.

Yann





Ce message est protégé par les règles relatives au secret des correspondances. 
Il est donc établi à destination exclusive de son destinataire. Celui-ci peut 
donc contenir des informations confidentielles. La divulgation de ces 
informations est à ce titre rigoureusement interdite. Si vous avez reçu ce 
message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail 
figure ci-dessus et de détruire le message ainsi que toute pièce jointe.

This message is protected by the secrecy of correspondence rules. Therefore, 
this message is intended solely for the attention of the addressee. This 
message may contain privileged or confidential information, as such the 
disclosure of these informations is strictly forbidden. If, by mistake, you 
have received this message, please return this message to the addressser whose 
e-mail address is written above and destroy this message and all files attached.

<<attachment: ext_crueghe.yann.vcf>>

Reply via email to