/breezy-hg/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-hg/trunk

« back to all changes in this revision

Viewing changes to dir.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-19 14:32:13 UTC
  • Revision ID: jelmer@samba.org-20120219143213-603650s1kyqwnd0n
Implement HgDir.set_branch_reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
            raise NotImplementedError("from_branch argument not yet supported")
112
112
        return self.open_workingtree()
113
113
 
 
114
    def set_branch_reference(self, target_branch, name=None):
 
115
        # Sorry, no branch references.
 
116
        raise errors.IncompatibleFormat(target_branch._format, self._format)
 
117
 
114
118
    def _find_or_create_repository(self, force_new_repo):
115
119
        """Create a new repository if needed, returning the repository."""
116
120
        return self.open_repository()