##// END OF EJS Templates
rebase: allow revsets for source and base args
Matt Mackall -
r15269:b12362ab default
parent child Browse files
Show More
@@ -174,10 +174,10 b' def rebase(ui, repo, **opts):'
174 174 dest = repo[destf]
175 175
176 176 if srcf:
177 revsetargs = ('(%s)::', srcf)
177 revsetargs = ('(%r)::', srcf)
178 178 else:
179 179 base = basef or '.'
180 revsetargs = ('(children(ancestor(%s, %d)) and ::(%s))::',
180 revsetargs = ('(children(ancestor(%r, %d)) and ::(%r))::',
181 181 base, dest, base)
182 182
183 183 rebaseset = [c.rev() for c in repo.set(*revsetargs)]
General Comments 0
You need to be logged in to leave comments. Login now