1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src
epriestley 763a049f74 Possibly fix issue where refs engine finds empty refs?
Summary:
@mbishopim3 reported an issue in IRC:

> mbishopim3: epriestley: "Error updating working copy: Commit "" has not been discovered yet! Run discovery before updating refs." any ideas?

I can't reproduce it and it went away for him, but one theory is that we're getting here and git/hg are spitting out nothing, which we incorrectly parse as `array("")` when we intend `array()`.

Test Plan:
Pushed some new commits, ran `bin/repositoy refs X`, got expected results.

I can't actually reproduce the bug, but this might fix it and appears to make the code more correct.

Reviewers: btrahan

Reviewed By: btrahan

CC: mbishopim3, aran

Differential Revision: https://secure.phabricator.com/D8326
2014-02-24 14:39:44 -08:00
..
aphront Use JSON, not PHP serialization, for XHProf profiles. 2014-02-24 04:16:52 -08:00
applications Possibly fix issue where refs engine finds empty refs? 2014-02-24 14:39:44 -08:00
docs Improve Windows install instructions 2014-02-24 12:20:53 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
view Fix a type issue with FormView juggling 2014-02-24 12:20:49 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Calendar upgrades 2014-02-24 10:04:23 -08:00