CLI/cron syncing
paul_nathan at selinc.com
paul_nathan at selinc.com
Thu Sep 13 23:25:23 UTC 2012
Hi,
I would advise using ssh & ssh keys for maximum ease of use.
This should work, modulo you setting up the paths. It also hardcodes
which hg.
@hourly /usr/bin/hg push -R /path/to/repo
ssh://username@server.com/path....
- - -
Regards,
Paul Nathan
mercurial-bounces at selenic.com wrote on 09/13/2012 03:44:29 PM:
> From: Jonathan Hayward <jonathan.hayward at pobox.com>
> To: mercurial at selenic.com,
> Date: 09/13/2012 03:44 PM
> Subject: CLI/cron syncing
> Sent by: mercurial-bounces at selenic.com
>
> From the Linux command line or from a crontab, how can I push
> changes from a local repository to BitBucket (one way)? Does my
> .hgrc or other hgrc file need any lines besides:
>
> --
>
> [image removed]
>
> Christos Jonathan Hayward, an Orthodox Christian author.
> Amazon • Author Bio • Email • Facebook • Google
Plus • Kindle • LinkedIn •
> Professional • Twitter • Web • What's New?
> I invite you to visit my "theology, literature, and other creative
> works" site. See one page of my website!
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120913/462581e4/attachment-0002.html>
More information about the Mercurial
mailing list