Revert "Use git fetch --all to update local clone in stead of git pull. Also, do not use --branch in initial clone."

[?]
Apr 10, 2012, 8:04 AM
HABC6L4GN66AIJKCNKM3ZHGNBYWNAZK4T4GM5WGJYQE77ZWGRRQAC

Dependencies

  • [2] PNPT3Y7R Use git fetch --all to update local clone in stead of git pull. Also, do not use --branch in initial clone.
  • [3] CHQEG6WY Hydra/29: Added timeout to svn/git checkouts, job evaluation
  • [4] BK24VA6Q * for git inputs, check latest revision of branch (defaults to master for now), if there is change, only use input if last checkout was > hour ago.
  • [5] BMSQD2ZH Indentation
  • [6] C7CXMZ66 hydra: do not perform git clone every time. in stead work on local clone and pull
  • [7] UO67NQMR Change `fetchInputGit' to do `git clone -b BRANCH' instead of `git clone'.
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate

Change contents

  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 331
    [3.271][2.0:49]()
    ("git", "clone", $uri, $clonePath));
    [3.271]
    [3.320]
    ("git", "clone", "--branch", $branch, $uri, $clonePath));
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 338
    [3.175][2.50:86]()
    ("git", "fetch", "--all"));
    [3.175]
    [3.483]
    ("git", "pull"));