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

Issue 3942 - Provide new subcommand on svnadmin to create a lock

From: Noorul Islam K M <noorul_at_collab.net>
Date: Fri, 08 Jul 2011 14:34:37 +0530

From: http://subversion.tigris.org/issues/show_bug.cgi?id=3942
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:


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

This is an archived mail posted to the Subversion Dev mailing list.