⇤ ← Revision 1 as of 2012-09-29 23:32:39
Size: 1523
Comment:
|
Size: 1501
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 17: | Line 17: |
=== Features === |
Sync Extension
This extension is not distributed with Mercurial.
Author: Graham Helliwell Co-author: Chris Moore
Web page: https://bitbucket.org/GrahamHelliwell/hg-sync
Repository: https://bitbucket.org/GrahamHelliwell/hg-sync
Overview
The sync extension provides a useful option for users making changes unlikely to conflict with other repository users, for example Technical Authors and Graphical Designers in an otherwise developer-only project. The intended workflow with the tool is: sync, change, commit, sync. The sync command pulls from remote. If there are local-only committed changes, they are merged (and the merge is committed). Then a push is performed. This is a non-atomic command such that pulled changes remain if later parts fail.
Configuration
To install the extension, first download the crecord archive from the site above, and extract it to a folder where you prefer to keep extensions (e.g. $HOME/hgext).
Configure your .hgrc file to enable the extension by adding following lines:
[extensions] sync=path/to/sync.py [tortoisehg] #The following line is a list of toolbar tool names separated by spaces. workbench.custom-toolbar = sync [tortoisehg-tools] #Define the sync tool sync.icon = path/to/hg-sync.svg sync.command = hg sync sync.label = sync sync.showoutput = True sync.tooltip = Pull incoming changes, update/merge and push outgoing changes