--- a/mercurial/repo.py Fri Jul 06 14:12:42 2012 -0500 +++ b/mercurial/repo.py Fri Jul 13 21:46:53 2012 +0200 @@ -33,6 +33,9 @@ def local(self): return False + def peer(self): + return self + def cancopy(self): return self.local()