From: Tay Ray Chuan <rctay89@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Thomas Schlichter <thomas.schlichter@web.de>,
willievu <willievu@dev.java.net>,
Sean Davis <sdavis2@mail.nih.gov>,
git@vger.kernel.org
Subject: Re: git http-push and MKCOL error (22/409)
Date: Mon, 17 Aug 2009 12:58:25 +0800 [thread overview]
Message-ID: <be6fef0d0908162158y429c4b5fgb9138151446e39ef@mail.gmail.com> (raw)
In-Reply-To: <7veirb5z9a.fsf@alter.siamese.dyndns.org>
Hi,
On Mon, Aug 17, 2009 at 3:34 AM, Junio C Hamano<gitster@pobox.com> wrote:
> The report said:
>
> MKCOL 98fd7fb8f32843c1bb40bd195a2f1cd6cab0751d failed, aborting (22/409)
>
> As far as I can see you are trying (in http-push.c::start_mkcol()) to
> create the two-hexdigit fan-out directory (i.e. "98" for this example); it
> is strange to see a request to create the full 40-hexdigit collection in
> the first place.
Yes, you're right, but git prints out the full SHA-1 hash even though
it is actually referring to the 2-hexdigit directory that it failed to
create/verify, for whatever reason.
> In another thread you responded to earlier:
>
> http://thread.gmane.org/gmane.comp.version-control.git/125933/focus=125972
>
> the original report did not give the exact error message, but in that one,
> instead of failing to create 40-hexdigit collection like this, I am
> guessing that it fails with something like "MKCOL 'refs' failed".
I guess by "original report" you refer to Thomas' initial email: yes,
he (unwittingly) did provide theerror code in the subject line, the
part which says (22/409). It actually means (<curl return code>/<http
return code>). Referring again to
http://www.webdav.org/specs/rfc4918.html#rfc.section.9.3.1:
409 (Conflict) - A collection cannot be made at the Request-URI until
one or more intermediate collections have been created. The server
must not create those intermediate collections automatically.
meaning one or more parent directories weren't created.
Based on this and his procedure, I'm guessing that there's something
wrong with his setup.
> *1* Not necessarily in the sense the client is broken but in the sense
> that the server-client combination does not work for the reporter.
Indeed.
--
Cheers,
Ray Chuan
next prev parent reply other threads:[~2009-08-17 5:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be6fef0d0908162158y429c4b5fgb9138151446e39ef@mail.gmail.com \
--to=rctay89@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=sdavis2@mail.nih.gov \
--cc=thomas.schlichter@web.de \
--cc=willievu@dev.java.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).