Mercurial and TortoiseHG - Update remote repository after pushing changes
Asked Answered
C

2

7

When pushing changes to a remote repository, is it not possible to automatically run update there so the changes/files are available?

Cachalot answered 3/8, 2011 at 9:15 Comment(1)
added the hg update command to run remote when pushingCachalot
S
10

Use changegroup hook on the remote side, as described in the Mercurial FAQ.

Salverform answered 3/8, 2011 at 12:52 Comment(0)
A
0

Edit .hg/hgrc on the remote repository and add:

[hooks]
changegroup.UpdateOnPush = hg update
Aristocracy answered 9/5, 2018 at 6:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.