push several local repos to bitbucket at the same time
Uwe Brauer
oub at mat.ucm.es
Sun Sep 4 16:01:06 UTC 2016
> On 02Sep2016 11:31, Uwe Brauer <oub at mat.ucm.es> wrote:
> You could put such a thing in your crontab.
> There are easy ways to script it, and such a script is a single command :-)
> When using find like this I like to include a -prune to avoid
> recursing any further. This isn't so effective when your criterion
> (the .hg dir) is inside the natural prune point, but it can help.
Finally I think that find is too much.
I simply do a
hg -R $HOME/tex/HG
For example.
> However, find isn't really the best tool for this. Unless you are
> quite disorganised,
The point is I have hg dir in say my emacs directory and in my tex
directory, like this
$HOME/tex/HG
Or
$HOME/emacs/HG
Etc
that is why script with the absolute paths is more convenient. I also
edited the relevant hgrc files in the repos so that I do not have to
type the passwords. That might be a security risk but I did not bother
(or was not able) to set up ssh in a correct way.
Uwe
More information about the Mercurial
mailing list