infocalypse

(Arne Babenhauserheide)
2012-09-17: first tries at fixing the repo-API-compatibility problem. Nothing

first tries at fixing the repo-API-compatibility problem. Nothing functional, yet.

diff --git a/infocalypse/__init__.py b/infocalypse/__init__.py
--- a/infocalypse/__init__.py
+++ b/infocalypse/__init__.py
@@ -723,13 +723,13 @@ entry[1].extend(FCP_OPTS)
 
 # Starting an FTP repo. Not yet used, except for throwing errors for missing commands and faking the lock.
 
-from mercurial import repo, util
+from mercurial import peer, util
 try:
     from mercurial.error import RepoError
 except ImportError:
     from mercurial.repo import RepoError
 
-class InfocalypseRepository(repo.repository):
+class InfocalypseRepository(peer.peerrepository):
     def __init__(self, ui, path, create):
         self.create = create
         self.ui = ui