fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into view-refactor
[redakcja.git]
/
lib
/
wlrepo
/
mercurial_backend
/
document.py
diff --git
a/lib/wlrepo/mercurial_backend/document.py
b/lib/wlrepo/mercurial_backend/document.py
index
bced674
..
657fa6e
100644
(file)
--- 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, \
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
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())
return self
return self._library.document(docid=self._revision.document_name())
-
def take(self, user):
fullid = self._library.fulldocid(self.id, user)
def take(self, user):
fullid = self._library.fulldocid(self.id, user)