Last active
September 10, 2015 17:50
-
-
Save dcarral/688be9a194b38b2c3aa4 to your computer and use it in GitHub Desktop.
Bash one-liner to close acepted code revisions through arcanist. Avoids the annoying "close-revision requires exactly one revision" warning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
arc list | awk '/.*Accepted.*/ {print $2}' | tr -d ":" | xargs -n 1 arc close-revision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment