Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
310 stars 59 forks source link

git: Don't show clean error if failing to translate commit hash #115

Closed jerry-skydio closed 1 year ago

jerry-skydio commented 1 year ago

In order to show a better error to the user, catch shell return codes and raise RevupUsageException.

Topic: catch Reviewers: brian-k, aaron

jerry-skydio commented 1 year ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/115 git: Don't show clean error if failing to translate commit hash

jerry-skydio commented 1 year ago
# head base diff date summary
0 426801fa 92bd9efb diff Apr 14 14:19 PM 1 file changed, 6 insertions(+), 2 deletions(-)