confusing pull -u behavior

Ted Pavlic ted at tedpavlic.com
Thu Mar 12 21:31:52 CDT 2009


> But ... why should that be built in? A better solution is to use the
> shell to combine Mercurial commands. In this example "hg pull;hg up" is
> what is meant, so why not just use that instead?

Perhaps...

	hg pull && hg up

would be a better solution?

Right now, Mercurial supports aliases (via the alias plugin included 
with hg). Wouldn't it be nice if the alias plugin allowed you to join 
sequences of commands? Something like...

	[alias]
	pullup = pull && up

??

--Ted

-- 
Ted Pavlic <ted at tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.


More information about the Mercurial mailing list