Commits

Anonymous committed 62f2226

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

Comments (0)

Files changed (1)

infocalypse/__init__.py

 
 # 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