Size: 1154
Comment:
|
Size: 1497
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from RemoteUpdate | |
Line 27: | Line 28: |
To update the default remote repository to revision 11 | When you run rupdate it will first perform a push to the remote repository to ensure that the revision exists at the remote location. Then it will run the "hg update" command at the remote location. If you have not setup passwordless authentication you will be asked for a password more than once. To update the default remote repository to revision 11. |
Remote Update
This extension is not distributed with Mercurial.
Author: Ryan Seto
Mercurial Extension: http://bitbucket.org/MrWerewolf/rupdate
TortoiseHg GUI Extension: binaries | source
Overview
Remote Update is an extension for Mercurial (Hg) that adds the ability to update a remote repository's working directory to a specified revision if the remote repository is hosted via ssh.
This can help simplify the process for maintaining a website that is a Mercurial repository with it's own working directory.
Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] rupdate = /path/to/rupdate
Usage
When you run rupdate it will first perform a push to the remote repository to ensure that the revision exists at the remote location. Then it will run the "hg update" command at the remote location. If you have not setup passwordless authentication you will be asked for a password more than once.
To update the default remote repository to revision 11.
$ hg rupdate 11 searching for changes no changes found Updating the remote repository to revision: 11 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Remote repository updated