Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COhuh.. what will happen if more than one commit has been pushed in less than 5 mn? :-). In this case it's better to setup a "changegroup" hook. Also when a changeset is creating a branch, it would be necessary to push with the -f option (force). My advice, if you want to use cron instead of a hook, would be to set it up on the remote machines which would regularly pull changes: this way, there can be more than one changeset pulled (so you can even pull every hours for example), and also pull does not require the -f option. Just my 0.02€. Cheers, Christophe.
      singulars
    2. CO's solution works fine. 'push' pushes 'tip' and all of its ancestors, so they'll get everything. There's a lot of unecessary code though, you can use the name 'tip' instead of using the template to learn it (-r takes names just fine), and you can skip the -r param all together and just do 'push' which defaults to tip. You probably want push -f though since you may need to push new branches and new heads at some point and you don't want the script failing.
      singulars
    3. CO@ry4an: you cannot use the name `tip`, since it could point to a different changeset before the script gets from server1 to server3. that's just the reason why you cannot just leave out the `-r`: if you want all the mirrors to have the same tip after each push, you need to stick to the same revision for the whole script. the `-f` comment is valid, though.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload