Skip to content
Snippets Groups Projects
Commit 43816070284e authored by Matt Mackall's avatar Matt Mackall
Browse files

shelve: add a bundlerepo method

parent 8fe74328f700
No related merge requests found
......@@ -25,7 +25,7 @@
from mercurial.node import nullid, nullrev, bin, hex
from mercurial import changegroup, cmdutil, scmutil, phases, commands
from mercurial import error, hg, mdiff, merge, patch, repair, util
from mercurial import templatefilters, exchange
from mercurial import templatefilters, exchange, bundlerepo
from mercurial import lock as lockmod
from hgext import rebase
import errno
......@@ -78,6 +78,9 @@
finally:
fp.close()
def bundlerepo(self):
return bundlerepo.bundlerepository(self.repo.baseui, self.repo.root,
self.vfs.join(self.fname))
def writebundle(self, cg):
changegroup.writebundle(cg, self.fname, 'HG10UN', self.vfs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment