~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Simplify handling of server probing. (Jelmer Vernooij)

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