~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset.py

  • Committer: Robert Collins
  • Date: 2005-10-03 01:15:02 UTC
  • mfrom: (1092.2.28)
  • Revision ID: robertc@robertcollins.net-20051003011502-f579a509a136b774
mergeĀ fromĀ baz2bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import stat
20
20
from bzrlib.trace import mutter
21
21
from bzrlib.osutils import rename
 
22
import bzrlib
22
23
 
23
24
# XXX: mbp: I'm not totally convinced that we should handle conflicts
24
25
# as part of changeset application, rather than only in the merge
862
863
            continue
863
864
        new_path = os.path.join(dir, new_tree_path)
864
865
        old_path = changed_inventory.get(entry.id)
865
 
        if os.path.exists(new_path):
 
866
        if bzrlib.osutils.lexists(new_path):
866
867
            if conflict_handler.target_exists(entry, new_path, old_path) == \
867
868
                "skip":
868
869
                continue