Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 22948:c136e26953aa
obsstore: fix defaultformat option passing
The obsstore format passing was not actually being passed to the obsstore. This
fixes it.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 15 Oct 2014 12:52:10 -0700 |
parents | 03602f76deee |
children | bb8278b289ee |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Oct 15 15:35:59 2014 -0400 +++ b/mercurial/localrepo.py Wed Oct 15 12:52:10 2014 -0700 @@ -405,7 +405,7 @@ # rely on obsstore class default when possible. kwargs = {} if defaultformat is not None: - defaultformat['defaultformat'] = defaultformat + kwargs['defaultformat'] = defaultformat store = obsolete.obsstore(self.sopener, **kwargs) if store and not obsolete._enabled: # message is rare enough to not be translated