Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deployer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
deployer
Commits
f90a4c9b
Commit
f90a4c9b
authored
Jan 01, 2024
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try retrying once the bzr pull operation if it fails
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
51a43724
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
utils/bzr.sh
utils/bzr.sh
+4
-1
No files found.
utils/bzr.sh
View file @
f90a4c9b
...
...
@@ -13,7 +13,10 @@ bzr_clone_repo() {
if
[[
!
-d
"
${
dest
}
"
]]
;
then
bzr branch
"
${
url
}
"
"
${
dest
}
"
-q
else
(
cd
"
${
dest
}
"
&&
timeout
-k
11m 10m bzr pull
-q
)
# launchpad's bzr server can be way too flicky... so just retry once
if
!
(
cd
"
${
dest
}
"
&&
timeout
-k
6m 5m bzr pull
-q
)
;
then
(
cd
"
${
dest
}
"
&&
timeout
-k
6m 5m bzr pull
-q
)
fi
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment