Hi

I have a couple of repos which I push at the end of the day to
bitbucket, but sometimes I forget that.

Is there an easy way to push these repos which live in different
directories with one single command?


I recently heard about subrepos, could that be used?

The other option would be to use find

Something like this

find . -name ".hg" -type d -printf "\t" -execdir pwd \; -execdir hg push \; 
-printf "\n"

Or maybe I could run a hook such that after each commit it pushed (but
maybe that is a bit too much).

Any ideas?

Uwe Brauer 

_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to