mercurial/debugcommands.py
changeset 46959 9e021cffb356
parent 46908 4452cb788404
child 46960 69359c91dc43
equal deleted inserted replaced
46958:5a6a1cd21f09 46959:9e021cffb356
  1058     # make sure tests are repeatable
  1058     # make sure tests are repeatable
  1059     random.seed(int(opts[b'seed']))
  1059     random.seed(int(opts[b'seed']))
  1060 
  1060 
  1061     if not remote_revs:
  1061     if not remote_revs:
  1062 
  1062 
  1063         remoteurl, branches = urlutil.parseurl(ui.expandpath(remoteurl))
  1063         remoteurl, branches = urlutil.get_unique_pull_path(
       
  1064             b'debugdiscovery', repo, ui, remoteurl
       
  1065         )
  1064         remote = hg.peer(repo, opts, remoteurl)
  1066         remote = hg.peer(repo, opts, remoteurl)
  1065         ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(remoteurl))
  1067         ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(remoteurl))
  1066     else:
  1068     else:
  1067         branches = (None, [])
  1069         branches = (None, [])
  1068         remote_filtered_revs = scmutil.revrange(
  1070         remote_filtered_revs = scmutil.revrange(