Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147662466
D36583.1784011833.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D36583.1784011833.diff
View Options
diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -152,7 +152,7 @@
fi
echo '{"names":["'"$diff"'"]}' |
- arc call-conduit -- phid.lookup |
+ arc call-conduit -- phid.lookup | grep -v '^Warning: ' |
jq -r "select(.response != []) | .response.${diff}.phid"
}
@@ -167,7 +167,7 @@
tmp=$(mktemp)
echo '{"names":["'"$diff"'"]}' |
- arc call-conduit -- phid.lookup > "$tmp"
+ arc call-conduit -- phid.lookup | grep -v '^Warning: ' > "$tmp"
status=$(jq -r "select(.response != []) | .response.${diff}.status" < "$tmp")
summary=$(jq -r "select(.response != []) |
.response.${diff}.fullName" < "$tmp")
@@ -272,7 +272,7 @@
"value": ["'"${parentphid}"'"]
}
]}' |
- arc call-conduit -- differential.revision.edit >&3
+ arc call-conduit -- differential.revision.edit >&3 | grep -v '^Warning: '
fi
rm -f "$msg"
return 0
@@ -290,13 +290,13 @@
"constraints": {"phids": ["'"$reviewid"'"]},
"attachments": {"reviewers": true}
}' |
- arc call-conduit -- differential.revision.search |
+ arc call-conduit -- differential.revision.search | grep -v '^Warning: ' |
jq '.response.data[0].attachments.reviewers.reviewers[] | select(.status == "accepted").reviewerPHID')
if [ -n "$userids" ]; then
echo '{
"constraints": {"phids": ['"$(echo -n "$userids" | tr '[:space:]' ',')"']}
}' |
- arc call-conduit -- user.search |
+ arc call-conduit -- user.search | grep -v '^Warning: ' |
jq -r '.response.data[].fields.username'
fi
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 14, 6:50 AM (55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29125142
Default Alt Text
D36583.1784011833.diff (1 KB)
Attached To
Mode
D36583: git-arc: Cope with extra output
Attached
Detach File
Event Timeline
Log In to Comment