/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/conflicts.py

Better PathConflict resolution when a deletion is involved

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
# point down
19
19
 
20
20
import os
 
21
import re
21
22
 
22
23
from bzrlib.lazy_import import lazy_import
23
24
lazy_import(globals(), """
45
46
 
46
47
 
47
48
class cmd_conflicts(commands.Command):
48
 
    __doc__ = """List files with conflicts.
 
49
    """List files with conflicts.
49
50
 
50
51
    Merge will do its best to combine the changes in two branches, but there
51
52
    are some kinds of problems only a human can fix.  When it encounters those,
98
99
 
99
100
 
100
101
class cmd_resolve(commands.Command):
101
 
    __doc__ = """Mark a conflict as resolved.
 
102
    """Mark a conflict as resolved.
102
103
 
103
104
    Merge will do its best to combine the changes in two branches, but there
104
105
    are some kinds of problems only a human can fix.  When it encounters those,
554
555
 
555
556
 
556
557
class ContentsConflict(PathConflict):
557
 
    """The files are of different types (or both binary), or not present"""
 
558
    """The files are of different types, or not present"""
558
559
 
559
560
    has_files = True
560
561
 
706
707
 
707
708
    typestring = 'parent loop'
708
709
 
709
 
    format = 'Conflict moving %(path)s into %(conflict_path)s. %(action)s.'
 
710
    format = 'Conflict moving %(conflict_path)s into %(path)s.  %(action)s.'
710
711
 
711
712
    def action_take_this(self, tree):
712
713
        # just acccept bzr proposal