Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
7076c5ae
Commit
7076c5ae
authored
10 years ago
by
Bhargav Gurappadi
Browse files
Options
Downloads
Patches
Plain Diff
Handle cases where using repo command throws an error
Change-Id: I4513d12f7ca1c7043e0d7ae7f292db5b908e98f6
parent
b1cf036e
No related branches found
Branches containing commit
Tags
AU_LINUX_GECKO_B2G_KK_3.5.01.04.00.113.086
AU_LINUX_GECKO_B2G_KK_3.5.01.04.00.113.089
AU_LINUX_GECKO_B2G_KK_3.5.01.04.00.113.090
AU_LINUX_GECKO_B2G_KK_3.5.01.04.00.113.091
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
treeid.sh
+1
-1
1 addition, 1 deletion
treeid.sh
with
1 addition
and
1 deletion
treeid.sh
+
1
−
1
View file @
7076c5ae
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment