Hg by email
Smith, Michael
Michael.Smith at thalesgroup.com.au
Wed Jul 28 03:24:19 UTC 2010
> I want to use mercurial to keep three completely independent machines
> in sync on a project.
I did this between home and work for a while using bundles. Each user had a repository with localtags representing the state of the remote repositories.
So if you have three users (or stations) called A, B and C, the project repository at B would have two local tags called A and C. To send changes to A a bundle would be created from the tag A to the tip. Ditto for C. Note that you can't use normal global tags for this because tagging creates new revisions. Believe me I tried and a horrible mess resulted.
You need two scripts. One to send and one to receive. Both update the local tags for the remote site.
Regards,
Michael Smith
DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or copyright
material or information that is subject to legal professional privilege. They are for
the use of the intended recipient only. Any unauthorised viewing, use, disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without the
written permission of the owner. If you have received this transmission in error, or
are not an authorised recipient, please immediately notify the sender by return email,
delete this message and all copies from your e-mail system, and destroy any printed
copies. Receipt by anyone other than the intended recipient should not be deemed a
waiver of any privilege or protection. Thales Australia does not warrant or represent
that this e-mail or any documents, files and previous e-mail messages attached are
error or virus free.
--------------------------------------------------------------------------------------
More information about the Mercurial
mailing list