~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_pyx.pyx

  • Committer: Andrew Bennetts
  • Date: 2009-10-02 05:43:41 UTC
  • mfrom: (4634.52.10 2.0)
  • mto: This revision was merged to the branch mainline in revision 4723.
  • Revision ID: andrew.bennetts@canonical.com-20091002054341-99yxpjenx8cagpxn
Merge lp:bzr/2.0 into lp:bzr, duplicating relevant NEWS entries for 2.1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1202
1202
                        content_change = 0
1203
1203
                    target_exec = False
1204
1204
                else:
1205
 
                    raise Exception, "unknown kind %s" % path_info[2]
 
1205
                    if path is None:
 
1206
                        path = self.pathjoin(old_dirname, old_basename)
 
1207
                    raise errors.BadFileKindError(path, path_info[2])
1206
1208
            if source_minikind == c'd':
1207
1209
                if path is None:
1208
1210
                    old_path = path = self.pathjoin(old_dirname, old_basename)