Page MenuHomePhabricator

Fix a possible fatal on the first push to a cluster repository
ClosedPublic

Authored by epriestley on May 24 2016, 12:15 AM.
Tags
None
Referenced Files
F18876941: D15969.id.diff
Thu, Nov 6, 5:02 AM
F18874920: D15969.diff
Wed, Nov 5, 4:17 PM
F18807339: D15969.id38449.diff
Oct 19 2025, 12:47 AM
F18759819: D15969.id.diff
Oct 6 2025, 6:01 AM
F18757211: D15969.diff
Oct 5 2025, 4:09 PM
F18737674: D15969.diff
Oct 1 2025, 11:55 AM
F17803357: D15969.id38446.diff
Jul 25 2025, 10:06 AM
F17785143: D15969.id38446.diff
Jul 24 2025, 1:56 PM
Subscribers
None

Details

Summary

Fixes T11020. I think this resolves things -- $new_version (set above) should be used, not $new_log directly.

Specifically, we would get into trouble if the initial push failed for some reason (working copy not initialized yet, commit hook rejected, etc).

Test Plan

Made a bad push to a new repository. Saw it freeze before the patch and succeed afterwards.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a possible fatal on the first push to a cluster repository.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 24 2016, 12:53 AM
This revision was automatically updated to reflect the committed changes.