equal
deleted
inserted
replaced
41 if repo is None: |
41 if repo is None: |
42 path = ui.expandpath('default') |
42 path = ui.expandpath('default') |
43 path, _branches = hg.parseurl(path) |
43 path, _branches = hg.parseurl(path) |
44 remote = hg.peer(repo or ui, {}, path) |
44 remote = hg.peer(repo or ui, {}, path) |
45 elif path == 'default-push' or path == 'default': |
45 elif path == 'default-push' or path == 'default': |
46 path = '' |
|
47 remote = repo |
46 remote = repo |
48 else: |
47 else: |
49 path, _branches = hg.parseurl(path) |
48 path, _branches = hg.parseurl(path) |
50 remote = hg.peer(repo or ui, {}, path) |
49 remote = hg.peer(repo or ui, {}, path) |
51 |
50 |