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

Kevin Bullock kbullock+mercurial at ringworld.org
Thu Oct 18 16:17:20 CDT 2012


On Oct 18, 2012, at 3:41 PM, Adrian Buehlmann wrote:

> # 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

Huh, thought I'd gotten that one. Good catch.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list