mercurial/bookmarks.py
changeset 39304 fc54a290b4b0
parent 38670 fbec9c0b32d3
child 39624 713085b45810
--- a/mercurial/bookmarks.py	Sat Aug 25 20:16:28 2018 +0900
+++ b/mercurial/bookmarks.py	Sat Aug 25 20:19:27 2018 +0900
@@ -240,7 +240,7 @@
             if self.active:
                 return self.active
             else:
-                raise error.Abort(_("no active bookmark"))
+                raise error.RepoLookupError(_("no active bookmark"))
         return bname
 
     def checkconflict(self, mark, force=False, target=None):