Rev 1934: Fix encoding issue. in file:///data/jelmer/bzr-svn/trunk/
Jelmer Vernooij
jelmer at samba.org
Mon Oct 6 16:42:32 BST 2008
At file:///data/jelmer/bzr-svn/trunk/
------------------------------------------------------------
revno: 1934
revision-id: jelmer at samba.org-20081006154231-0f588k3sbms4gh0y
parent: jelmer at samba.org-20081006153038-t7m9eeqn3atx2qal
parent: jelmer at samba.org-20081006153317-9upi10nu9kg8v4ah
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-10-06 17:42:31 +0200
message:
Fix encoding issue.
modified:
server.py server.py-20081006150454-t45tvwmbhpesdh7d-1
subvertpy/subvertpy/server.py server.py-20081006143330-f9p0l7eih6izgoct-1
------------------------------------------------------------
revno: 1925.1.19
revision-id: jelmer at samba.org-20081006153317-9upi10nu9kg8v4ah
parent: jelmer at samba.org-20081006153025-xjrl599zssjozvb9
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-10-06 17:33:17 +0200
message:
Add extra newline in output.
modified:
subvertpy/server.py server.py-20081006143330-f9p0l7eih6izgoct-1
------------------------------------------------------------
revno: 1925.1.18
revision-id: jelmer at samba.org-20081006153025-xjrl599zssjozvb9
parent: jelmer at samba.org-20081006152443-bao75mwgf0uqau8l
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-10-06 17:30:25 +0200
message:
Use literal.
modified:
subvertpy/server.py server.py-20081006143330-f9p0l7eih6izgoct-1
=== modified file 'server.py'
--- a/server.py 2008-10-06 15:30:38 +0000
+++ b/server.py 2008-10-06 15:42:31 +0000
@@ -55,7 +55,7 @@
break
if revno != 0:
rev = self.branch.repository.get_revision(self.branch.get_rev_id(revno))
- send_revision(revno, rev.committer, time.strftime("%Y-%m-%dT%H:%M:%S.00000Z", time.gmtime(rev.timestamp)), rev.message)
+ send_revision(revno, rev.committer.encode("utf-8"), time.strftime("%Y-%m-%dT%H:%M:%S.00000Z", time.gmtime(rev.timestamp)), rev.message.encode("utf-8"))
finally:
self.branch.repository.unlock()
=== modified file 'subvertpy/subvertpy/server.py'
--- a/subvertpy/subvertpy/server.py 2008-10-06 15:30:38 +0000
+++ b/subvertpy/subvertpy/server.py 2008-10-06 15:42:31 +0000
@@ -80,7 +80,8 @@
return NODE_DIR
def log(self, target_path, start_rev, end_rev, changed_paths,
- strict_node, limit=None):
+ strict_node, limit=None, include_merged_revisions=False,
+ all_revprops=None, revprops=None):
def send_revision(revno, author, date, message):
self.send_msg([[], revno, [author], [date], [message]])
self.send_success([], "")
@@ -206,4 +207,4 @@
def mutter(self, text):
if self._logf is not None:
- self._logf.write(text)
+ self._logf.write("%s\n" % text)
More information about the bazaar-commits
mailing list