equal
deleted
inserted
replaced
270 |
270 |
271 # Before commit, largefile standins have not had their |
271 # Before commit, largefile standins have not had their |
272 # contents updated to reflect the hash of their largefile. |
272 # contents updated to reflect the hash of their largefile. |
273 # Do that here. |
273 # Do that here. |
274 def commit(self, text="", user=None, date=None, match=None, |
274 def commit(self, text="", user=None, date=None, match=None, |
275 force=False, editor=False, extra={}): |
275 force=False, editor=False, extra=None): |
|
276 if extra is None: |
|
277 extra = {} |
276 orig = super(lfilesrepo, self).commit |
278 orig = super(lfilesrepo, self).commit |
277 |
279 |
278 with self.wlock(): |
280 with self.wlock(): |
279 lfcommithook = self._lfcommithooks[-1] |
281 lfcommithook = self._lfcommithooks[-1] |
280 match = lfcommithook(self, match) |
282 match = lfcommithook(self, match) |