In case of deep clone, make sure there is local branch.

[?]
Apr 25, 2012, 11:49 AM
KJ5JMWXYPUVDQ3IPNZ7C75TGUGZGEEZBETGAWTG4XZNLJ6MS72UAC

Dependencies

  • [2] HE3GX5IP Optimize fetch-git.
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate

Change contents

  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 346
    [2.832]
    [2.832]
    # Make sure there is a local branch
    ($res, $stdout, $stderr) = captureStdoutStderr(600,
    ("git", "checkout", "-f", $branch));
    die "Error making local branch $branch in $clonePath from git repo at `$uri':\n$stderr" unless $res;