largefiles: don't use mutable default argument value
Caught by pylint.
--- a/hgext/largefiles/reposetup.py Tue Mar 14 23:48:25 2017 -0700
+++ b/hgext/largefiles/reposetup.py Tue Mar 14 23:49:10 2017 -0700
@@ -272,7 +272,9 @@
# 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():