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 iAINCNLo014699 for ; Thu, 18 Nov 2004 23:12:24 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf3.us4.outblaze.com (Postfix) with ESMTP id B678C53A5E for ; Thu, 18 Nov 2004 23:12:27 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUvar-0005ua-P5 for migo@homemail.com; Thu, 18 Nov 2004 18:21:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUvaC-0005rO-5e for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 18:20:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUvaB-0005r0-8H for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 18:20:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUvaB-0005qw-3Q for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 18:20:55 -0500 Received: from [144.140.71.20] (helo=gizmo10ps.bigpond.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CUvRC-0003yV-FX for gnu-arch-users@gnu.org; Thu, 18 Nov 2004 18:11:39 -0500 Received: (qmail 14209 invoked from network); 18 Nov 2004 23:11:36 -0000 Received: from unknown (HELO psmam11.bigpond.com) (144.135.25.100) by gizmo10ps.bigpond.com with SMTP; 18 Nov 2004 23:11:36 -0000 Received: from cpe-144-132-221-212.nsw.bigpond.net.au ([144.132.221.212]) by psmam11.bigpond.com(MAM REL_3_4_2a 225/11350622) with SMTP id 11350622; Fri, 19 Nov 2004 09:11:36 +1000 Received: by poolcompsonline.com (Postfix, from userid 1000) id BB28279641; Fri, 19 Nov 2004 10:14:25 +1100 Subject: Re: [Gnu-arch-users] Re: darcs vs tla From: Zenaan Harkness To: John A Meinel In-Reply-To: <419D222B.6080600@arbash-meinel.com> References: <20041116213258.GA16695@suffields.me.uk> <419A7430.8050300@mdl.com> <77F65340-381A-11D9-A1EA-000A959B67D6@seyza.com> <419ABADB.5020506@arbash-meinel.com> <419B7885.9030903@arbash-meinel.com> <419B8347.3060401@arbash-meinel.com> <419B9909.3030504@arbash-meinel.com> <2CE15774-39A8-11D9-8075-000393CFE6B8@spy.net> <1100816475.3025.30.camel@localhost.localdomain> <419D222B.6080600@arbash-meinel.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1100819665.3025.116.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 19 Nov 2004 10:14:25 +1100 Cc: arch 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: 3839 Lines: 97 On Fri, 2004-11-19 at 09:28, John A Meinel wrote: > Zenaan Harkness wrote: > > > > > This is something I strongly believe to be worthwhile from a users point > > of view - where it makes sense of course, have only one way to do thing. > > Only have multiple mechanisms when you _need_ them. > > > > I personally prefer a unix-like command subspace, as in tla mv, tla ln, > > tla cp, etc. Having to remember which operations are "tla" commands and > > which are plain unix is unnecessary thought-overhead, in my opinion! > > > > cheers > > zen > > > > This is where I semi-disagree. I'm fine with having a set of commands > (tla cp, tla mv, tla...) which always work. And that will support people > who want the "completely consistent" view. > > But if I know what's going on, and don't like having to type 4 extra > characters each time, or I want to use say Nautilus (or windows > explorer). It would be nice if it would do what I want. Actually I agree with this too. If it can work, it should. I would like a fully consistent "sub-" command namespace though... > Also, tla mv,rm et al *won't* work in a darcs repository, or a bitkeeper > repository, or a svn one. If the semantics of the respective SCMs are different - if the behaviour is different, you don't want them to be the same, if that will result in potentially painful side-effects. If the semantics are the same, or close enough, alias is your friend :) > So then you have to remember where you are again, and what command does > what you want. That's a different problem - an organizational problem (if you have to use multiple SCMs). There will _always_ be different programs that do sort of similar stuff, with different semantics. If you have to use them or swap between them regularly, that's surely not the problem of any _particular_ program, or a reason not to simplify/unify the command (sub-)namespace of a particular program! (I don't imagine you'd disagree with that either.) In fact, if all these SCMs consistently use a unix-like sub-command namespace, then that will simplify your job, not make it difficult - all you have to remember is _which_ SCM you need, and then they all have $SCM [add|mv|rm|ln|cp|ci|etc] (gratuitous monopoly lock in tactics aside of course). You'd be asking the SCMs that _didn't_ stick to the standard naming conventions to at least support alias's (alii?) for the "standard" command names. > If they all used taglines (again a pipe dream, I know) then they all > could use just plain mv, and they all wouldn't need to re-invent the > wheel all the time. That's not entirely an SCM problem (binary files => OS/ filesystem metadata problem). But you knew that. Perhaps reiser4 will one day become ubiquitous enough to make such an app/solution widely deployable. > And for the case where you can't have a tagline you have tla mv-id (and > no tla mv) which will move a file id that has become dis-associated. Yeah yeah. That's not "newbie friendly". 'Always use "tla mv"' is. > And then on commit or tree-lint you get a nicer error message: > > The file associated with id blah.c.id cannot be found. > Did you move or delete the file [m/d]? m > Supply the new filename: blahblah.c > Renamed blah.c.id -> blahblah.c.id > > The file associated with id bliss.id cannot be found. > Did you move or delete the file [m/d]? d > Are you sure [y/N]? y > Deleted bliss.id. I am a strong advocate of nice error messages (allows me to verbally kick those who didn't read the error message :) - of course, I kick myself when I miss obvious error messages too. cheers zen _______________________________________________ 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/