Skip to content

Instantly share code, notes, and snippets.

@master-q
Created June 14, 2012 13:32
Show Gist options
  • Save master-q/2930300 to your computer and use it in GitHub Desktop.
Save master-q/2930300 to your computer and use it in GitHub Desktop.
ghcのブランチでsync-all getが通らない?
$ git clone git://github.com/ghc/ghc.git
$ cd ghc
$ git checkout ghc-7.4.1-release
$ ./sync-all get -b ghc-7.4.1-release
--snip--
== libraries/bytestring: running git config core.ignorecase true
== running git clone git://github.com/ghc/packages-cabal-1.14.git libraries/Cabal -b ghc-7.4.1-release
Cloning into 'libraries/Cabal'...
fatal: remote error:
Repository not found.
git failed: 32768 at ./sync-all line 145.
== Checking for old haddock repo
== Checking for old binary repo
$ ls libraries
Makefile base/ binary/ defineTOP.mk gen_contents_index libraries-footer.txt prologue.txt.in
array/ bin-package-db/ bytestring/ doc/ hscolour.css libraries-header.txt tarballs/
--------------------------------------------
$ git clone git://github.com/ghc/ghc.git
$ cd ghc
$ git checkout remotes/origin/ghc-7.4
$ git diff
diff --git a/packages b/packages
index 6aedd15..3e8259c 100644
--- a/packages
+++ b/packages
@@ -50,7 +50,7 @@ libraries/array - packages/array.git
libraries/base - packages/base.git git
libraries/binary - packages/binary.git git
libraries/bytestring - packages/bytestring.git git
-libraries/Cabal - packages/cabal-1.14.git git
+libraries/Cabal - packages/Cabal.git git
libraries/containers - packages/containers.git git
libraries/deepseq - packages/deepseq.git git
libraries/directory - packages/directory.git git
$ ./sync-all get -b ghc-7.4
--snip--
== running git clone git://github.com/ghc/packages-xhtml.git libraries/xhtml -b ghc-7.4
Cloning into 'libraries/xhtml'...
remote: Counting objects: 111, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 111 (delta 54), reused 76 (delta 35)
Receiving objects: 100% (111/111), 25.55 KiB, done.
Resolving deltas: 100% (54/54), done.
== libraries/xhtml: running git config core.ignorecase true
== Checking for old haddock repo
== Checking for old binary repo
--------------------------------------------
$ git clone git://github.com/ghc/ghc.git
$ cd ghc
$ git checkout ghc-7.4.1-release
$ ./sync-all -r http://darcs.haskell.org get -b ghc-7.4.1-release
--snip--
== running git clone http://darcs.haskell.org/packages/xhtml.git libraries/xhtml -b ghc-7.4.1-release
Cloning into 'libraries/xhtml'...
Note: checking out 'aca0f6eeaea0fbacb492e9a5c1bb4ec35a1b70f7'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
== libraries/xhtml: running git config core.ignorecase true
== Checking for old haddock repo
== Checking for old binary repo
--------------------------------------------
$ git clone http://darcs.haskell.org/ghc.git/
$ git checkout ghc-7.4.1-release
$ ./sync-all get -b ghc-7.4.1-release
--snip--
== running git clone http://darcs.haskell.org/packages/xhtml.git libraries/xhtml -b ghc-7.4.1-release
Cloning into 'libraries/xhtml'...
Note: checking out 'aca0f6eeaea0fbacb492e9a5c1bb4ec35a1b70f7'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
== libraries/xhtml: running git config core.ignorecase true
== Checking for old haddock repo
== Checking for old binary repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment