From 17dc6d5f6ebf3c6d6845329a8f37d85bd99c1cb2 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 14 Dec 2014 19:19:50 -0500 Subject: [PATCH] Using retryfetch on git --- lib/gdbbuilder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/gdbbuilder.py b/lib/gdbbuilder.py index 0bd1260..71fd94e 100644 --- a/lib/gdbbuilder.py +++ b/lib/gdbbuilder.py @@ -37,6 +37,7 @@ class CloneOrUpdateGDBMasterRepo (Git): repourl = 'git://sourceware.org/git/binutils-gdb.git', workdir = WithProperties ("%s/../binutils-gdb-master/", 'builddir'), + retryFetch = True, mode = 'incremental') class CloneOrUpdateGDBRepo (Git): @@ -47,7 +48,8 @@ class CloneOrUpdateGDBRepo (Git): repourl = 'git://sourceware.org/git/binutils-gdb.git', workdir = WithProperties ('%s/binutils-gdb/', 'builddir'), reference = WithProperties ("%s/../binutils-gdb-master/", - 'builddir')) + 'builddir'), + retryFetch = True) class ConfigureGDB (Configure): description = "configure GDB"