From: Tay Ray Chuan Date: Sat, 15 Aug 2009 01:28:12 GMT Subject: Re: http-push sends MKCOL command to create remote directory MKCOL http://user@server:80/url/.git/refs/ that already exists Message-ID: In-Reply-To: <1250264521299-3445796.post@n2.nabble.com> Hi, On Fri, Aug 14, 2009 at 11:42 PM, willievu wrote: > Is MKCOL expected even for existing directory in the remote repository?  Is > this a WebDAV server problem that 500 is returned? Yes, you should expect MKCOLs to be done on directories that already exist. On my Apache server with WebDAV, when a MKCOL is done on a directory that already exists, it returns 405. Reading the WebDAV specs (http://www.webdav.org/specs/rfc4918.html#rfc.section.9.3.1): 405 (Method Not Allowed) - MKCOL can only be executed on an unmapped URL. So this behaviour is accounted for in the spec itself, and git handles this too. What I think is that your server isn't implementing WebDAV right, or that you have some scripts/mods over the git repository you're serving that are failing leading to the 500 error. -- Cheers, Ray Chuan