[PATCH] update: when deactivating a bookmark, print a message

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu May 15 01:22:35 CDT 2014



On 05/14/2014 12:50 PM, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1400096995 25200
> #      Wed May 14 12:49:55 2014 -0700
> # Node ID 8ec9ebbd09addc74ae17cc5f2ea13cb4c732a286
> # Parent  883e268cb860c0ea2eb0faa94114e11c3a4a3893
> update: when deactivating a bookmark, print a message
>
> This helps prevent user confusion when innocent-seeming commands like
> 'hg update -C .' are run.

I love the idea. I always got bitten by bookmark activation or 
desactivation as a side effect of command. This should help a bit on 
this topic.

I would even encourage to add more of this when we automatically enable 
it too.

(Have not looked at the actual patch yet)

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list