~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-09 17:04:46 UTC
  • mfrom: (6055.1.3 822571-bzr-home-unicode)
  • Revision ID: pqm@pqm.ubuntu.com-20110809170446-f1wc1a8fhgnxi4cn
(vila) Decode BZR_HOME with fs encoding to allow unicode homes. (Vincent
 Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
            # when a tree root was deleted / renamed.
83
83
            if kind[0] is None and names[1] == '':
84
84
                continue
 
85
            # Also don't shelve deletion of tree root.
 
86
            if kind[1] is None and names[0] == '':
 
87
                continue
85
88
            if kind[0] is None or versioned[0] == False:
86
89
                self.creation[file_id] = (kind[1], names[1], parents[1],
87
90
                                          versioned)