mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
b2685b6709
Previously, if you were not the last person to publish to the playground, your playground branch would be behind the remote and trying to push to it would fail. This commit attempts to pull the changes before updating owl so that even if you were not the last person to push to the playground, as long as the pull is a fast-forward, publishing to the playground won't fail. This commit also adapts some of the status number manipulation to use bitwise or instead of addition, since return status code can be both positive or negative and may cancel one another. Using bitwise or ensures than any non-zero code will make the status non-zero and stay that way.