pull -u with check

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Jul 24 20:48:12 UTC 2022


On 7/21/22 13:51, A. S. Budden wrote:
> Hi
>
> Is there a way to do the equivalent of
>
>     hg update --check
>
> as part of the `-u` option in `hg pull`?  I can't see anything in the 
> documentation but wondered if I was missing something.
>
> At the moment, the only way I can see that would work would be:
>
>     hg pull ; hg update -c
>
> It would be nice to be able to do:
>
>     hg pull -uc
>
> Or, *even better*, it would be lovely to be able to set an option 
> somewhere in the configuration so that `hg pull -u` *always *checks.


Check `hg help config.commands.update.check` this should fit your need

-- 

Pierre-Yves David



More information about the Mercurial mailing list