[PATCH] ui: remove unreachable code

Yuya Nishihara yuya at tcha.org
Wed Dec 23 04:27:04 CST 2015


On Tue, 22 Dec 2015 15:25:45 -0800, Bryan O'Sullivan wrote:
> # HG changeset patch
> # User Bryan O'Sullivan <bos at serpentine.com>
> # Date 1450826740 28800
> #      Tue Dec 22 15:25:40 2015 -0800
> # Node ID 5d0e1462c2e310bf5ff731bd273ac7a9dedafd3b
> # Parent  fe376159a58d9b3d748b669ac011b0eed0346fea
> ui: remove unreachable code
> 
> diff --git a/mercurial/ui.py b/mercurial/ui.py
> --- a/mercurial/ui.py
> +++ b/mercurial/ui.py
> @@ -1149,8 +1149,6 @@ class paths(dict):
>                  raise error.RepoError(_('repository %s does not exist') %
>                                          name)
>  
> -        assert False
> -

Sure, queued to the clowncopter. Thanks.


More information about the Mercurial-devel mailing list