comparison mercurial/ui.py @ 27500:62b1b6a89d2a

ui: remove unreachable code
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 22 Dec 2015 15:25:40 -0800
parents 2916ebaef312
children 723413ee000e
comparison
equal deleted inserted replaced
27499:0ff3554b2884 27500:62b1b6a89d2a
1147 return path(None, None, rawloc=name) 1147 return path(None, None, rawloc=name)
1148 except ValueError: 1148 except ValueError:
1149 raise error.RepoError(_('repository %s does not exist') % 1149 raise error.RepoError(_('repository %s does not exist') %
1150 name) 1150 name)
1151 1151
1152 assert False
1153
1154 _pathsuboptions = {} 1152 _pathsuboptions = {}
1155 1153
1156 def pathsuboption(option, attr): 1154 def pathsuboption(option, attr):
1157 """Decorator used to declare a path sub-option. 1155 """Decorator used to declare a path sub-option.
1158 1156