##// END OF EJS Templates
rebase: allow --detach when --rev is used...
Pierre-Yves David -
r15736:306e84e8 default
parent child Browse files
Show More
@@ -168,7 +168,7 b' def rebase(ui, repo, **opts):'
168 raise util.Abort(_('cannot specify both a '
168 raise util.Abort(_('cannot specify both a '
169 'revision and a source'))
169 'revision and a source'))
170 if detachf:
170 if detachf:
171 if not srcf:
171 if not (srcf or revf):
172 raise util.Abort(
172 raise util.Abort(
173 _('detach requires a revision to be specified'))
173 _('detach requires a revision to be specified'))
174 if basef:
174 if basef:
General Comments 0
You need to be logged in to leave comments. Login now