sapling/ctreemanifest
Durham Goode f758ad8c4c treemanifest: fix bug in NewTreeIterator walk
Summary:
The new tree walk did not check if the compare entry was actually a directory
before traversing it. This caused problems for commits that deleted a file and
replaced it with a directory, since it attempted to recurse down the file, which
had no treemanifest.

Test Plan: Added a test

Reviewers: simpkins, #mercurial, zamsden, rmcelroy

Reviewed By: rmcelroy

Subscribers: net-systems-diffs@, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4055678

Signature: t1:4055678:1477430721:ec679afcb4ff6ea2bbf44927e04f2bfcdee8cc03
2016-10-25 14:39:52 -07:00
..
convert.h Move ctreemanifest and cdatapack out of remotefilelog 2016-09-21 13:55:12 -07:00
manifest_entry.cpp treemanifest: add concept of mutability to manifest, and use it during edits 2016-10-14 16:01:12 -07:00
manifest_entry.h treemanifest: convert all ownership Manifest references to ManifestPtr 2016-10-14 16:01:12 -07:00
manifest_fetcher.cpp treemanifest: convert all ownership Manifest references to ManifestPtr 2016-10-14 16:01:12 -07:00
manifest_fetcher.h treemanifest: convert all ownership Manifest references to ManifestPtr 2016-10-14 16:01:12 -07:00
manifest.cpp treemanifest: allow find() to get files and directories 2016-10-14 16:01:12 -07:00
manifest.h treemanifest: fix build breaks on OSX 2016-10-17 11:47:47 -07:00
py-treemanifest.cpp treemanifest: improve performance of treemanifest.text() 2016-10-21 11:02:15 -07:00
pythonutil.cpp Move ctreemanifest and cdatapack out of remotefilelog 2016-09-21 13:55:12 -07:00
pythonutil.h Move ctreemanifest and cdatapack out of remotefilelog 2016-09-21 13:55:12 -07:00
treemanifest.cpp treemanifest: fix bug in NewTreeIterator walk 2016-10-25 14:39:52 -07:00
treemanifest.h treemanifest: fix treemanifest.flags() when the file doesn't exist 2016-10-14 16:01:12 -07:00