~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-22 04:04:06 UTC
  • mto: (6402.3.6 safe-open)
  • mto: This revision was merged to the branch mainline in revision 6417.
  • Revision ID: jelmer@samba.org-20111222040406-e7a0saud1fnxugg7
Fix tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
966
966
        from bzrlib.plugins.weave_fmt.repository import RepositoryFormat5
967
967
        return RepositoryFormat5().open(self, _found=True)
968
968
 
969
 
    def open_workingtree(self, _unsupported=False,
 
969
    def open_workingtree(self, unsupported=False,
970
970
            recommend_upgrade=True):
971
971
        """See BzrDir.create_workingtree."""
972
972
        from bzrlib.plugins.weave_fmt.workingtree import WorkingTreeFormat2
991
991
        from bzrlib.plugins.weave_fmt.repository import RepositoryFormat6
992
992
        return RepositoryFormat6().open(self, _found=True)
993
993
 
994
 
    def open_workingtree(self, _unsupported=False,
995
 
        recommend_upgrade=True):
 
994
    def open_workingtree(self, unsupported=False, recommend_upgrade=True):
996
995
        """See BzrDir.create_workingtree."""
997
996
        # we don't warn here about upgrades; that ought to be handled for the
998
997
        # bzrdir as a whole