"staging area"?

Daniel Carrera dcarrera at gmail.com
Sun Jun 20 19:36:37 UTC 2010


On Sun, Jun 20, 2010 at 9:19 PM, Masklinn <masklinn at masklinn.net> wrote:
> But generally I'd say I agree with you: there is not much point in being able to commit
> when there is a file in missing (!) mode, either the commit is incorrect (because the file
> should have been removed) or the working copy is in a broken state (the file was lost).
> In any case, I now wonder why hg lets the user commit when the WC is in such a state.
> Would a core maintainer care to chip in?

Indeed. At a minimum it should give you a warning:  "Your working
directory is in an inconsistent state (missing files). Are you sure
you want to commit? [yN]"

Daniel.
-- 
No trees were killed in the generation of this message. A large number
of electrons were, however, severely inconvenienced.



More information about the Mercurial mailing list