fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another hotkey fix.
[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
fcfd14c
..
a579fb7
100644
(file)
--- a/
lib/wlrepo/mercurial_backend/document.py
+++ b/
lib/wlrepo/mercurial_backend/document.py
@@
-50,6
+50,10
@@
class MercurialDocument(wlrepo.Document):
ops(self._library, entry_path)
message, user = commit_info(self)
ops(self._library, entry_path)
message, user = commit_info(self)
+
+ message = self._library._sanitize_string(message)
+ user = self._library._sanitize_string(user)
+
self._library._commit(message, user)
try:
return self._library.document(docid=self.id, user=user)
self._library._commit(message, user)
try:
return self._library.document(docid=self.id, user=user)