##// END OF EJS Templates
bookmarks: Require a bookmark name when a revision is specified
Joel Rosdahl -
r7258:9bd051ef default
parent child Browse files
Show More
@@ -114,6 +114,8 b' def bookmark(ui, repo, mark=None, rev=No'
114 return
114 return
115
115
116 if mark == None:
116 if mark == None:
117 if rev:
118 raise util.Abort(_("bookmark name required"))
117 if len(marks) == 0:
119 if len(marks) == 0:
118 ui.status("no bookmarks set\n")
120 ui.status("no bookmarks set\n")
119 else:
121 else:
General Comments 0
You need to be logged in to leave comments. Login now