~jelmer/brz/tree-reference-fixes

« back to all changes in this revision

Viewing changes to bzrlib/changeset.py

merge merge tweaks from aaron, which includes latest .dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1003
1003
    descend from this class if they have a better way to handle some or
1004
1004
    all types of conflict.
1005
1005
    """
1006
 
    def __init__(self, dir):
1007
 
        self.dir = dir
1008
 
    
1009
1006
    def missing_parent(self, pathname):
1010
1007
        parent = os.path.dirname(pathname)
1011
1008
        raise Exception("Parent directory missing for %s" % pathname)
1084
1081
    :rtype: Dictionary
1085
1082
    """
1086
1083
    if conflict_handler is None:
1087
 
        conflict_handler = ExceptionConflictHandler(dir)
 
1084
        conflict_handler = ExceptionConflictHandler()
1088
1085
    temp_dir = os.path.join(dir, "bzr-tree-change")
1089
1086
    try:
1090
1087
        os.mkdir(temp_dir)