Mercurial > hg
comparison mercurial/shelve.py @ 43720:132470ee53fe stable
shelve: add the missing `create` parameter to the bundlerepo constructor
Caught by pytype.
Differential Revision: https://phab.mercurial-scm.org/D7458
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 19 Nov 2019 14:59:23 -0500 |
parents | cb23d9e3e21f |
children | 414cb20e241e |
comparison
equal
deleted
inserted
replaced
43719:cb23d9e3e21f | 43720:132470ee53fe |
---|---|
144 fp.close() | 144 fp.close() |
145 | 145 |
146 def bundlerepo(self): | 146 def bundlerepo(self): |
147 path = self.vfs.join(self.fname) | 147 path = self.vfs.join(self.fname) |
148 return bundlerepo.instance( | 148 return bundlerepo.instance( |
149 self.repo.baseui, b'bundle://%s+%s' % (self.repo.root, path) | 149 self.repo.baseui, b'bundle://%s+%s' % (self.repo.root, path), False |
150 ) | 150 ) |
151 | 151 |
152 def writebundle(self, bases, node): | 152 def writebundle(self, bases, node): |
153 cgversion = changegroup.safeversion(self.repo) | 153 cgversion = changegroup.safeversion(self.repo) |
154 if cgversion == b'01': | 154 if cgversion == b'01': |