Show More
@@ -1224,8 +1224,8 b' def bundle(ui, repo, fname, dest=None, *' | |||||
1224 | if dest: |
|
1224 | if dest: | |
1225 | raise error.Abort(_("--base is incompatible with specifying " |
|
1225 | raise error.Abort(_("--base is incompatible with specifying " | |
1226 | "a destination")) |
|
1226 | "a destination")) | |
1227 |
common = [repo. |
|
1227 | common = [repo[rev].node() for rev in base] | |
1228 |
heads = [repo. |
|
1228 | heads = [repo[r].node() for r in revs] if revs else None | |
1229 | outgoing = discovery.outgoing(repo, common, heads) |
|
1229 | outgoing = discovery.outgoing(repo, common, heads) | |
1230 | else: |
|
1230 | else: | |
1231 | dest = ui.expandpath(dest or 'default-push', dest or 'default') |
|
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