Commits

Takumi IINO committed 6bbf415

abort postbacklog subcommand

Comments (0)

Files changed (1)

     """notify changesets to backlog
 
     """
+    def checkopts(opts, revs):
+        if not revs:
+            raise util.Abort(_('no revision list provided'))
+
+    checkopts(opts, revs)
+
     bn = BacklogNotifier(ui, repo, None)
     for rev in scmutil.revrange(repo, revs):
         bn.node(repo[rev])