summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-09 09:47:16 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-09 09:54:44 -0300
commitc2a4964f0876fdda8646ab433ebd8474dafa9cce (patch)
tree1c2bd1820079e10a050370ffc45c58f4294c5e8e
parentb59c8883c85124d5ecdb55f551e6bf271239973d (diff)
Do not try to apply abandonned revisions
-rwxr-xr-xgit-phab3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-phab b/git-phab
index e1eab5b..2479e23 100755
--- a/git-phab
+++ b/git-phab
@@ -1502,6 +1502,9 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri)
for p in depends:
revision, diff = self.get_revision_and_diff(phid=p)
+ if revision.get('statusName') == 'Abandoned':
+ continue
+
if self.has_been_applied(revision):
continue