~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevisionnamespaces.py

  • Committer: Aaron Bentley
  • Date: 2005-08-25 15:23:10 UTC
  • mto: (1092.1.42) (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: abentley@panoramicfeedback.com-20050825152310-897f26086c7fb592
Fixed negative revision handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        self.assertEquals(b.get_revision_info('date:+today'), (1, 'a@r-0-1'))
43
43
 
44
44
        self.assertEquals(b.get_revision_info('last:1'), (3, 'a@r-0-3'))
 
45
        self.assertEquals(b.get_revision_info('-1'), (3, 'a@r-0-3'))
45
46
 
46
47
        os.mkdir('newbranch')
47
48
        b2 = Branch('newbranch', init=True)