hg clone and hg push over ssh updates .hg but not files copied ormoved

Smith, Michael Michael.Smith at thalesgroup.com.au
Thu Jul 9 18:58:32 CDT 2009


"Hello Mercurial folks, I have a local hg repo that I want to mirror and maintain remotely. If I use hg clone . ssh://me@myserver/projects/java/someproject then as expected the directory someproject is created with a .hg directory but no files. The same if I use hg push ssh://me@myserver/projects/java/someproject the return message is the changeset was updated but again no files are moved or copied. Do I have to manually copy the files over using ssh but no hg commands? Please advise, David."

You can do an "hg update" on the server if you want the working copy there. You can also write a simple hook on the server to do an automatic hg update after a push.





DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or copyright
material or information that is subject to legal professional privilege. They are for
the use of the intended recipient only.  Any unauthorised viewing, use, disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without the
written permission of the owner. If you have received this transmission in error, or
are not an authorised recipient, please immediately notify the sender by return email,
delete this message and all copies from your e-mail system, and destroy any printed
copies. Receipt by anyone other than the intended recipient should not be deemed a
waiver of any privilege or protection. Thales Australia does not warrant or represent
that this e-mail or any documents, files and previous e-mail messages attached are
error or virus free.
--------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090710/3e5e5a0e/attachment.htm 


More information about the Mercurial mailing list