Page MenuHomePhabricator

D8018.diff
No OneTemporary

D8018.diff

Index: src/applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php
===================================================================
--- src/applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php
+++ src/applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php
@@ -406,6 +406,98 @@
$repository,
$commits,
array(
+ '15' => array(
+ array(
+ '/',
+ null,
+ null,
+ DifferentialChangeType::TYPE_CHILD,
+ DifferentialChangeType::FILE_DIRECTORY,
+ 0,
+ 15,
+ ),
+ array(
+ '/file_copy',
+ null,
+ null,
+ DifferentialChangeType::TYPE_MULTICOPY,
+ DifferentialChangeType::FILE_NORMAL,
+ 1,
+ 15,
+ ),
+ array(
+ '/file_copy_x',
+ '/file_copy',
+ '12',
+ DifferentialChangeType::TYPE_MOVE_HERE,
+ DifferentialChangeType::FILE_NORMAL,
+ 1,
+ 15,
+ ),
+ array(
+ '/file_copy_y',
+ '/file_copy',
+ '12',
+ DifferentialChangeType::TYPE_MOVE_HERE,
+ DifferentialChangeType::FILE_NORMAL,
+ 1,
+ 15,
+ ),
+ array(
+ '/file_copy_z',
+ '/file_copy',
+ '12',
+ DifferentialChangeType::TYPE_MOVE_HERE,
+ DifferentialChangeType::FILE_NORMAL,
+ 1,
+ 15,
+ ),
+ ),
+
+ // Add a file from a different revision
+ '14' => array(
+ array(
+ '/',
+ null,
+ null,
+ DifferentialChangeType::TYPE_CHILD,
+ DifferentialChangeType::FILE_DIRECTORY,
+ 0,
+ 14,
+ ),
+ array(
+ '/file',
+ null,
+ null,
+ DifferentialChangeType::TYPE_COPY_AWAY,
+ DifferentialChangeType::FILE_NORMAL,
+ 0,
+ 14,
+ ),
+ array(
+ '/file_1',
+ '/file',
+ '1',
+ DifferentialChangeType::TYPE_COPY_HERE,
+ DifferentialChangeType::FILE_NORMAL,
+ 1,
+ 14,
+ ),
+ ),
+
+ // Property change on "/"
+ '13' => array(
+ array(
+ '/',
+ null,
+ null,
+ DifferentialChangeType::TYPE_CHANGE,
+ DifferentialChangeType::FILE_DIRECTORY,
+ 1,
+ 13,
+ ),
+ ),
+
// Copy a directory, removing and adding files to the copy
'12' => array(
array(

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 24, 6:55 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7642460
Default Alt Text
D8018.diff (2 KB)

Event Timeline