X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/352b8591bd1c7163835a6fa1db34d3e2861c1071..80a2c67a898b06c9c28bda89d7aa012676c2a23a:/lib/wlrepo/mercurial_backend/document.py diff --git a/lib/wlrepo/mercurial_backend/document.py b/lib/wlrepo/mercurial_backend/document.py index bced6741..657fa6e3 100644 --- a/lib/wlrepo/mercurial_backend/document.py +++ b/lib/wlrepo/mercurial_backend/document.py @@ -11,7 +11,7 @@ class MercurialDocument(wlrepo.Document): def data(self, entry): path = self._revision._docname + '.' + entry return self._library._filectx(path, \ - self._revision.hgrev()).data() + self._revision.hgrev()).data() def quickwrite(self, entry, data, msg, user=None): user = user or self.owner @@ -54,7 +54,6 @@ class MercurialDocument(wlrepo.Document): return self return self._library.document(docid=self._revision.document_name()) - def take(self, user): fullid = self._library.fulldocid(self.id, user)