Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15286338
D8133.id18393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
918 B
Referenced Files
None
Subscribers
None
D8133.id18393.diff
View Options
diff --git a/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php b/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php
--- a/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php
+++ b/src/applications/repository/worker/commitchangeparser/PhabricatorRepositorySvnCommitChangeParserWorker.php
@@ -514,6 +514,9 @@
$commit->setRepositoryID($repository->getID());
$commit->setCommitIdentifier($foreign_commit);
$commit->setEpoch(0);
+ // Mark this commit as imported so it doesn't prevent the repository
+ // from transitioning into the "Imported" state.
+ $commit->setImportStatus(PhabricatorRepositoryCommit::IMPORTED_ALL);
$commit->save();
$data = new PhabricatorRepositoryCommitData();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 7:17 PM (5 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7226349
Default Alt Text
D8133.id18393.diff (918 B)
Attached To
Mode
D8133: When creating foreign stubs during SVN import, mark them imported
Attached
Detach File
Event Timeline
Log In to Comment