equal
deleted
inserted
replaced
1232 |
1232 |
1233 # make sure tests are repeatable |
1233 # make sure tests are repeatable |
1234 random.seed(int(opts[b'seed'])) |
1234 random.seed(int(opts[b'seed'])) |
1235 |
1235 |
1236 if not remote_revs: |
1236 if not remote_revs: |
1237 |
1237 path = urlutil.get_unique_pull_path_obj( |
1238 remoteurl, branches = urlutil.get_unique_pull_path( |
1238 b'debugdiscovery', ui, remoteurl |
1239 b'debugdiscovery', repo, ui, remoteurl |
|
1240 ) |
1239 ) |
1241 remote = hg.peer(repo, opts, remoteurl) |
1240 branches = (path.branch, []) |
1242 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(remoteurl)) |
1241 remote = hg.peer(repo, opts, path) |
|
1242 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(path.loc)) |
1243 else: |
1243 else: |
1244 branches = (None, []) |
1244 branches = (None, []) |
1245 remote_filtered_revs = logcmdutil.revrange( |
1245 remote_filtered_revs = logcmdutil.revrange( |
1246 unfi, [b"not (::(%s))" % remote_revs] |
1246 unfi, [b"not (::(%s))" % remote_revs] |
1247 ) |
1247 ) |