mercurial/localrepo.py
changeset 26489 2a3fc0272e3f
parent 26488 df2dc5141721
child 26499 e72b62b154b0
equal deleted inserted replaced
26488:df2dc5141721 26489:2a3fc0272e3f
  1307         l = lockref()
  1307         l = lockref()
  1308         if l is None or not l.held:
  1308         if l is None or not l.held:
  1309             return None
  1309             return None
  1310         return l
  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     def _filecommit(self, fctx, manifest1, manifest2, linkrev, tr, changelist):
  1316     def _filecommit(self, fctx, manifest1, manifest2, linkrev, tr, changelist):
  1313         """
  1317         """
  1314         commit an individual file as part of a larger transaction
  1318         commit an individual file as part of a larger transaction
  1315         """
  1319         """
  1316 
  1320