How do I know if 'hg clone' is doing the work remotely?
Posted
by jjfine
on Server Fault
See other posts from Server Fault
or by jjfine
Published on 2010-03-29T15:44:25Z
Indexed on
2010/03/29
15:53 UTC
Read the original article
Hit count: 233
I've got a very simple windows install of Mercurial on my machine.
The 'central' repository is located at //mymachine/hg-repos/central.
I want remote (VPN) users to be able to create clones of this repository in the hg-repos directory because it gets daily backups.
I have given these users full control of the hg-repos directory.
My question is this:
If I'm on a remote machine, and I run the command:
hg clone //mymachine/hg-repos/central //mymachine/hg-repos/central-copy
...is the remote machine doing most of the work?
I don't want the client to have to download all of the central repository and then upload it all back because people are going to be using this from across the country. But I suspect this is what's happening here since it works so easily.
© Server Fault or respective owner