]> oss.titaniummirror.com Git - tinyos-utils.git/commit
Several improvements to tinyos-mirror.sh
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 9 Apr 2009 20:11:30 +0000 (20:11 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 9 Apr 2009 20:11:30 +0000 (20:11 +0000)
commitdf2b12e48c822c866fb85cabe22bd226504532f5
tree58416db47f4374fd0e5ab1b7b1c5c2a1e98eb114
parentbed12e975887321b23536b5d2becdbae73341a9a
Several improvements to tinyos-mirror.sh
* Do not run a default operation if no --option flag set
* No longer replicate tinyos-1.x by default.  We don't need it.
* Smarten up rsync so that it only replicates those parts of the remote CVS
  that are relevant to the modules provided on the command line, or the
  default modules.
* Replace occurrences of $CVSBASE/tinyos with $CVSROOT.
* Put rotation of multiple remote CVS (hard-linked) backups into its own
  function so it can in the future be optionally be disabled.
* Make the locks_present work on a per CVS module basis, so one module won't
  be prevented an import because of a lock in a different module.
* Add a .git/description to the repositories, for a description that will show
  up in gitweb.
* Add an env_ok function to test for the existence of the base directories and
  their permissions.
tinyos-mirror.sh