~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interbranch/test_push.py

  • Committer: Vincent Ladeuil
  • Date: 2010-10-07 06:08:01 UTC
  • mto: This revision was merged to the branch mainline in revision 5491.
  • Revision ID: v.ladeuil+lp@free.fr-20101007060801-wfdhizfhfmctl8qa
Fix some typos and propose a release planning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    errors,
34
34
    push,
35
35
    repository,
 
36
    symbol_versioning,
36
37
    tests,
37
38
    )
38
39
from bzrlib.branch import Branch
68
69
        self.assertEqual(result.old_revid, 'M1')
69
70
        self.assertEqual(result.new_revid, 'P2')
70
71
        # and it can be treated as an integer for compatibility
71
 
        self.assertEqual(int(result), 0)
 
72
        self.assertEqual(self.applyDeprecated(
 
73
            symbol_versioning.deprecated_in((2, 3, 0)),
 
74
            result.__int__),
 
75
            0)
72
76
 
73
77
    def test_push_merged_indirect(self):
74
78
        # it should be possible to do a push from one branch into another