Submitter | Pierre-Yves David |
---|---|
Date | March 15, 2017, 7:01 a.m. |
Message ID | <92e6b5422e92f0ad7707.1489561276@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/19350/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py +++ b/hgext/largefiles/reposetup.py @@ -272,7 +272,9 @@ def reposetup(ui, repo): # contents updated to reflect the hash of their largefile. # Do that here. def commit(self, text="", user=None, date=None, match=None, - force=False, editor=False, extra={}): + force=False, editor=False, extra=None): + if extra is None: + extra = {} orig = super(lfilesrepo, self).commit with self.wlock():