Collection of themes/skins for the Fossil SCM

⌈⌋ ⎇ branch:  Fossil Skins Extra


Artifact [3f4c7cf116]

Artifact 3f4c7cf11653162fbb5f966ce7ca57b20d9e5947:

  • Executable file parts/export-one — part of check-in [cc4238f53c] at 2015-02-12 08:02:54 on branch trunk — ./. (user: mario size: 368)

#!/bin/sh
#
# Export reponame.header|css|footer|th1-setup
#

FROM=$1
[ -n "$FROM" ] && FROM=freshcode
TO=$2
[ -n "$TO" ] && TO=github


DB=~/fossil.d/$FROM.fossil
REPO=`basename $DB .fossil`
TARGET=$TO/$TO

  for WHAT in css header footer #th1-setup tcl-setup
  do
    echo "select value from config where name='$WHAT';" | fossil sqlite -R $DB > $TARGET.$WHAT
  done