Changeset 920


Ignore:
Timestamp:
Dec 1, 2009, 2:01:15 AM (11 years ago)
Author:
Peter Johansson
Message:

improve colors in emacs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svndigest-copy-cache.as

    r914 r920  
    5454            AS_IF([test $# = 1], 
    5555                  [AS_ERROR([option `--root' needs an argument], [1])])
     56            # restore font-lock `
    5657            srcdir=$2
    5758            shift
     
    6465            AS_IF([test $# = 1],
    6566                  [AS_ERROR([option `--target' needs an argument], [1])])
     67            # restore font-lock `
    6668            targetdir=$2
    6769            shift
     
    8183AS_IF([test -d "$srcdir"],[],
    8284 [AS_ERROR([\`$srcdir' is not a directory], [1])])
     85# restore font-lock '
    8386   
    8487AS_IF([test -d "$targetdir"],[],
    8588 [AS_ERROR([\`$targetdir' is not a directory], [1])])
     89# restore font-lock '
     90
    8691
    8792AS_IF([test "$rootdir" = "$targetdir"],
    8893 [AS_ERROR([\`$rootdir' and \`$targetdir' are the same directory], [1])])
     94
    8995
    9096# Do the actual copying
     
    94100  mother=`AS_DIRNAME([$file])`
    95101  mother_base=`AS_BASENAME([$mother])`
    96   # ignore files whose mother is not named '.svndigest', which implies
    97   # we also ignore `$srcdir/foo.svndigest-cache' when $srcdir is
    98   # `.svndigest' because mother will be euqal to `.' in this
    99   # case. This is the desired behavior because file `foo' (which
    100   # `foo.svndigest-cache' reflects) resides in `$srcdir/..' which
     102  # ignore files whose mother is not named .svndigest', which implies
     103  # we also ignore '$srcdir/foo.svndigest-cache' when $srcdir is
     104  # '.svndigest' because mother will be euqal to '.' in this
     105  # case. This is the desired behavior because file 'foo' (which
     106  # 'foo.svndigest-cache' reflects) resides in '$srcdir/..' which
    101107  # is outside the tree we are expected to copy.
    102108  AS_VAR_IF([mother_base], [.svndigest], [
Note: See TracChangeset for help on using the changeset viewer.