Commits

Joel Rosdahl committed 9bd051e

bookmarks: Require a bookmark name when a revision is specified

Comments (0)

Files changed (1)

hgext/bookmarks.py

         return
 
     if mark == None:
+        if rev:
+            raise util.Abort(_("bookmark name required"))
         if len(marks) == 0:
             ui.status("no bookmarks set\n")
         else: