Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14398962
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, Dec 23, 3:23 PM (17 h, 35 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6921508
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