pull -u with check
Marcos Cruz
mercurial-list at programandala.net
Sun Jul 24 14:13:39 UTC 2022
A. S. Budden escribió/skribis/wrote/scrit (2022-07-21T12:51:38+0100):
> 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
You can create a shell alias in your <.hgrc>, say "pulluc":
----
[alias]
pulluc = !hg pull;hg update -c
----
Note shell aliases start with a "!".
Then `hg pulluc` will do what you need.
Hope this helps.
--
Marcos Cruz
http://programandala.net
More information about the Mercurial
mailing list