##// END OF EJS Templates
split: use ctx.rev() instead of %d % ctx...
Gregory Szorc -
r36426:83bade62 default
parent child Browse files
Show More
@@ -173,6 +173,6 b' def dosplit(ui, repo, tr, ctx, opts):'
173
173
174 return committed[-1]
174 return committed[-1]
175
175
176 def dorebase(ui, repo, src, dest):
176 def dorebase(ui, repo, src, destctx):
177 rebase.rebase(ui, repo, rev=[revsetlang.formatspec('%ld', src)],
177 rebase.rebase(ui, repo, rev=[revsetlang.formatspec('%ld', src)],
178 dest=revsetlang.formatspec('%d', dest))
178 dest=revsetlang.formatspec('%d', destctx.rev()))
General Comments 0
You need to be logged in to leave comments. Login now