Skip to content
Snippets Groups Projects
Commit 372409eb5cd1 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

phab-refresh: do not error out when the stack is empty

Actually, empty stack is easier to get than I expected (and harmless). When a
stack is publish, heptapod will detect the even, empty the stack (triggering CI)
and "forgetting" the branch afterward.

So we stop returning as error in this case.

Differential Revision: https://phab.mercurial-scm.org/D9513
parent f44b9c72f061
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
if [[ $revision_in_stack -eq 0 ]]; then
echo "stack is empty" >&2
exit 1
exit 0
fi
if [[ $revision_on_phab -eq 0 ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment