From owner-svn-src-all@FreeBSD.ORG Wed Oct 13 00:07:10 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E29C0106566B; Wed, 13 Oct 2010 00:07:10 +0000 (UTC) (envelope-from 20080111.freebsd.org@ab.ote.we.lv) Received: from mx2.nttmcl.com (MX2.nttmcl.com [216.69.68.200]) by mx1.freebsd.org (Postfix) with ESMTP id C2D178FC0C; Wed, 13 Oct 2010 00:07:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx2.nttmcl.com (Postfix) with ESMTP id A4D094DDA5; Tue, 12 Oct 2010 16:47:09 -0700 (PDT) X-Spam-Flag: NO X-Spam-Score: -1.821 X-Spam-Level: X-Spam-Status: No, score=-1.821 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=1.079, BAYES_00=-2.599, FROM_STARTS_WITH_NUMS=1.499] autolearn=no Received: from mx2.nttmcl.com ([127.0.0.1]) by localhost (mx2.nttmcl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q4+KS8WDzyDu; Tue, 12 Oct 2010 16:47:09 -0700 (PDT) Received: from [216.69.70.67] (dyn-v6-67.nttmcl.com [216.69.70.67]) by mx2.nttmcl.com (Postfix) with ESMTPS id 415E74DD93; Tue, 12 Oct 2010 16:47:09 -0700 (PDT) Message-ID: <4CB4F343.2000705@ab.ote.we.lv> Date: Tue, 12 Oct 2010 16:46:11 -0700 From: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: svn-src-all@freebsd.org References: <201010030812.o938CH8S068342@svn.freebsd.org> In-Reply-To: <201010030812.o938CH8S068342@svn.freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Hans Petter Selasky Subject: svnsync broken, workaround available (was Re: svn commit: r213379 - head/sys/dev/usb/controller) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 00:07:11 -0000 This commit (r213379) has a couple of stray/toxic directory properties, with an equal sign ("=") in their name, e.g. "svn:keywords=FreeBSD=%H" whose value is "xhci.c" :-p. Running svnsync to mirror this revision to a remote repository over DAV (http: or https:) will result in "400 Bad Request". Unaffected are non-DAV schemes, e.g. svn:, svn+ssh:. Symptom: svnsync fails with the following error message: "svnsync: Server sent unexpected return value (400 Bad Request) in response to PROPPATCH request" Cause (for the curious): svnsync tries to copy the toxic properties by creating a PROPPATCH request with ill-formed XML elements, e.g. "xhci.c". Apache mod_dav catches this and rejects the request. Workaround: Remove svn:sync-currently-copying revprop at revision 0 in the destination (mirror) repository, then run "svnsync sync" manually once, accessing the destination repository via svnserve (svn: or svn+ssh:) instead of the usual DAV scheme. Once svnsync successfully replicates the problematic revision, the DAV scheme can be used again. As for how those names have passed the first line of check (in libsvn_client), I have no idea... I wonder, however, if it is possible to perform a repo surgery to remove these properties. Regards, Eugene