##// END OF EJS Templates
path: pass `path` to `peer` in the `outgoing` revset...
marmoute -
r50606:e2a31b0b default
parent child Browse files
Show More
@@ -1869,13 +1869,12 b' def outgoing(repo, subset, x):'
1869 dests = []
1869 dests = []
1870 missing = set()
1870 missing = set()
1871 for path in urlutil.get_push_paths(repo, repo.ui, dests):
1871 for path in urlutil.get_push_paths(repo, repo.ui, dests):
1872 dest = path.loc
1873 branches = path.branch, []
1872 branches = path.branch, []
1874
1873
1875 revs, checkout = hg.addbranchrevs(repo, repo, branches, [])
1874 revs, checkout = hg.addbranchrevs(repo, repo, branches, [])
1876 if revs:
1875 if revs:
1877 revs = [repo.lookup(rev) for rev in revs]
1876 revs = [repo.lookup(rev) for rev in revs]
1878 other = hg.peer(repo, {}, dest)
1877 other = hg.peer(repo, {}, path)
1879 try:
1878 try:
1880 with repo.ui.silent():
1879 with repo.ui.silent():
1881 outgoing = discovery.findcommonoutgoing(
1880 outgoing = discovery.findcommonoutgoing(
General Comments 0
You need to be logged in to leave comments. Login now