mercurial/dispatch.py
changeset 5664 da72b4d24797
parent 5633 e04a65111a80
child 5828 863e237b58fb
--- a/mercurial/dispatch.py	Sat Nov 03 11:11:13 2007 +0100
+++ b/mercurial/dispatch.py	Tue Dec 18 14:11:13 2007 -0600
@@ -331,6 +331,7 @@
         try:
             repo = hg.repository(ui, path=path)
             ui = repo.ui
+            ui.setconfig("bundle", "mainreporoot", repo.root)
             if not repo.local():
                 raise util.Abort(_("repository '%s' is not local") % path)
         except hg.RepoError: