Bast practice to use MQ with multiple computers?

Weijun Wang Weijun.Wang at Sun.COM
Wed Feb 18 21:23:49 CST 2009


Hi All

I work on a big repo both at home and at work. All my code changes are
saved in MQ patches before they got pushed back into a public repo. So,
in order to continuously working on both side, all I have to do is to
synchronize the patches.

So on the office computer I setup a Dropbox account and put (symlink)
the .hg/patches directory into the Dropbox folder. Back at home, I
symlink the same directory in the Dropbox into my .hg directory. Now
everything looks file because I would have an identical patches
directory across the 2 computers.

The bad thing is about the status file now. Since the 2 computers may
have different qpush/qpop actions, they should have different status.
Now that the status file is the same, and I see error messages like
"abort: popping would remove a revision not managed by this patch queue".

How do you solve this problem? Unfortunately Dropbox have no .hgignore
like features.

Thanks
Max


More information about the Mercurial mailing list