1. Arne Babenhauserheide
  2. wiki_hacking


Arne Babenhauserheide  committed 62f2226

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

  • Participants
  • Parent commits e45d061
  • Branches default

Comments (0)

Files changed (1)

File infocalypse/__init__.py

View file
 # 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
     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