anybox / anybox.recipe.odoo

Buildout recipe for Odoo >=8. For older versions please use anybox.recipe.openerp
http://docs.anybox.fr/anybox.recipe.odoo/current/
GNU Affero General Public License v3.0
25 stars 63 forks source link

Mute exception when trying to pull SHA from merge-remote #106

Closed thomaspaulb closed 3 years ago

thomaspaulb commented 7 years ago

I found that fetch_sha_from_remote always tries to pull from origin, and in case of pinned merges in another repo that fails because the branch is not found.

This workaround mutes the error because afterwards, git pull http://some_url some_sha23897abc will mostly succeed anyway, so there is no need to stop the flow.

Should address #94 as well.

StefanRijnhart commented 3 years ago

Found to be redundant after https://github.com/anybox/anybox.recipe.odoo/commit/c8948875402902c1ec7e7592d839f196b49888f0#diff-e3c884172ce5feb7095a934b88af6da2d4c4ccaaafc7b87bfab2b8167ad6e446L416-R417