##// END OF EJS Templates
localrepo: add a way to get the current wlock if it's held...
Siddharth Agarwal -
r26489:2a3fc027 default
parent child Browse files
Show More
@@ -1309,6 +1309,10 b' class localrepository(object):'
1309 1309 return None
1310 1310 return l
1311 1311
1312 def currentwlock(self):
1313 """Returns the wlock if it's held, or None if it's not."""
1314 return self._currentlock(self._wlockref)
1315
1312 1316 def _filecommit(self, fctx, manifest1, manifest2, linkrev, tr, changelist):
1313 1317 """
1314 1318 commit an individual file as part of a larger transaction
General Comments 0
You need to be logged in to leave comments. Login now