[darcs-users] Command renamings and hide/show
Tanksley, William D. Jr.
WILLIAM.D.TANKSLEY.JR at saic.com
Thu May 13 19:25:48 UTC 2004
From: Kenneth Knowles
>>>* add->control and remove->uncontrol: this removes any confusion
>>> between "darcs remove" and "rm". (Or perhaps "ignore" instead of
>>> "uncontrol", but that has less symmetry.)
>I strongly dislike this change. "add" and "remove" are nicely
>symmetrical, and its very common (and easy to deduce even if
>you didn't know before) that source control will leave a file
>even when it has relinquished control.
I agree that "add" and "remove" are nicely symmetric; the problem is that
"remove" and "rm" are more than symmetric. It's kind of like arch's problem
with "move" and "mv". In fact, it's almost EXACTLY like arch's problem: a
common command that manipulates a file looks like an uncommon command that
manipulates internal data about the file.
I do like the suggestion of "control" and "uncontrol".
By the way, while we're talking about command names, does anyone aside from
myself sometimes have a mental hiccup where you can't remember what the
command is to check things in? All I can remember is that it starts with
"re", and the names that pop to mind are things like "revert", "refresh",
"restore", "redo"... I'm not suggesting that we change it, but if anyone has
a better way of remembering the command, please share it with me.
Come ON, what _was_ that command??? I use it constantly, and I *always* have
to look it up the first time I use it each day. Ah, I just looked it up --
"record". For some reason my brain associates the prefix "re" with the
connotation of "redo", and refuses to allow me to think of any words that
don't use "re" in the same way.
My problem, NOT darcs'. Just asking for help :-).
>On that note, is there a feature of darcs like CVS where you
>say "cvs remove" and anything in the repo that is gone from
>the directory shows up? This would be like --look-for-adds in reverse.
I'd like this too. By the way, if by some chance I were to find that I *had*
deleted a couple of files from the workspace accidentally (not that I'd ever
do anything that silly, ha ha ha), is there a command to tell darcs to
recreate just that file?
More information about the darcs-users