##// END OF EJS Templates
commands: replace map() with list comprehension...
Augie Fackler -
r35845:56891a79 default
parent child Browse files
Show More
@@ -1219,7 +1219,7 b' def bundle(ui, repo, fname, dest=None, *'
1219 raise error.Abort(_("--base is incompatible with specifying "
1219 raise error.Abort(_("--base is incompatible with specifying "
1220 "a destination"))
1220 "a destination"))
1221 common = [repo.lookup(rev) for rev in base]
1221 common = [repo.lookup(rev) for rev in base]
1222 heads = map(repo.lookup, revs) if revs else None
1222 heads = [repo.lookup(r) for r in revs] if revs else None
1223 outgoing = discovery.outgoing(repo, common, heads)
1223 outgoing = discovery.outgoing(repo, common, heads)
1224 else:
1224 else:
1225 dest = ui.expandpath(dest or 'default-push', dest or 'default')
1225 dest = ui.expandpath(dest or 'default-push', dest or 'default')
General Comments 0
You need to be logged in to leave comments. Login now