Successful push but changes in pushed file are missing
Martin Geisler
mg at daimi.au.dk
Thu Oct 2 14:18:22 CDT 2008
Juliana Arnolds <Juliana.Arnolds at Sun.COM> writes:
Hi Juliana
> I'm having a problem where changes in my local Mercurial workspace are
> NOT showing up on the remote Mercurial workspace despite the local
> commit and subsequent push to the remote Mercurial workspace being
> successful.
>
> [...]
>
> Does anyone know:
>
> (1) What caused this?
A 'hg push' will not update the remote working directory, you need to do
a 'hg update' on the remote side.
> (2) Is there a way to fix this aside from cloning a new Hg workspace
> on the remote server?
Install a hook which will do the required 'hg update'. Add
[hooks]
changegroup = hg update
to the .hg/hgrc file of the *remote* repository.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20081002/043f0b05/attachment.pgp
More information about the Mercurial
mailing list