Fossil SCM

'sync' command in the web-interface

Closed

3b1533a090eebd0… · opened 16 years, 6 months ago

Type
Feature_Request
Priority
Severity
Minor
Resolution
Fixed
Subsystem
Created
Sept. 25, 2009 8:56 a.m.

Having two fossil servers (cgi), one clone of another. How to sync them, if there no command line access? 'Sync now' button wanted in the admin section.


ron added on 2010-01-27 07:52:35:
Fixed with checkin [fc23960258211b5bc752a82c429d5fb3f3286b67]


drh added on 2010-04-22 15:19:43:
The change above was incorrect and has been removed. This feature request is now reopened.


anonymous added on 2010-04-22 18:27:49:
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:

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

Not much additional network traffic except for the first clone and if the syncup.fossil repository is kept around between syncs instead of rming 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.)

Comments (1)

jan.nijtmans 12 years, 3 months ago

Fixed in [1311841a3c]

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button