~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2010-02-23 07:43:11 UTC
  • mfrom: (4797.2.20 2.1)
  • mto: This revision was merged to the branch mainline in revision 5055.
  • Revision ID: mbp@sourcefrog.net-20100223074311-gnj55xdhrgz9l94e
Merge 2.1 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (C) 2006-2010 Canonical Ltd
2
 
# -*- coding: utf-8 -*-
3
2
#
4
3
# This program is free software; you can redistribute it and/or modify
5
4
# it under the terms of the GNU General Public License as published by
341
340
        # now update (and get conflicts)
342
341
        out, err = self.run_bzr('update lightweight', retcode=1)
343
342
        self.assertEqual('', out)
 
343
        # NB: these conflicts are actually in the source code
344
344
        self.assertFileEqual('''\
345
345
<<<<<<< TREE
346
346
lightweight local changes
358
358
        # check we get the second conflict
359
359
        out, err = self.run_bzr('update lightweight', retcode=1)
360
360
        self.assertEqual('', out)
 
361
        # NB: these conflicts are actually in the source code
361
362
        self.assertFileEqual('''\
362
363
<<<<<<< TREE
363
364
lightweight+checkout
366
367
>>>>>>> MERGE-SOURCE
367
368
''',
368
369
                             'lightweight/file')
369