##// END OF EJS Templates
bundle: quick fix to ludicrous performance penalty...
marmoute -
r50124:ed9170ff default
parent child Browse files
Show More
@@ -1600,8 +1600,9 b' def bundle(ui, repo, fname, *dests, **op'
1600 raise error.InputError(
1600 raise error.InputError(
1601 _(b"--base is incompatible with specifying destinations")
1601 _(b"--base is incompatible with specifying destinations")
1602 )
1602 )
1603 common = [repo[rev].node() for rev in base]
1603 cl = repo.changelog
1604 heads = [repo[r].node() for r in revs] if revs else None
1604 common = [cl.node(rev) for rev in base]
1605 heads = [cl.node(r) for r in revs] if revs else None
1605 outgoing = discovery.outgoing(repo, common, heads)
1606 outgoing = discovery.outgoing(repo, common, heads)
1606 missing = outgoing.missing
1607 missing = outgoing.missing
1607 excluded = outgoing.excluded
1608 excluded = outgoing.excluded
General Comments 0
You need to be logged in to leave comments. Login now