/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to git_dir.py

  • Committer: Aaron Bentley
  • Date: 2007-12-30 06:58:28 UTC
  • mto: (0.200.48 bzr-git.pull)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: aaron.bentley@utoronto.ca-20071230065828-w87ointcehj6fuft
Make checkouts work

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        """'open' a repository for this dir."""
88
88
        return self._gitrepository_class(self, self._lockfiles)
89
89
 
90
 
    def open_workingtree(self):
 
90
    def open_workingtree(self, recommend_upgrade=True):
91
91
        loc = urlutils.unescape_for_display(self.root_transport.base, 'ascii')
92
92
        raise errors.bzr_errors.NoWorkingTree(loc)
93
93
 
 
94
    def cloning_metadir(self):
 
95
        return bzrdir.BzrDirFormat.get_default_format()
 
96
 
94
97
 
95
98
class GitBzrDirFormat(bzrdir.BzrDirFormat):
96
99
    """The .git directory control format."""