~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge_core.py

  • Committer: Aaron Bentley
  • Date: 2005-09-29 04:59:47 UTC
  • mto: (1393.1.21) (1185.14.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: aaron.bentley@utoronto.ca-20050929045947-ff08a7f6578f9657
Conflict handling where OTHER is deleted

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
        if contents.old_contents is None and contents.new_contents is None:
225
225
            return None
226
226
        if contents.new_contents is None:
 
227
            this_contents = get_contents(entry, this)
227
228
            if this_path is not None and os.path.exists(this_path):
 
229
                if this_contents != contents.old_contents:
 
230
                    return conflict_handler.rem_contents_conflict(this_path, 
 
231
                        this_contents, contents.old_contents)
228
232
                return contents
229
233
            else:
230
234
                return None