Show More
@@ -340,9 +340,9 b' def _dispatch(ui, args):' | |||||
340 | try: |
|
340 | try: | |
341 | repo = hg.repository(ui, path=path) |
|
341 | repo = hg.repository(ui, path=path) | |
342 | ui = repo.ui |
|
342 | ui = repo.ui | |
343 | ui.setconfig("bundle", "mainreporoot", repo.root) |
|
|||
344 | if not repo.local(): |
|
343 | if not repo.local(): | |
345 | raise util.Abort(_("repository '%s' is not local") % path) |
|
344 | raise util.Abort(_("repository '%s' is not local") % path) | |
|
345 | ui.setconfig("bundle", "mainreporoot", repo.root) | |||
346 | except hg.RepoError: |
|
346 | except hg.RepoError: | |
347 | if cmd not in commands.optionalrepo.split(): |
|
347 | if cmd not in commands.optionalrepo.split(): | |
348 | if not path: |
|
348 | if not path: |
General Comments 0
You need to be logged in to leave comments.
Login now