~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-06 16:38:04 UTC
  • mfrom: (3207.1.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080206163804-6zyjbbfpsm8txfdm
(Lukas) give a better error when using version-info --custom without
        --template

Show diffs side-by-side

added added

removed removed

Lines of Context:
1951
1951
                                                 path_utf8=old_path)
1952
1952
                    # update the source details variable to be the real
1953
1953
                    # location.
1954
 
                    if old_entry == (None, None):
1955
 
                        raise errors.CorruptDirstate(state._filename,
1956
 
                            "entry '%s/%s' is considered renamed from %r"
1957
 
                            " but source does not exist\n"
1958
 
                            "entry: %s" % (entry[0][0], entry[0][1], old_path, entry))
1959
1954
                    source_details = old_entry[1][source_index]
1960
1955
                    source_minikind = source_details[0]
1961
1956
                else: