Re: [commit: ghc] master: Add the new random commit again (6a46b46)

Hi Ian,
since you have pinned a commit that is on a branch, people whose
clones do not track that branch will never see the commit:
$ ( cd libraries/random ; git remote show; git remote show origin )
origin
* remote origin
Fetch URL: https://github.com/ghc/packages-random.git
Push URL: https://github.com/ghc/packages-random.git
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)
This may be the problem what we see. Possibly the 'sync-all' script
could be amended, so that your 'ghc-head' branch is added to the
remote?
Cheers,
Gabor
On 2/5/13, Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6a46b4627d4f3f81d65bf6b5b5c0bc...
---------------------------------------------------------------
commit 6a46b4627d4f3f81d65bf6b5b5c0bcf86607c463 Author: Ian Lynagh
Date: Tue Feb 5 14:08:05 2013 +0000 Add the new random commit again
---------------------------------------------------------------
libraries/random | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/random b/libraries/random index 69bfde2..2117e38 160000 --- a/libraries/random +++ b/libraries/random @@ -1 +1 @@ -Subproject commit 69bfde219bab869729fdbe9c1496371f912bf41e +Subproject commit 2117e38729adaa4f465f3c5b7a8c5c4d77702d3f
_______________________________________________ ghc-commits mailing list ghc-commits@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits

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

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 >
participants (2)
-
Gabor Greif
-
Ian Lynagh