At lp:///~jameinel/bzr/1.12-fix-short-log

------------------------------------------------------------
revno: 3946
revision-id: [email protected]
parent: [email protected]
committer: John Arbash Meinel <[email protected]>
branch nick: 1.12-fix-short-log
timestamp: Fri 2009-01-16 16:32:24 -0600
message:
  Revert one test change, and the special case of logging all-of-mainline.
=== modified file 'bzrlib/log.py'
--- a/bzrlib/log.py     2009-01-16 22:16:14 +0000
+++ b/bzrlib/log.py     2009-01-16 22:32:24 +0000
@@ -230,12 +230,6 @@
 def calculate_view_revisions(branch, start_revision, end_revision, direction,
                              specific_fileid, generate_merge_revisions,
                              allow_single_merge_revision):
-    if (    not generate_merge_revisions
-        and start_revision is end_revision is None
-        and direction == 'reverse'
-        and specific_fileid is None):
-        return _linear_view_revisions(branch)
-
     mainline_revs, rev_nos, start_rev_id, end_rev_id = _get_mainline_revs(
         branch, start_revision, end_revision)
     if not mainline_revs:

=== modified file 'bzrlib/tests/test_log.py'
--- a/bzrlib/tests/test_log.py  2009-01-16 22:27:34 +0000
+++ b/bzrlib/tests/test_log.py  2009-01-16 22:32:24 +0000
@@ -301,8 +301,8 @@
         wt.commit('rev-merged', rev_id='rev-2a',
                   timestamp=1132586700, timezone=36000,
                   committer='Joe Foo <[email protected]>')
+        wt.set_parent_ids(['rev-1', 'rev-2a'])
         wt.branch.set_last_revision_info(1, 'rev-1')
-        wt.set_parent_ids(['rev-1', 'rev-2a'])
         wt.commit('rev-2', rev_id='rev-2b',
                   timestamp=1132586800, timezone=36000,
                   committer='Joe Foo <[email protected]>')

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

Reply via email to