Show More
@@ -263,15 +263,12 b' def reposetup(ui, repo):' | |||||
263 | force=False, editor=False, extra={}): |
|
263 | force=False, editor=False, extra={}): | |
264 | orig = super(lfilesrepo, self).commit |
|
264 | orig = super(lfilesrepo, self).commit | |
265 |
|
265 | |||
266 |
w |
|
266 | with self.wlock(): | |
267 | try: |
|
|||
268 | lfcommithook = self._lfcommithooks[-1] |
|
267 | lfcommithook = self._lfcommithooks[-1] | |
269 | match = lfcommithook(self, match) |
|
268 | match = lfcommithook(self, match) | |
270 | result = orig(text=text, user=user, date=date, match=match, |
|
269 | result = orig(text=text, user=user, date=date, match=match, | |
271 | force=force, editor=editor, extra=extra) |
|
270 | force=force, editor=editor, extra=extra) | |
272 | return result |
|
271 | return result | |
273 | finally: |
|
|||
274 | wlock.release() |
|
|||
275 |
|
272 | |||
276 | def push(self, remote, force=False, revs=None, newbranch=False): |
|
273 | def push(self, remote, force=False, revs=None, newbranch=False): | |
277 | if remote.local(): |
|
274 | if remote.local(): |
General Comments 0
You need to be logged in to leave comments.
Login now