Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9D1nIgM014425 for ; Wed, 13 Oct 2004 01:49:18 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 2EED976F8B for ; Wed, 13 Oct 2004 01:49:20 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHYNX-0002hY-9p for migo@homemail.com; Tue, 12 Oct 2004 21:56:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHYNB-0002hJ-TC for gnu-arch-users@gnu.org; Tue, 12 Oct 2004 21:56:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHYNB-0002h7-GH for gnu-arch-users@gnu.org; Tue, 12 Oct 2004 21:56:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHYNB-0002h4-DW for gnu-arch-users@gnu.org; Tue, 12 Oct 2004 21:56:13 -0400 Received: from [128.255.17.47] (helo=server07.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHYG4-0000wx-Nh for gnu-arch-users@gnu.org; Tue, 12 Oct 2004 21:48:52 -0400 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.12.9/8.12.9) with ESMTP id i9D1mmSZ011067; sent by ; Tue, 12 Oct 2004 20:48:48 -0500 (CDT) Received: from [192.168.1.11] (12-217-241-0.client.mchsi.com [12.217.241.0]) by server11.icaen.uiowa.edu (8.12.9/smtp-service-1.6) with ESMTP id i9D1mlAJ016027; (envelope-from ) Tue, 12 Oct 2004 20:48:47 -0500 (CDT) Message-ID: <416C897F.6080006@johnmeinel.com> Date: Tue, 12 Oct 2004 20:48:47 -0500 From: John Meinel User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Phil Frost Subject: Re: [Gnu-arch-users] [BUG] merging new files into a renamed directory looses the file References: <20041013014319.GA26002@unununium.org> In-Reply-To: <20041013014319.GA26002@unununium.org> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.66n X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0689066778==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 3143 Lines: 95 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0689066778== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4153B08FFDC4ABF024B1FCF6" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4153B08FFDC4ABF024B1FCF6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Phil Frost wrote: > The scenario: > > - Create a branch 'main' with an empty directory 'fu'. > - Tag from this branch two more branches, 'A' and 'B'. > - In 'A', add a file to the directory 'fu'. commit. > - Merge 'A' into 'main' > - In 'B', rename directory 'fu' to 'bar'. commit. > - star-merge 'main' into 'B' > > Expected behavior: > > after merging 'main' into 'B', the file that was added in 'A' is created > in the now renamed directory 'bar', formerly 'fu'. > > Observed behavior: > > after merging 'main' into 'B', a directory 'fu' is created, with the new > file in it. tree-lint reports this directory as "would be source if it > had an id." > > tla version: > > ./src lord@emf.net--2004/package-framework--devo--1.0--patch-5 > ./src/docs-hackerlab lord@emf.net--2004/docs-hackerlab--devo--1.0--base-0 > ./src/docs-tla lord@emf.net--2004/docs-tla--devo--1.0--patch-5 > ./src/hackerlab lord@emf.net--2004/hackerlab--devo--1.0--patch-96 > ./src/tla lord@emf.net--2004/tla--devo--1.3--patch-30 > > This has actually been around for quite some time, and I know it's been debated in the past. (I've been one of the ones that brought it up.) The issue is that right now when you add a file, the parent directories id is not included. (Partially this is because the root directory has no id.) So it's very difficult to determine (probably in some cases impossible) which directory was which. The proposed solution IIRC, was to have patches contain the Id of the parent directory, and to have all directories (even root) have an id. If this *is* the solution, it is more of a tla 2.0 change, since it means changing the archive format, and the local directory format. If this hasn't been submitted as a bug in the past, thank you for submitting it now. John =:-> --------------enig4153B08FFDC4ABF024B1FCF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBbIl/JdeBCYSNAAMRAiV5AKCgdECDW/XPnzASlzXRyMtCPy6LvgCcCBhP 15twXiItbw02S/tHko54AYc= =YTYp -----END PGP SIGNATURE----- --------------enig4153B08FFDC4ABF024B1FCF6-- --===============0689066778== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============0689066778==--