~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Robert Collins
  • Date: 2006-06-09 09:04:53 UTC
  • mfrom: (1755.2.1 add)
  • mto: (1755.1.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1757.
  • Revision ID: robertc@robertcollins.net-20060609090453-10e94172dc5f670b
MergeĀ currentĀ head.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004, 2005 by Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006 by Canonical Ltd
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
56
56
                          (1, 'a@r-0-1'))
57
57
        self.assertEquals(RevisionSpec('before:date:today').in_history(b),
58
58
                          (1, 'a@r-0-1'))
59
 
        self.assertRaises(NoSuchRevision,
60
 
                          RevisionSpec('date:tomorrow').in_history, b)
61
59
 
62
60
        self.assertEquals(RevisionSpec('last:1').in_history(b),
63
61
                          (3, 'a@r-0-3'))