Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2010-11-02 13:28:11
Size: 1154
Editor: RyanSeto
Comment:
Revision 3 as of 2010-11-02 16:52:35
Size: 1497
Editor: RyanSeto
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


CategoryExtensionsByOthers

RemoteUpdateExtension (last edited 2013-09-01 02:01:21 by KevinBot)