##// END OF EJS Templates
bundle: consistently keep a list of stringified revisions in "revs"...
Martin von Zweigbergk -
r37325:88a05643 default
parent child Browse files
Show More
@@ -1231,6 +1231,7 b' def bundle(ui, repo, fname, dest=None, *'
1231 dest = ui.expandpath(dest or 'default-push', dest or 'default')
1231 dest = ui.expandpath(dest or 'default-push', dest or 'default')
1232 dest, branches = hg.parseurl(dest, opts.get('branch'))
1232 dest, branches = hg.parseurl(dest, opts.get('branch'))
1233 other = hg.peer(repo, opts, dest)
1233 other = hg.peer(repo, opts, dest)
1234 revs = [repo[r].hex() for r in revs]
1234 revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
1235 revs, checkout = hg.addbranchrevs(repo, repo, branches, revs)
1235 heads = revs and map(repo.lookup, revs) or revs
1236 heads = revs and map(repo.lookup, revs) or revs
1236 outgoing = discovery.findcommonoutgoing(repo, other,
1237 outgoing = discovery.findcommonoutgoing(repo, other,
General Comments 0
You need to be logged in to leave comments. Login now