-
Committer:
John Arbash Meinel
-
Date:
2007-03-22 23:47:20 UTC
-
mto:
(2323.6.10 0.15-integration)
-
mto:
This revision was merged to the branch mainline in
revision
2390.
-
Revision ID:
john@arbash-meinel.com-20070322234720-re8l7jtva8msgbsv
Update DirState._validate() to detect rename errors.
WorkingTree.move() would incorrectly update children of a renamed directory.
(Some of the references would point to the directory instead of the child)
This also adds WorkingTree._validate() which is a no-op for most trees,
and just calls self._dirstate._validate() for WT4 trees.
It then updates test_move() to have the WT validate itself after all tests.