##// END OF EJS Templates
phabricator: abort if phabsend gets empty revs...
Jun Wu -
r33266:5b2391b4 default
parent child Browse files
Show More
@@ -271,6 +271,9 b' def phabsend(ui, repo, *revs, **opts):'
271 revs = list(revs) + opts.get('rev', [])
271 revs = list(revs) + opts.get('rev', [])
272 revs = scmutil.revrange(repo, revs)
272 revs = scmutil.revrange(repo, revs)
273
273
274 if not revs:
275 raise error.Abort(_('phabsend requires at least one changeset'))
276
274 # Send patches one by one so we know their Differential Revision IDs and
277 # Send patches one by one so we know their Differential Revision IDs and
275 # can provide dependency relationship
278 # can provide dependency relationship
276 lastrevid = None
279 lastrevid = None
General Comments 0
You need to be logged in to leave comments. Login now