##// END OF EJS Templates
dispatch: remove superfluous try/except when reading local ui config...
Brodie Rao -
r12636:c24215aa default
parent child Browse files
Show More
@@ -419,11 +419,8 b' def _getlocal(ui, rpath):'
419 if not path:
419 if not path:
420 lui = ui
420 lui = ui
421 else:
421 else:
422 try:
422 lui = ui.copy()
423 lui = ui.copy()
423 lui.readconfig(os.path.join(path, ".hg", "hgrc"))
424 lui.readconfig(os.path.join(path, ".hg", "hgrc"))
425 except IOError:
426 pass
427
424
428 if rpath:
425 if rpath:
429 path = lui.expandpath(rpath[-1])
426 path = lui.expandpath(rpath[-1])
General Comments 0
You need to be logged in to leave comments. Login now