The svnadmin command currently allows you to list and remove locks. It
would be useful if you could also create locks. Suggested syntax would
be something like:
svnadmin lock REPOS PATH USERNAME COMMENT-FILE TOKEN
Where COMMENT-FILE is handled similar to svnadmin setrevprop TOKEN would
be optional. If not provided a lock token would be generated.
The reason I would like this subcommand is that it would make it
possible to build a system for synchronizing locks between a master and
slave. A post-lock hook on master could send this info to slaves and
they could use it to create the lock on the slaves (with the same lock
token). It seems like it would be possible for someone to use this
command to store lock information along with a dumpfile and recreate
them after restoring repository from a dump. That is not my goal, but I
think it is another possible usage.
Buddied by: cmpilato
I would like to work on this enhancement. If someone else is already
working on this please let me know.
Thanks and Regards
Received on 2011-07-08 11:07:00 CEST