Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 7da48b52208aad81781faa32689dcdddada714aa
      
https://github.com/NixOS/hydra/commit/7da48b52208aad81781faa32689dcdddada714aa
  Author: Rob Vermaas <[email protected]>
  Date:   2012-04-25 (Wed, 25 Apr 2012)

  Changed paths:
    M src/lib/Hydra/Helper/AddBuilds.pm

  Log Message:
  -----------
  remove origin from git pull call, to get rid of fatal: fetch --all does not 
take a repository argument error


diff --git a/src/lib/Hydra/Helper/AddBuilds.pm 
b/src/lib/Hydra/Helper/AddBuilds.pm
index 5efa6f2..3a81cb5 100644
--- a/src/lib/Hydra/Helper/AddBuilds.pm
+++ b/src/lib/Hydra/Helper/AddBuilds.pm
@@ -341,7 +341,7 @@ sub fetchInputGit {
         # local branch for each heads of the remote repository.  This is
         # necessary to provide a working git-describe.
         ($res, $stdout, $stderr) = captureStdoutStderr(600,
-            ("git", "pull", "--ff-only", "-fu", "--all", "origin"));
+            ("git", "pull", "--ff-only", "-fu", "--all"));
         die "Error pulling latest change from git repo at `$uri':\n$stderr" 
unless $res;
     } else {
         # This command force the update of the local branch to be in the same 
as


================================================================

_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to