Bast practice to use MQ with multiple computers?

Max weijun.wang at sun.com
Fri Feb 20 08:07:10 CST 2009


Marcin Kasperski <Marcin.Kasperski <at> mekk.waw.pl> writes:

> 
> > You probably want to take a look at 'hg qinit -c' that will put the patch
> > directory under revision control. You then do 'hg qcommit' to commit your
> > patch state. The 'status' file is automatically ignored.
> >
> > As this is a regular HG repository, you can now share your patch directory
> > between home and work.
> 
> I tried this approach some time ago and remember really ugly errors
> happening if I failed to qpop all patches before sync-ing the main
> repos.  So this procedure is possible, but troublesome (in short you
> should qpop -a on *both* sides, then sync both the main repo and the
> patches repo)
> 

If I can remember to always gpop -a at both sides, there is no need to create a
two-level repo.

Max





More information about the Mercurial mailing list