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

lock/unlock as an atomic operation

From: Frank Rast <rast_at_gefeg.com>
Date: 2006-08-24 12:10:18 CEST


I am having a problem with the lock/unlock feature.

Almost every action in subversion is atomic eg. update, commit. When I add
files they move to the repositry when I commit. When I change some
properties of files it is reflected in the repository after a commit. If
the commit fails, nothing in the repository changes. This is why I like

When it comes to lock/unlock this principle does not apply. I can not
schedule the files I want for locking and then commit this to the
repository. It happens that I am able to lock one file but not the other
wich I also need.

I would like to use lock/unlock more like changing a property of files.
This can be done in an atomic operation.

Will it someday be possible to do atomic lock/unlock?

Mit freundlichen Gruessen / Best regards

Frank Rast

Storkower Strasse 207
D-10369 Berlin
Tel.: +49 30 97 99 14 57
Fax.: +49 30 97 99 14 22

  • application/x-pkcs7-signature attachment: smime.p7s
Received on Thu Aug 24 12:06:46 2006

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.