At http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/revision_strictness

------------------------------------------------------------
revno: 3837
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: revision_strictness
timestamp: Tue 2008-11-25 13:56:00 -0600
message:
  For the simple-log tests, avoid using '\r' in the test.
=== modified file 'bzrlib/tests/test_log.py'
--- a/bzrlib/tests/test_log.py  2008-09-22 20:09:07 +0000
+++ b/bzrlib/tests/test_log.py  2008-11-25 19:56:00 +0000
@@ -146,7 +146,7 @@
         self.log('log entries:')
         for logentry in lf.logs:
             self.log('%4s %s' % (logentry.revno, logentry.rev.message))
-        
+
         # first one is most recent
         logentry = lf.logs[0]
         eq(logentry.revno, '2')
@@ -154,9 +154,10 @@
         d = logentry.delta
         self.log('log 2 delta: %r' % d)
         self.checkDelta(d, added=['hello'])
-        
+
         # commit a log message with control characters
-        msg = "All 8-bit chars: " +  ''.join([unichr(x) for x in range(256)])
+        msg = u"All 8-bit chars: " +  ''.join([unichr(x) for x in range(256)])
+        msg = msg.replace(u'\r', u'\n')
         self.log("original commit message: %r", msg)
         wt.commit(msg)
         lf = LogCatcher()

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to