~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Matthieu Moy
  • Date: 2006-07-27 05:11:14 UTC
  • mto: (1711.2.98 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1887.
  • Revision ID: Matthieu.Moy@imag.fr-20060727051114-ebb0b2018d517195
needs_tree -> needs_branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1174
1174
            # Don't raise an error when bzr diff is called from
1175
1175
            # outside a working tree.
1176
1176
            if (revision is not None and len(revision) == 2
1177
 
                and not revision[0].needs_tree()
1178
 
                and not revision[1].needs_tree()):
 
1177
                and not revision[0].needs_branch()
 
1178
                and not revision[1].needs_branch()):
1179
1179
                tree1, tree2 = None, None
1180
1180
            else:
1181
1181
                raise