equal
deleted
inserted
replaced
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 |