##// END OF EJS Templates
patchbomb: use `get_unique_pull_path`...
marmoute -
r47700:a48f15f1 default
parent child Browse files
Show More
@@ -530,9 +530,9 b' def _getpatchmsgs(repo, sender, revs, pa'
530 def _getoutgoing(repo, dest, revs):
530 def _getoutgoing(repo, dest, revs):
531 '''Return the revisions present locally but not in dest'''
531 '''Return the revisions present locally but not in dest'''
532 ui = repo.ui
532 ui = repo.ui
533 url = ui.expandpath(dest or b'default-push', dest or b'default')
533 paths = urlutil.get_push_paths(repo, ui, [dest])
534 url = urlutil.parseurl(url)[0]
534 safe_paths = [urlutil.hidepassword(p.rawloc) for p in paths]
535 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
535 ui.status(_(b'comparing with %s\n') % b','.join(safe_paths))
536
536
537 revs = [r for r in revs if r >= 0]
537 revs = [r for r in revs if r >= 0]
538 if not revs:
538 if not revs:
@@ -2868,7 +2868,7 b" Don't prompt for a CC header."
2868
2868
2869 dest#branch URIs:
2869 dest#branch URIs:
2870 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2870 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2871 comparing with ../t
2871 comparing with ../t#test
2872 From [test]: test
2872 From [test]: test
2873 this patch series consists of 1 patches.
2873 this patch series consists of 1 patches.
2874
2874
General Comments 0
You need to be logged in to leave comments. Login now