Death to "hg update -C"

Alpar Juttner ajuttner.list at googlemail.com
Thu Jul 23 05:33:23 CDT 2009


> >
> > No, it cannot be fixed. There are countless users, scripts, and even
> > paper books that know about --clean. It is here forever.
> 
> Right! And this is a good thing. But I didn't mean: change the
> semantics nor remove the option. The message subject was a bit
> provocative maybe, sorry.
> 
> Making it less destructive by adding "undo" functionality shouldn't
> change the functionality apart from growing the repository, not?

The possibility of saving local modification would have another
use-case. Currently 'hg import --exact' does not work if you have any
local modification. With this feature implemented, 'hg import --exact'
could first save the local modifications, import the patch then could
restore everything.

Regards,
Alpar




More information about the Mercurial mailing list