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

svnlook in pre-commit hook, delete operations copying directories

From: Roman Fietze <roman.fietze_at_telemotive.de>
Date: Tue, 10 Jun 2008 08:58:54 +0200


When I try to do a copy of the working directory to a new directory in
the tags/ subdirectory, e.g.

svn copy . http://svn.mydomain/svn/testproject/tags/V01.02.03

and use svnperms.py inside the pre-commit hook, I cannot perform the
copy. svnperms.conf was and is set up correctly, it never changed.


maintainers = fietze
devall = fietze

trunk/.* = @devall(add,remove,update)
tags/[^/]+/.* = @maintainers(add)
branches/[^/]+/.* = @devall(add,remove,update)

I get an error for every file added, because svnlook seems to report a
'D' and an 'A' operation for every copied file, no matter if using on
the transaction or later on the revision (when I remove the pre-commit
hook for testing this copy) which will cause an denied commit.


Old days:

A tags/V00.00.02/

And today:

A tags/V00.00.03/
D tags/V00.00.03/Makefile
A tags/V00.00.03/Makefile
D tags/V00.00.03/bar.c
A tags/V00.00.03/bar.c
D tags/V00.00.03/foo.c
A tags/V00.00.03/foo.c

This must have changed, because we have those pre-commit hooks
forever, and they had been working for a long time. When I issue an a
"svnlook changed" on very old transactions the 'D' operation is not
there. I do exacactly know when this changed, currently I'm running
subversion-1.5.0-112.1 from the openSUSE 10.3 repositories.


Roman Fietze  Telemotive AG  Büro Mühlhausen
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-10 08:59:19 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.