gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: darcs vs tla


From: John A Meinel
Subject: Re: [Gnu-arch-users] Re: darcs vs tla
Date: Thu, 18 Nov 2004 16:28:59 -0600
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

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.

Also, tla mv,rm et al *won't* work in a darcs repository, or a bitkeeper repository, or a svn one.

So then you have to remember where you are again, and what command does what you want.

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.

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.

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.

John
=:->

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]