Overview
Artifact ID: | 2dd55d49ef3b0d7b5ad3b026ebe4b376e2298968 |
---|---|
Ticket: | 3b1533a090eebd09da7121ab3fc9e3f6a7fbd6f5
'sync' command in the web-interface |
User & Date: | anonymous 2010-04-22 18:27:49 |
Changes
- Appended to comment:
<hr><i>anonymous added on 2010-04-22 18:27:49:</i><br> Until such time as there is a web ui for this, you can sync them from a remote machine with push/pull commands. Assuming that URL1 and URL2 represent the two remote machines, you would do the following: <pre> fossil clone URL1 syncup.fossil fossil pull URL2 -R syncup.fossil # More pulls from other repositories here if more than 2 fossil push URL1 -R syncup.fossil fossil push URL2 -R syncup.fossil # More pushes to other repositories here if more than 2 rm syncup.fossil </pre> Not much additional network traffic except for the first clone and if the <tt>syncup.fossil</tt> repository is kept around between syncs instead of <tt>rm</tt>ing it (subsequently pulling from URL1 rather than cloning from URL1) network traffic really won't be all that large. (Of course suitable users and passwords with appropriate clone/pull/push privileges will have to be used.)