X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/352b8591bd1c7163835a6fa1db34d3e2861c1071..dba809feb44cd1c4d155f3e3254a1cca5323f95f:/lib/wlrepo/mercurial_backend/document.py?ds=sidebyside 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)