Show More
Commit Description:
Fix issue with simulation....
Commit Description:
Fix issue with simulation.
Previously, if there was more than one tick being advanced at once, it would
overshoot how many ticks it covered. So if it was covering 5 ticks and each
tick happens every 100 units, rather than recording that it had simulated
through t= 500, it would increase the cumulative time for each tick, recording
that it had simulated through t=2500.
Add error message, too.
References:
File last commit:
Show/Diff file:
Action:
scripts/gitmirror.sh
25 lines | 541 B | application/x-sh | BashLexer
25 lines | 541 B | application/x-sh | BashLexer
r442 | #!/bin/bash | |||
r475 | NEWDIR=`mktemp --directory --suffix .gitmirror` | |||
r442 | ||||
hg convert . $NEWDIR --filemap gitfiles.map | ||||
cd $NEWDIR | ||||
BRANCHES=`hg branches` | ||||
r505 | # for BRANCH in ${BRANCHES[@]}; do | |||
# if [[ ! "$BRANCH" =~ ^([0-9]+:)|(inactive)|(closed) ]]; then | ||||
# echo $BRANCH; | ||||
# `hg bookmark -r "${BRANCH}" "${BRANCH}_bookmark"` | ||||
# fi | ||||
# done | ||||
hg bookmark -r default main | ||||
r442 | ||||
hg push https://gitlab.com/actuallyalys/isometric-park-fna.git | ||||
echo "run 'rm -r $NEWDIR' to clear directory." | ||||
r475 | echo "or 'rm -r /tmp/*.gitmirror' to clear all directories." | |||
r442 | ||||