~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
3328
3328
                        content_change = False
3329
3329
                    target_exec = False
3330
3330
                else:
3331
 
                    raise Exception, "unknown kind %s" % path_info[2]
 
3331
                    if path is None:
 
3332
                        path = pathjoin(old_dirname, old_basename)
 
3333
                    raise errors.BadFileKindError(path, path_info[2])
3332
3334
            if source_minikind == 'd':
3333
3335
                if path is None:
3334
3336
                    old_path = path = pathjoin(old_dirname, old_basename)