CLI/cron syncing

Timothy Scott tescott425 at gmail.com
Fri Sep 14 12:51:04 UTC 2012


The Bitbucket site includes very good instructions for setting things up
via SSH.  Check things out here:

https://confluence.atlassian.com/display/BITBUCKET/Using+the+SSH+protocol+with+bitbucket

I'm using Bitbucket + TortoiseHg + Win7 + Putty, but assume the Linux
instructions are equally good.

Cheers,
--tim




On Thu, Sep 13, 2012 at 6:25 PM, <paul_nathan at selinc.com> wrote:

> 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
>
> _______________________________________________
> 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/20120914/b9b868ee/attachment-0002.html>


More information about the Mercurial mailing list