~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_bundle.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-11 00:23:23 UTC
  • mfrom: (2070 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: john@arbash-meinel.com-20061011002323-82ba88c293d7caff
[merge] bzr.dev 2070

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 Canonical Ltd
 
1
# Copyright (C) 2006 by Canonical Ltd
2
2
# Authors: Aaron Bentley
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
82
82
        bi = read_bundle(StringIO(self.run_bzr('bundle', '-r', '-2..-1')[0]))
83
83
        self.assertRevisions(bi, ['revision3'])
84
84
        self.run_bzr('bundle', '../grandparent', '-r', '-2..-1', retcode=3)
85
 
 
86
 
    def test_output(self):
87
 
        # check output for consistency
88
 
        # win32 stdout converts LF to CRLF,
89
 
        # and this is breaks the created bundle
90
 
        self.make_trees()        
91
 
        os.chdir('branch')
92
 
        stdout = self.run_bzr_subprocess('bundle')[0]
93
 
        br = read_bundle(StringIO(stdout))
94
 
        self.assertRevisions(br, ['revision3'])