summaryrefslogtreecommitdiff
path: root/morph.1.in
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-19 17:14:15 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-20 13:48:33 +0000
commit9cdeacaea8528c1bc090046715374882e9be0e15 (patch)
treee5138900758950e066f2a5f28c6814b6c3151664 /morph.1.in
parent88e8767791d85aa0d01715f04b7e0f311f54759e (diff)
downloadmorph-9cdeacaea8528c1bc090046715374882e9be0e15.tar.gz
sourceresolver: Fix LsTreeError raised when constructing build graph
If you had a repo that was not in your local or remote cache in your definitions, Morph might raise LsTreeError and abort. The code was assuming the repo would already be cached in the local cache by the time it got to detecting build systems, but that's not always true -- if the (reponame, ref) pair was already in the 'resolved_trees' cache but the repo had been deleted from the local Git cache, to name one possibility. Also, the remoterepocache.ls_tree operation can fail if the repo is not hosted in the Trove, so we shouldn't abort the program in that case. Finally, this patch removes an unused variable.
Diffstat (limited to 'morph.1.in')
0 files changed, 0 insertions, 0 deletions