1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00
phorge-phorge/src
James Rhodes 67b37a5c1d Fix deletion detection when updating based on ZIP
Summary: When the code to update based on ZIP went to look up the child fragments, it explicitly used the paths provided in the ZIP.  This meant that we could never detect omissions because there'd never be a scenario where a child fragment would return but not exist in the ZIP.  To fix this, the query should be using `withLeadingPath` instead of `withPaths`.

Test Plan: Uploaded a ZIP that omitted a file and saw the `deleteFile` get called (by placing debugging output in the code).

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4205

Differential Revision: https://secure.phabricator.com/D7736
2013-12-09 07:48:54 +11:00
..
aphront When stopping on redirect, show a full stack trace 2013-11-21 14:38:29 -08:00
applications Fix deletion detection when updating based on ZIP 2013-12-09 07:48:54 +11:00
docs Add "r <name>" to jump nav to locate repositories by name 2013-12-05 14:26:38 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Implement support for creating and updating fragments from ZIPs 2013-12-07 13:37:18 +11:00
view Add UI for choosing header color 2013-12-07 10:46:09 -08:00
__celerity_resource_map__.php Add UI for choosing header color 2013-12-07 10:46:09 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Implement viewing versions and downloading patches in Phragment 2013-12-08 12:14:34 +11:00