
5 Feb
2013
5 Feb
'13
10:16 a.m.
Hi Ian! I did $ (cd libraries/random; git remote set-branches --add origin ghc-head) $ ./sync-all pull that fixed it. Trying your suggestion: $ mv libraries/random libraries/random-keep $ ./sync-all get ... == running git submodule init == running git submodule update >From http://darcs.haskell.org/libraries/random * [new branch] ghc-7.2 -> origin/ghc-7.2 * [new branch] ghc-7.4 -> origin/ghc-7.4 * [new branch] ghc-head -> origin/ghc-head * [new branch] master -> origin/master * [new tag] ghc-darcs-git-switchover -> ghc-darcs-git-switchover >From http://darcs.haskell.org/libraries/random * [new tag] 2007-09-13 -> 2007-09-13 * [new tag] 2008-05-28 -> 2008-05-28 * [new tag] 2009-06-25 -> 2009-06-25 * [new tag] 6_10_branch_has_been_forked -> 6_10_branch_has_been_forked * [new tag] Initial_conversion_from_CVS_complete -> Initial_conversion_from_CVS_complete * [new tag] arity-anal-branch-point -> arity-anal-branch-point * [new tag] cmm-merge2 -> cmm-merge2 * [new tag] ghc-6_8_branched_2007-09-03 -> ghc-6_8_branched_2007-09-03 * [new tag] nhc98-1-18-release -> nhc98-1-18-release * [new tag] random_2007-05-24 -> random_2007-05-24 Submodule path 'libraries/random': checked out '2117e38729adaa4f465f3c5b7a8c5c4d77702d3f' Yeah, so this works too. Interesting factlet: After I went back to my original repo $ rm -rf libraries/random $ mv libraries/random-keep/ libraries/random I did $ ./sync-all get ... == running git submodule update Submodule path 'libraries/random': checked out '2117e38729adaa4f465f3c5b7a8c5c4d77702d3f' So it appears that the './sync-all pull' command is not enough for folks to switch the branches. This should be communicated (or 'sync-all' fixed). Cheers, Gabor On 2/5/13, Ian Lynaghwrote: > > Hi Gabor, > > On Tue, Feb 05, 2013 at 03:23:11PM +0100, Gabor Greif wrote: >> >> since you have pinned a commit that is on a branch, people whose >> clones do not track that branch will never see the commit: > > As far as I can see it's working now. If you're still having problems, > does > > git pull > rm -rf libraries/random > ./sync-all get > > fix it? > > > Thanks > Ian > > > _______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://www.haskell.org/mailman/listinfo/ghc-devs >