On Sun, Oct 29, 2006 at 06:38:12PM +0100, Sylvain Beucler wrote: > On Sun, Oct 29, 2006 at 06:18:51PM +0100, Jim Meyering wrote: > > Sylvain Beucler <[EMAIL PROTECTED]> wrote: > > > I installed gitweb, to browse the repositories: > > > http://cvs.sv.gnu.org/gitweb/ > > > > Sylvain, > > > > I first pushed your little example (dir containing only README), > > and that worked. Then I went to my "master" coreutils git tree > > and pushed it. (I had to use --force, due to the prior push). > > It appeared to do something useful, in that it transferred lots > > of data, but I'm not sure about the error at the end: > > > > $ git push --force [EMAIL PROTECTED]:/srv/git/sources/coreutils.git > > master:refs/heads/master > > updating 'refs/heads/master' > > from c2b7665c47782eca64a41b5495e07baf6ec542ab > > to e24ce7c58d2355b720b523f0bde6e0d2c47cbe68 > > Generating pack... > > Done counting 127692 objects. > > Deltifying 127692 objects. > > 100% (127692/127692) done > > Unpacking 127692 objects > > Total 127692, written 127692 (delta 91752), reused 127181 (delta 91374) > > error: denying non-fast forward; you should pull first > > > > But now, gitweb still shows only the test directory. > > > > http://cvs.sv.gnu.org/gitweb/?p=coreutils.git;a=summary > > > > And a clone: > > > > git-clone -n git://cvs.sv.gnu.org/srv/git/sources/coreutils.git > > > > gets only the tiny test directory, not the 50+MB repo I uploaded. > > > > Does this require manual intervention? > > I hope not. > > I'll try to override my own tiny repo and see. > > I also setup a temp 'test.git' repository for you to experiment with > if needed. > > Feel free to drop by [EMAIL PROTECTED] btw.
I had a little chat at #git and we could not replace the existing master without merging with the previous repository. I'll dig out this some more. Meanwhile I manually replaced refs/heads/master to e24ce7c58d2355b720b523f0bde6e0d2c47cbe68 (you just mentioned it) and I also repacked the repository to a 45MB pack file :) -- Sylvain _______________________________________________ Savannah-help-public mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/savannah-hackers
