1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/diffusion
epriestley 66af361f10 Fix a Mercurial issue where split heads would be detected incorrectly
Summary: Ref T5197. When searching for split branch heads, we incorrectly consider descendant heads of other branches. This can cause us to detect a split tip when one does not exist (the old tip is the branch tip, but other descendant heads exist). Instead, consider only heads on the same branch.

Test Plan:
Repro is something like this:

  - `hg update default`
  - `hg branch branch1; hg commit ...`
  - `hg push`
  - `hg update default; hg commit ...`
  - `hg push` - Previously, we would find the head of `branch1` and incorrectly account for it as a head of `default`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5197

Differential Revision: https://secure.phabricator.com/D9308
2014-06-03 17:07:49 -07:00
..
application (Redesign) Clean up older "Tile" code 2014-06-03 15:47:27 -07:00
capability Add global "push" policy to Repositories 2013-10-29 15:32:40 -07:00
conduit Provide a rough, unstable API for reporting coverage into Diffusion 2014-05-17 16:10:54 -07:00
config Specify an ssh port for Diffusion when running against the grain 2013-12-11 12:11:13 -08:00
controller Allow repositories to be deleted using ./bin/remove. 2014-06-02 17:11:58 -07:00
data Allow users to receive email about pushes via Herald 2014-03-26 13:51:15 -07:00
doorkeeper fix query for doorkeeper 2014-04-29 15:12:04 -07:00
engine Fix a Mercurial issue where split heads would be detected incorrectly 2014-06-03 17:07:49 -07:00
events Various linter fixes. 2014-02-26 12:44:58 -08:00
exception Throw a more tailored exception after failing to resolve a ref 2014-05-13 13:52:33 -07:00
herald Allow users to receive email about pushes via Herald 2014-03-26 13:51:15 -07:00
panel Make many actions require high security 2014-04-30 17:44:59 -07:00
protocol Fix loop in svnserve workflow for large binaries 2013-12-18 17:48:29 -08:00
query Remove commit from DiffusionRequest 2014-05-13 13:53:06 -07:00
remarkup Add a Diffusion repository remarkup rule 2013-12-31 11:08:08 -08:00
request Use stable commit identifier to load repository commit 2014-05-22 10:39:06 -07:00
response Allow Phabricator to serve Mercurial repositories over HTTP 2013-11-06 18:00:42 -08:00
ssh Fix SVN translation of "add-file" protocol frames over SSH 2014-04-01 08:23:48 -07:00
view Move Push log rendering to SearchEngine 2014-05-13 14:00:24 -07:00
DiffusionLintSaveRunner.php Provide a rough, unstable API for reporting coverage into Diffusion 2014-05-17 16:10:54 -07:00