~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-03-18 02:49:45 UTC
  • mfrom: (3249.4.2 mv.dir.after)
  • Revision ID: pqm@pqm.ubuntu.com-20080318024945-zhs03078h06fbk6l
(Lukas Lalinsky) Make 'mv a b' work for already renamed directories,
 like it does for files. (#107967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
662
662
        if self._inventory is not None:
663
663
            update_inventory = True
664
664
            inv = self.inventory
 
665
            to_dir_id = to_entry[0][2]
665
666
            to_dir_ie = inv[to_dir_id]
666
 
            to_dir_id = to_entry[0][2]
667
667
        else:
668
668
            update_inventory = False
669
669