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 7423296EE for ; Sat, 1 Oct 2011 06:07:25 +0000 (UTC) Received: (qmail 5422 invoked by uid 500); 1 Oct 2011 06:07:24 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 5192 invoked by uid 500); 1 Oct 2011 06:07:16 -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 5123 invoked by uid 99); 1 Oct 2011 06:07:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 06:07:13 +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 (nike.apache.org: local policy) Received: from [66.111.4.27] (HELO out3.smtp.messagingengine.com) (66.111.4.27) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 06:07:05 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7D6AB23B9A; Sat, 1 Oct 2011 02:06:44 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Sat, 01 Oct 2011 02:06:44 -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=IEyS5wMnnRUXmsY8mRUB5Yz7KvA=; b=LWoEGCixcntNUbp7TKFQTBfITjUq 43/yuSqepEKMxmUwLDwFp1vBSQqMnYICwnzdevi0xtSYDiMZGV+GczCHDumwfcPl fZokzisG+pjY9g9ncHFBpOVfHKsV/GITmffm5RhCFx/GsuGl2eYJnaMHekZ04cDt QUmpLaOuARCbtfo= X-Sasl-enc: hE08hTbc3YQnt4L2dtyX6gpmd31CJq5mcnodlFMTYdZqC+a5bQna7y59AIa17g 1317449203 Received: from daniel3.local (bzq-79-183-219-200.red.bezeqint.net [79.183.219.200]) by mail.messagingengine.com (Postfix) with ESMTPSA id 41A23B40418; Sat, 1 Oct 2011 02:06:43 -0400 (EDT) Date: Sat, 1 Oct 2011 09:06:33 +0300 From: Daniel Shahaf To: Konstantin Kolinko Cc: PR , users@subversion.apache.org Subject: Re: Subversion migration using svnsync from 1.4.6 to 1.7 Message-ID: <20111001060633.GA8360@daniel3.local> References: 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) X-Virus-Checked: Checked by ClamAV on apache.org Konstantin Kolinko wrote on Sat, Oct 01, 2011 at 04:53:01 +0400: > 2011/10/1 PR > > svnsync: E000022: Destination repository already contains revision history; co > > nsider using --allow-non-empty if the repository's revisions are known to mirr > > or their respective revisions in the source repository > > $ svnsync initialize --allow-non-empty file:///path/to/mirror-repos \ > > file:///path/to/repos > > Copied properties for revision 32042. > > $ > > > > but that does not seem to help either. > > Can the same error code produce different text messages? Yes. An error code has a default message associated with it, but when an error object it constructed the callsite can specify an alternative message. > I'd think that the error code in the book is wrong. Though there it is > actually for the "initialize" command. I'm surprised that it's an errno error code rather than a Subversion error code from svn_error_codes.h. (I can tell that by its numeric value.) > If the book is wrong, please report it to the book's mailing list. If you think Subversion should promise a specific error code in this situation, please file a bug against svnsync.