hg push and update together in one step

Matt Mackall mpm at selenic.com
Wed Aug 8 12:38:27 CDT 2007


On Wed, Aug 08, 2007 at 10:57:36PM +0530, Seema Gupta wrote:
> Hi Everybody,
> 
> I know we can do pull and update in one step using fetch.......Do we 
> have a similar plugin/extension/any other way of pushing changes to a 
> repository and running hg update on the target repository in one step?

No, and you generally don't want to do it. A working directory implies
someone working in that directory, and things would get ugly if things
changed under their feet when someone pushed to them.

If you must do it, you can use a hook.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list