Rev 3944: When testing if we should show merges, use 'not' rather than 'is False' in lp:///~jameinel/bzr/1.12-fix-short-log
John Arbash Meinel
john at arbash-meinel.com
Fri Jan 16 22:16:43 GMT 2009
At lp:///~jameinel/bzr/1.12-fix-short-log
------------------------------------------------------------
revno: 3944
revision-id: john at arbash-meinel.com-20090116221614-k8su03l5d22tq6iv
parent: pqm at pqm.ubuntu.com-20090115233242-4bxyn4zcj2a0ksfk
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.12-fix-short-log
timestamp: Fri 2009-01-16 16:16:14 -0600
message:
When testing if we should show merges, use 'not' rather than 'is False'
-------------- next part --------------
=== modified file 'bzrlib/log.py'
--- a/bzrlib/log.py 2009-01-15 14:05:13 +0000
+++ b/bzrlib/log.py 2009-01-16 22:16:14 +0000
@@ -620,7 +620,7 @@
:return: an iterator of (revision_id, revno, merge_depth)
(if there is no revno for a revision, None is supplied)
"""
- if include_merges is False:
+ if not include_merges:
revision_ids = mainline_revs[1:]
if direction == 'reverse':
revision_ids.reverse()
More information about the bazaar-commits
mailing list