From owner-svn-src-all@freebsd.org Tue Jun 30 21:29:48 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BCB2F356441; Tue, 30 Jun 2020 21:29:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49xHZ44djmz405c; Tue, 30 Jun 2020 21:29:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 67F2E24DDE; Tue, 30 Jun 2020 21:29:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [10.10.156.45] (unknown [45.85.81.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 42F873ED49; Tue, 30 Jun 2020 23:29:46 +0200 (CEST) From: Dimitry Andric Message-Id: <41B27C33-D023-453B-9DED-5776BE059F56@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_C8D930B8-E2F6-4776-A006-22D57730CC9F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Subject: Re: svn commit: r362681 - in head: contrib/bc contrib/bc/gen contrib/bc/include contrib/bc/locales contrib/bc/manuals contrib/bc/src contrib/bc/src/bc contrib/bc/src/dc contrib/bc/src/history contrib/b... Date: Tue, 30 Jun 2020 23:29:38 +0200 In-Reply-To: <54915302-fad6-730c-8ce7-01c70e97fb6a@freebsd.org> Cc: Ed Maste , John Baldwin , Eric van Gyzen , src-committers , svn-src-all , svn-src-head To: =?utf-8?Q?Stefan_E=C3=9Fer?= References: <202006271202.05RC22oR085945@repo.freebsd.org> <2b7f0d0f-e243-9c9c-f1c0-e700e0bf6d48@FreeBSD.org> <577b1bd1-598a-d3f9-3c23-537b9747612a@vangyzen.net> <8670f956-1ed4-2b87-ee64-d04bc37d6810@freebsd.org> <54915302-fad6-730c-8ce7-01c70e97fb6a@freebsd.org> X-Mailer: Apple Mail (2.3445.104.14) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 30 Jun 2020 21:29:48 -0000 --Apple-Mail=_C8D930B8-E2F6-4776-A006-22D57730CC9F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 30 Jun 2020, at 22:01, Stefan E=C3=9Fer wrote: >=20 > Am 29.06.20 um 20:09 schrieb Ed Maste: >> On Mon, 29 Jun 2020 at 11:27, John Baldwin wrote: >>>=20 >>> I suspect just doing the 'merge --record-only' is the simplest = method >>> assuming Git handles it ok. I suspect since Git ignores mergeinfo = this >>> is fine, but it would be good for Ed to confirm. You can always = restore >>> the tests in the future in contrib/bc when you want to add them. >>=20 >> I think a --record-only merge is the best approach; in any case we >> have a number of these in the tree already and Git will have to deal >> with them. >=20 > $ cd /usr/svn/base/head/contrib/bc >=20 > $ svn merge --record-only ^/vendor/bc/dist > svn: E195016: 'svn+ssh://repo.freebsd.org/base/vendor/bc/dist@362810' > must be ancestrally related to > 'svn+ssh://repo.freebsd.org/base/head/contrib/bc@362810' This is because you are supposed to commit stuff to ^/base/vendor/xxx first, then svn cp it to ^/head/contrib/xxx, at least from Subversion 1.8 onwards. The 'cp' action establishes the ancestral relation. Some of our older contrib areas were imported using cvs2svn, and these also suffer the same problem, i.e. Subversion complains that the vendor and contrib areas are not ancestrally related. > Adding the option --ignore-ancestry to the merge command does not = help. ... > Any idea how to merge from the vendor area in this situation? As far as I know, you have these alternatives: * Delete the contrib/bc tree, and do a fresh svn cp from the vendor area. You will have to apply any customizations on top again. I did something like this to fixup contrib/libc++ in https://svnweb.freebsd.org/base?view=3Drevision&revision=3D287679 * Figure out the right value of the svn:mergeinfo property, and apply that by hand, using svn propset. This will be tricky, and has to be re-done manually every time you want to merge again. * Merge with Subversion 1.7 or earlier. * Ignore all this, merge patches by hand and wait for the Git transition to be completed. -Dimitry --Apple-Mail=_C8D930B8-E2F6-4776-A006-22D57730CC9F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXvuuwgAKCRCwXqMKLiCW o0/nAKC8wDBpcrn8hEK5ngW9G+xQoaI4QQCfUMIlHiagagOueHflQU9O7oKbLLQ= =HtSP -----END PGP SIGNATURE----- --Apple-Mail=_C8D930B8-E2F6-4776-A006-22D57730CC9F--