3 # p must be set already
5 reposmirror=$tmp/git-mirror
6 pmirror=$reposmirror/$p.git
7 queuedir=$tmp/git/_mirror-queue
11 mirror_hook=$drs_dispatch/mirror-hook
12 t-make-hook-link dgit-mirror-rsync $mirror_hook
14 >$drs_dispatch/mirror-settings
15 t-mirror-set remoterepos="$reposmirror"
21 echo >>$drs_dispatch/mirror-settings "$1"
25 : '(((((((((((((((((((((((((((((((((((((((('
26 "$mirror_hook" "$drs_dispatch" "$@"
27 : '))))))))))))))))))))))))))))))))))))))))'
32 t-reporefs mirror $pmirror
33 diff $tmp/show-refs.{master,mirror}
34 cat $queuedir/$p.log ||:
35 t-files-notexist $queuedir/$p.{n,a,lock,err}
38 t-check-not-mirrored () {
39 # uses previous t-reporefs-master
40 t-reporefs mirror $pmirror
41 diff $tmp/show-refs.{master,mirror}