~bzr/bzr/375898-missing-merged-root

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_commit.py

  • Committer: Vincent Ladeuil
  • Date: 2010-03-29 16:54:16 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100329165416-vbfnx484ff736gze
Commit for jam.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2006-2010 Canonical Ltd
2
2
# Authors:  Robert Collins <robert.collins@canonical.com>
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
168
168
        tree_a.commit('change n in A')
169
169
 
170
170
        # Merging from A should introduce conflicts because 'n' was modified
171
 
        # and removed, so 'a' needs to be restored.
 
171
        # (in A) and removed (in B), so 'a' needs to be restored.
 
172
#        import pdb; pdb.set_trace()
172
173
        num_conflicts = tree_b.merge_from_branch(tree_a.branch)
173
174
        self.assertEqual(3, num_conflicts)
174
175
        paths = [(path, ie.file_id)