~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-30 20:54:47 UTC
  • mto: (1185.50.36 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1536.
  • Revision ID: john@arbash-meinel.com-20051230205447-e72814c9e3f22832
Updated -r revid:foo so that it can match revisions which aren't in the revision history

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        self.assertEquals(RevisionSpec('ancestor:.').in_history(b3).rev_id,
81
81
                          'b@r-0-4')
82
82
 
 
83
        # This should be in the revision store, but not in revision-history
 
84
        self.assertEquals((None, 'b@r-0-4'),
 
85
                RevisionSpec('revid:b@r-0-4').in_history(b))
 
86
 
83
87
    def test_branch_namespace(self):
84
88
        """Ensure that the branch namespace pulls in the requisite content."""
85
89
        self.build_tree(['branch1/', 'branch1/file', 'branch2/'])