Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15416410
D8018.id18159.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D8018.id18159.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 10:56 AM (2 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7642460
Default Alt Text
D8018.id18159.diff (2 KB)
Attached To
Mode
D8018: Add even more Subversion unit tests
Attached
Detach File
Event Timeline
Log In to Comment