~spiv/ubuntu/lucid/bzr-loom/test-ppa

« back to all changes in this revision

Viewing changes to branch.py

  • Committer: Aaron Bentley
  • Date: 2009-04-15 20:04:03 UTC
  • Revision ID: aaron@aaronbentley.com-20090415200403-w1ezd73pv1nm0zch
Support ignore_fallbacks

Show diffs side-by-side

added added

removed removed

Lines of Context:
801
801
            control_files.unlock()
802
802
        return self.open(a_bzrdir, _found=True, )
803
803
 
804
 
    def open(self, a_bzrdir, _found=False):
 
804
    def open(self, a_bzrdir, _found=False, ignore_fallbacks=False):
805
805
        """Return the branch object for a_bzrdir
806
806
 
807
807
        _found is a private parameter, do not use it. It is used to indicate
816
816
        return self._branch_class(_format=self,
817
817
                          _control_files=control_files,
818
818
                          a_bzrdir=a_bzrdir,
819
 
                          _repository=a_bzrdir.find_repository())
 
819
                          _repository=a_bzrdir.find_repository(),
 
820
                          ignore_fallbacks=ignore_fallbacks)
820
821
 
821
822
    def take_over(self, branch):
822
823
        """Take an existing bzrlib branch over into Loom format.