git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git http-push and MKCOL error (22/409)
@ 2009-08-16 13:57 Thomas Schlichter
  2009-08-16 14:27 ` Tay Ray Chuan
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Schlichter @ 2009-08-16 13:57 UTC (permalink / raw)
  To: Tay Ray Chuan, Junio C Hamano; +Cc: Sean Davis, git

Hello,

I was using git version 1.6.4 and a remote WebDAV repository. But 
unfortunately, git-http-push always returns following error:

schlicht@netbook:~/dummy$ git push
Fetching remote heads...
  refs
  refs/heads
  refs/tags
  refs/heads
  refs/tags
updating 'refs/heads/master'
  from 980385b1032efc0db665dff3ad54068f762af9aa
  to   98fd7fb8f32843c1bb40bd195a2f1cd6cab0751d
    sending 1 objects
MKCOL 98fd7fb8f32843c1bb40bd195a2f1cd6cab0751d failed, aborting (22/409)
Updating remote server info
error: failed to push some refs to 
'https://webdav.smartdrive.web.de/dummy.git'

Current "master" and "next" trees also have this problem. But as git version 
1.6.4 does not have this problem, I was able to bisect it down to commit:

   5424bc557fc6414660830b470dd45774b8f5f281
   http*: add helper methods for fetching objects (loose)

I can always reproduce this problem, so I am willing to test patches to fix 
this regression.

Kind regards,
Thomas Schlichter

^ permalink raw reply	[flat|nested] 13+ messages in thread
* git http-push and MKCOL error (22/409)
@ 2008-09-22 23:51 Sean Davis
  0 siblings, 0 replies; 13+ messages in thread
From: Sean Davis @ 2008-09-22 23:51 UTC (permalink / raw)
  To: git

I built git from source for mac os and after updating curl to the
latest version and installing the latest expat (both from source), I
have git-http-push installed.  I have a bare repository in the webDAV
directory (which was placed there over a webDAV mount, so it appears
that webDAV is working).  When I try to push to it, I get the
following:

sdavis$ git push http://sdavis@example.com/git/stuff.git master
Fetching remote heads...
  refs/
  refs/heads/
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   f1ea50f8f60497ea3eca2355c10c141734db6451
    sending 3070 objects
MKCOL d7a940ff6c7bbc924f6e2d2c319aea22b8b0fdac failed, aborting (22/409)
MKCOL c9ac4c17871308e520a9944e12d846be9f24f91d failed, aborting (22/409)
MKCOL 1ac1bf55510deade68b14debd71357e3d929fe1c failed, aborting (22/409)
MKCOL da5e8ff9649c2b6ee0fde2280163ab4b399a1f1a failed, aborting (22/409)
MKCOL 87fc8ecfa98c36e0f9e44ed772d49d02378fc191 failed, aborting (22/409)
UNLOCK HTTP error 500
error: failed to push some refs to 'http://sdavis@example.com/git/stuff.git'

The apache error log shows:

[Mon Sep 22 19:48:53 2008] [error] [client 156.40.148.25] File does
not exist: /home/www/git/stuff.git/info
[Mon Sep 22 19:48:53 2008] [error] [client 156.40.148.25] File does
not exist: /home/www/git/stuff.git/objects
[Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such
file or directory: Cannot create collection; intermediate collection
does not exist.  [409, #0]
[Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such
file or directory: Cannot create collection; intermediate collection
does not exist.  [409, #0]
[Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such
file or directory: Cannot create collection; intermediate collection
does not exist.  [409, #0]
[Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such
file or directory: Cannot create collection; intermediate collection
does not exist.  [409, #0]
[Mon Sep 22 19:49:47 2008] [error] [client 156.40.148.25] (2)No such
file or directory: Cannot create collection; intermediate collection
does not exist.  [409, #0]

Any ideas?

Thanks,
Sean

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-08-17 17:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-16 13:57 git http-push and MKCOL error (22/409) Thomas Schlichter
2009-08-16 14:27 ` Tay Ray Chuan
2009-08-16 14:52   ` Thomas Schlichter
2009-08-17  4:52     ` Tay Ray Chuan
2009-08-17  5:18       ` Thomas Schlichter
2009-08-17  5:34         ` Thomas Schlichter
2009-08-16 19:34   ` Junio C Hamano
2009-08-17  4:58     ` Tay Ray Chuan
2009-08-17  5:25       ` Thomas Schlichter
2009-08-17  6:08         ` Junio C Hamano
2009-08-17  9:09         ` Tay Ray Chuan
2009-08-17 17:28           ` Thomas Schlichter
  -- strict thread matches above, loose matches on Subject: below --
2008-09-22 23:51 Sean Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).