124
124
def open_workingtree(self, recommend_upgrade=True):
125
125
if not self._git.bare and self._git.has_index():
126
126
from bzrlib.plugins.git.workingtree import GitWorkingTree
129
129
loc = urlutils.unescape_for_display(self.root_transport.base, 'ascii')
130
130
raise bzr_errors.NoWorkingTree(loc)