[PATCH 0 of 3] Add a 'forget' command for untracking files
Steve Losh
steve at stevelosh.com
Mon Jun 1 22:38:42 CDT 2009
On May 31, 2009, at 4:44 PM, Marti Raudsepp wrote:
> On Sun, May 31, 2009 at 10:28 PM, Greg Ward <greg-hg at gerg.ca> wrote:
>> Sounds like a good idea to me. I always scratch my head in confusion
>> when reading the "hg remove" help, and it only just occurred to me
>> that *it's not me, it's the syntax*.
>
> Then why not just change the options to the 'remove' command, like
> adding --keep for this purpose?
>
> Marti
'remove --keep' also sounds strange to me.
I'm trying to think of a better way to word it, and 'remove --from-
branch-only' is the only thing that comes to mind, but that sounds too
wordy.
I still like the idea of having separate commands for removing (from
disk) and forgetting (from the branch/repo) because removing from disk
is destructive (if there are uncommitted changes in the to-be-removed
file). I don't think it necessarily needs to be a top-level command
like I made it it the patch though.
--
Steve
More information about the Mercurial-devel
mailing list