##// END OF EJS Templates
graft: check for missing revision first before scanning working copy...
Joerg Sonnenberger -
r36860:ff541b8c default
parent child Browse files
Show More
@@ -2181,10 +2181,10 b' def _dograft(ui, repo, *revs, **opts):'
2181 raise
2181 raise
2182 cmdutil.wrongtooltocontinue(repo, _('graft'))
2182 cmdutil.wrongtooltocontinue(repo, _('graft'))
2183 else:
2183 else:
2184 if not revs:
2185 raise error.Abort(_('no revisions specified'))
2184 cmdutil.checkunfinished(repo)
2186 cmdutil.checkunfinished(repo)
2185 cmdutil.bailifchanged(repo)
2187 cmdutil.bailifchanged(repo)
2186 if not revs:
2187 raise error.Abort(_('no revisions specified'))
2188 revs = scmutil.revrange(repo, revs)
2188 revs = scmutil.revrange(repo, revs)
2189
2189
2190 skipped = set()
2190 skipped = set()
General Comments 0
You need to be logged in to leave comments. Login now