Skip to content
Snippets Groups Projects
Commit 7076c5ae authored by Bhargav Gurappadi's avatar Bhargav Gurappadi
Browse files

Handle cases where using repo command throws an error

Change-Id: I4513d12f7ca1c7043e0d7ae7f292db5b908e98f6
parent b1cf036e
No related merge requests found
......@@ -39,7 +39,7 @@ fi
TREEID=
if [[ -f .repo/manifest.xml ]] ; then
# Tokenize <default revision="x_y_z"/> by '_'
TOKENS=$(repo info -l .repo/manifest | sed -e \ '/merge.*/!d ; s/^.*branch:"// ; s/.*b2g_//g;')
TOKENS=$(repo info -l .repo/manifest 2>/dev/null | sed -e \ '/merge.*/!d ; s/^.*branch:"// ; s/.*b2g_//g;')
MANIFEST_ID=
for T in $TOKENS; do
......
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