##// END OF EJS Templates
bundle: avoid repo.lookup() for converting revnum to nodeid...
Martin von Zweigbergk -
r37324:0b4692b9 default
parent child Browse files
Show More
@@ -1224,8 +1224,8 b' def bundle(ui, repo, fname, dest=None, *'
1224 1224 if dest:
1225 1225 raise error.Abort(_("--base is incompatible with specifying "
1226 1226 "a destination"))
1227 common = [repo.lookup(rev) for rev in base]
1228 heads = [repo.lookup(r) for r in revs] if revs else None
1227 common = [repo[rev].node() for rev in base]
1228 heads = [repo[r].node() for r in revs] if revs else None
1229 1229 outgoing = discovery.outgoing(repo, common, heads)
1230 1230 else:
1231 1231 dest = ui.expandpath(dest or 'default-push', dest or 'default')
General Comments 0
You need to be logged in to leave comments. Login now