do automation for copy remote direcotry to local direcotry

Frank Kingswood frank at kingswood-consulting.co.uk
Thu Aug 12 02:43:20 CDT 2010


On 12/08/10 06:42, ketanm wrote:
>
> hi ,
>    .this is the site http://hg.sagemath.org(example purpose) which has
> mercurial repository.i have to collect all name tags first and when you
> click one of the name tags respective link gets open which has all files or
> directory which i need to copy to local directory if there is any changed.
> my setp will be as below.
> 1.login to the merecurial site.
> 2.get the name tags.
> 3.get link with refer to name tag.(how could get url form any mercurial
> command.)
> 4.sync with local direcoty to files and copy if there is changed.(he clone
> works for this)

This should work:
	hg clone http://hg.sagemath.org/examples
	cd examples
	...work here...

and then later
	cd examples
	hg pull
	...work here...

Also I recommend the Quick Start guide from the Mercurial website.
	http://mercurial.selenic.com/quickstart/

This is really not a development question, so please use the user list 
(mercurial at selenic.com)

Frank


More information about the Mercurial-devel mailing list