Show More
@@ -174,10 +174,10 b' def rebase(ui, repo, **opts):' | |||||
174 | dest = repo[destf] |
|
174 | dest = repo[destf] | |
175 |
|
175 | |||
176 | if srcf: |
|
176 | if srcf: | |
177 |
revsetargs = ('(% |
|
177 | revsetargs = ('(%r)::', srcf) | |
178 | else: |
|
178 | else: | |
179 | base = basef or '.' |
|
179 | base = basef or '.' | |
180 |
revsetargs = ('(children(ancestor(% |
|
180 | revsetargs = ('(children(ancestor(%r, %d)) and ::(%r))::', | |
181 | base, dest, base) |
|
181 | base, dest, base) | |
182 |
|
182 | |||
183 | rebaseset = [c.rev() for c in repo.set(*revsetargs)] |
|
183 | rebaseset = [c.rev() for c in repo.set(*revsetargs)] |
General Comments 0
You need to be logged in to leave comments.
Login now