If you can get access to the remote repository, you could install a hook for when changegroups come in, and perform an hg update
when that happens.
A quick check shows this in the FAQ (question 4.21), but to summarize/duplicate: edit the .hg/hgrc
file on the remote repository, and add the following lines:
[hooks]
changegroup = hg update
Whenever the remote repository gets pushed to (or when it performs a pull
), it will update to the latest changeset.
Some caveats - this may fail if any changes have been made to the files on the remote side (you could use hg update -C
instead). Also, if you have pushed any anonymous branches (which you would have to consciously force), you may not update to what you want to update to.