How can I combine the Mercurial commands hg pull and hg update into one?
hg pull
hg update
type hg help pull and you will see the -u switch
hg help pull
-u