Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17671133
D15522.id37418.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
910 B
Referenced Files
None
Subscribers
None
D15522.id37418.diff
View Options
diff --git a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
--- a/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
+++ b/src/applications/diffusion/engine/DiffusionCommitHookEngine.php
@@ -770,10 +770,10 @@
}
$stray_heads = array();
+ $head_map = array();
if ($old_heads && !$new_heads) {
// This is a branch deletion with "--close-branch".
- $head_map = array();
foreach ($old_heads as $old_head) {
$head_map[$old_head] = array(self::EMPTY_HASH);
}
@@ -798,7 +798,6 @@
'{node}\1');
}
- $head_map = array();
foreach (new FutureIterator($dfutures) as $future_head => $dfuture) {
list($stdout) = $dfuture->resolvex();
$descendant_heads = array_filter(explode("\1", $stdout));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 14, 2:18 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8396960
Default Alt Text
D15522.id37418.diff (910 B)
Attached To
Mode
D15522: Fix an issue with incorrect split head detection in Mercurial after pushing a medley of varied changes
Attached
Detach File
Event Timeline
Log In to Comment