update while pushing

Matt Mackall mpm at selenic.com
Sun Jul 10 22:18:08 UTC 2005


On Fri, Jul 08, 2005 at 07:30:17PM +0200, Vadim Lebedev wrote:
> 
> I've found out that when i do hg push,  the destinatio working directory 
> is not updated
> so i've tried to imlement a fix for this.

I'm afraid I don't like this idea.

The primary purpose of push is to push to a server, not a client. A
server has little to no need of a working directory. If you're pushing
to a client, you're either doing something wrong or pushing to
yourself. In which case you probably ought to be doing a pull instead.

Also, update often needs to be interactive. The best (only) way to
deal with this is with an actual interactive session.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list