Skip to content
Snippets Groups Projects
Commit 28b682c3 authored by Diego Wilson's avatar Diego Wilson
Browse files

Revert "Parse treeid branch from |repo info| output"

This reverts commit ae64577f.

Change-Id: I853fe6b8ba70932cbb853aabcbbe8587ee89e046
parent a44f55e7
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,8 @@ fi
TREEID=
if [[ -f .repo/manifest.xml ]] ; then
# Tokenize "Manifest branch: x_y_z" by '_'
TOKENS=$(repo info .repo/manifests | head -n1 | cut -d' ' -f3 | sed -e 's/.*\/// ; s/_/ /g;')
# Tokenize <default revision="x_y_z"/> by '_'
TOKENS=$(sed -e \ '/<default.*/!d ; s/^.*revision="// ; s/".*$// ; s/refs\/tags\/// ; s/.*\/// ; s/_/ /g;' .repo/manifest.xml)
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