~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_foreign.py

  • Committer: Jelmer Vernooij
  • Date: 2009-10-27 21:54:26 UTC
  • mfrom: (4771 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4833.
  • Revision ID: jelmer@samba.org-20091027215426-72164bkd4mq9dsd4
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self.mapping_registry = DummyForeignVcsMappingRegistry()
75
75
        self.mapping_registry.register("v1", DummyForeignVcsMapping(self),
76
76
                                       "Version 1")
 
77
        self.abbreviation = "dummy"
77
78
 
78
79
    def show_foreign_revid(self, foreign_revid):
79
80
        return { "dummy ding": "%s/%s\\%s" % foreign_revid }
80
81
 
 
82
    def serialize_foreign_revid(self, foreign_revid):
 
83
        return "%s|%s|%s" % foreign_revid
 
84
 
81
85
 
82
86
class DummyForeignVcsBranch(branch.BzrBranch6,foreign.ForeignBranch):
83
87
    """A Dummy VCS Branch."""