phase1: do not perform shallow fetches
[buildbot.git] / phase1 / master.cfg
index 991039ffc1b684ed350eb9cafbc8286fbbb7c65e..04879e800f6ebfa17470714bc679dc1ccfc178b7 100644 (file)
@@ -400,7 +400,7 @@ for target in targets:
        factory.addStep(ShellCommand(
                name = "switchbranch",
                description = "Checking out Git branch",
-               command = "if [ -d .git ]; then git fetch --depth=1 && git checkout '%s'; else exit 0; fi" % repo_branch,
+               command = "if [ -d .git ]; then git fetch && git checkout '%s'; else exit 0; fi" % repo_branch,
                haltOnFailure = True,
                doStepIf = IsNoTaggingRequested
        ))