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