Received: from spf3.us4.outblaze.com (spf3.us4.outblaze.com [205.158.62.25]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j052TTXs012334 for ; Wed, 5 Jan 2005 02:29:29 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id 187B3539CD for ; Wed, 5 Jan 2005 02:29:30 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cm16g-0003SI-Fq for migo@homemail.com; Tue, 04 Jan 2005 21:41:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cm15G-0002z1-2x for gnu-arch-users@gnu.org; Tue, 04 Jan 2005 21:39:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cm15E-0002xl-RU for gnu-arch-users@gnu.org; Tue, 04 Jan 2005 21:39:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cm15E-0002xf-N6 for gnu-arch-users@gnu.org; Tue, 04 Jan 2005 21:39:36 -0500 Received: from [209.158.45.74] (helo=linuxguru.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cm0tB-0005Tw-N3 for gnu-arch-users@gnu.org; Tue, 04 Jan 2005 21:27:09 -0500 Received: by linuxguru.net (Postfix, from userid 10) id 256573B4028; Tue, 4 Jan 2005 21:27:09 -0500 (EST) Received: by comet.merconline.com (Postfix, from userid 1000) id 79383BCFEF; Tue, 4 Jan 2005 21:26:31 -0500 (EST) To: gnu-arch-users@gnu.org Subject: Re: [Gnu-arch-users] tla archive-setup/init-tree/import In-Reply-To: <41D4DCA5.3090204@arbash-meinel.com> References: <1104468209.8958.167.camel@localhost.localdomain> <41D4DCA5.3090204@arbash-meinel.com> Mail-Folloup-To: never Mail-Copies-To: never Date: Tue, 4 Jan 2005 21:26:31 -0500 Message-Id: <20050105022631.79383BCFEF@comet.merconline.com> From: jblack@merconline.com (James Blackwell) 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: , 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: 2045 Lines: 55 In lists.arch.users, you wrote: > Zenaan Harkness wrote: > >>Why do we have init-tree and import? >> >>As in, from a user perspective, surely these could happen transparently, >>behind the scenes, so that after archive-setup, simply do: >> > > I think it makes sense to have tla commit do the work of tla import, but > I would still want a tla init-tree. To me, 'tla get' says get something > out of the repository, and fail if it doesn't exist. 'tla init-tree' > (could be shortened to 'tla init'?) says I want to create a new entry. In baz, we just removed archive-setup, make-(category|branch|version). We also made -S implicit with import (i.e. import will create the requested information when needed). What I'd like to do is fold import into commit and remove yet another command, but it was decided that midstream imports (import, commit, commit, commit, import again) is a legitimate command. Personally, I feel that was and continues to be a mistake. So we can't quite do that, at least not at this point. But it still leaves open the possibility for commit to call import if necessary. But (there's always a but) there's a minor problem; the user isn't obligated to specify a qvn (qualified version name) with init-tree. So what about the following: $ cp -a my_old_sources sources $ cd sources $ baz init-tree $ [hack up =tagging-method] $ baz commit -s"Initial source imports" baz: A fully qualified version was not specified when init-tree was run. Please run either "baz import [archive/]fully--qualified--version" or "baz tree-version [archive/]fully--qualified--version; baz commit" instead -- James Blackwell Try something fun: For the next 24 hours, give Smile more! each person you meet a compliment! GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D 247A 8A55 DA73 0635 7400 _______________________________________________ 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/