~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset.py

  • Committer: Robert Collins
  • Date: 2005-08-25 12:46:42 UTC
  • mfrom: (1116)
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050825124642-45ed1cd74db10370
merge from mpool

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
    
1006
1009
    def missing_parent(self, pathname):
1007
1010
        parent = os.path.dirname(pathname)
1008
1011
        raise Exception("Parent directory missing for %s" % pathname)
1081
1084
    :rtype: Dictionary
1082
1085
    """
1083
1086
    if conflict_handler is None:
1084
 
        conflict_handler = ExceptionConflictHandler()
 
1087
        conflict_handler = ExceptionConflictHandler(dir)
1085
1088
    temp_dir = os.path.join(dir, "bzr-tree-change")
1086
1089
    try:
1087
1090
        os.mkdir(temp_dir)