reverting 11d12bd6e1dcd9610fa26e97d25e7ad553e8ffa5
passing local everywhere violate the layering
# repo.py - repository base classes for mercurial## Copyright 2005 Matt Mackall <mpm@selenic.com>## This software may be used and distributed according to the terms# of the GNU General Public License, incorporated herein by reference.class RepoError(Exception): pass