partial hg up -C

Alessandro Dentella sandro.dentella at gmail.com
Thu Sep 16 10:32:07 UTC 2021


On Thu, Sep 16, 2021 at 10:24:19AM +0200, Uwe Brauer wrote:
> Hi
> 
> Sometimes hg status tells me that 5 files are modified but the modification in one or two file are unwanted.
> 
> So what I do is,
> 
>     - hg shelve -i
> 
>     - hg up -C
> 
>     - hg unshelve

I'd use crecord -i, but the result is not the same.

You end up with a working dir with something you want that is uncommitted
whereas crecord allows to pic *and commit* what you want (same friendly UI via
curses).

It all depends if you're ready to commit or if you want to work more on it...

*:-)



More information about the Mercurial mailing list