Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60F8375EC for ; Mon, 3 Oct 2011 00:10:49 +0000 (UTC) Received: (qmail 17335 invoked by uid 500); 3 Oct 2011 00:10:47 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 17279 invoked by uid 500); 3 Oct 2011 00:10:47 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 17272 invoked by uid 99); 3 Oct 2011 00:10:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 00:10:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.111.4.26] (HELO out2.smtp.messagingengine.com) (66.111.4.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 00:10:41 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 477EC2A134; Sun, 2 Oct 2011 20:10:20 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute3.internal (MEProxy); Sun, 02 Oct 2011 20:10:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=OfterV4UE5d1HIJmNG3Qgu965nw=; b=E1sl2azHawRGHQWkfnbvWsp6sr3b GYAti8uf+6AiYtstZzV1gXBrDjf3u/IaU4hXtwXZTf2M95q7yKsCxeSPymD8ZhW4 T/b6n0ZHz2SCQyPqWqXZQ2FE7Emk/tKh5TcW6Q68pKsb5zv0zc4PXvDoqrphIyAg Kc2mZNQweosWO3U= X-Sasl-enc: UyNt1aSncQ3b6K4VjUiSRk05zvxM/GEnUsOV7/gNMizVxG20PxkQa35NCBmeZQ 1317600619 Received: from daniel3.local (bzq-79-183-219-200.red.bezeqint.net [79.183.219.200]) by mail.messagingengine.com (Postfix) with ESMTPSA id 00EC28E0685; Sun, 2 Oct 2011 20:10:18 -0400 (EDT) Date: Mon, 3 Oct 2011 02:10:08 +0200 From: Daniel Shahaf To: Kyle Leber Cc: Johan Corveleyn , users@subversion.apache.org Subject: Re: svn merge operation extremely slow Message-ID: <20111003000955.GA24599@daniel3.local> References: <20111001191045.GA25864@daniel3.local> <20111001235546.GA30144@daniel3.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Kyle Leber wrote on Sun, Oct 02, 2011 at 20:05:19 -0400: > Johan, > > I did a little more digging. There were a few different places where svn > seems to get hung up so I ran the gprof report on just the first one (the > merge takes hours otherwise). In this particular case, svn prints out that > it is merging from a small text file while it is hanging for more than a > minute @ 100% CPU. When I examine "lsof", however, it see it actually has a > different file open. This one is a large (15 MB) "binary" file. It turns > out this binary file did not have a property in the trunk (which I think > means it's treated as text, right?). But in the branch it was marked as > octet stream. So perhaps svn is doing a text-based diff on this binary > file because it used to be incorrectly marked as text? > If either side is marked as binary then svn will defer to the "Use merge-right if merge-left == base, else conflict" algorithm. Could you share the value of 'svn proplist --verbose' on both files? Thanks, Daniel