[PATCH 1 of 2] bookmarks: remove another uneeded return

Adrian Buehlmann adrian at cadifra.com
Thu Oct 18 15:41:50 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1350592438 -7200
# Node ID f74217289c0aae65ffbff706c19c2ef1270f6d52
# Parent  b11d181b87ba1f25fde4aab70fc7c5c2b7f85c92
bookmarks: remove another uneeded return

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -850,7 +850,6 @@
         if not inactive and cur == marks[mark]:
             bookmarks.setcurrent(repo, mark)
         bookmarks.write(repo)
-        return
 
     else: # mark is None
         if len(marks) == 0:


More information about the Mercurial-devel mailing list