Changeset 914


Ignore:
Timestamp:
Nov 30, 2009, 5:40:34 AM (11 years ago)
Author:
Peter Johansson
Message:

refs #380. removed invalid comment about absent grandma and added explaining comment.

File:
1 edited

Legend:

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

    r913 r914  
    9494  mother=`AS_DIRNAME([$file])`
    9595  mother_base=`AS_BASENAME([$mother])`
    96 # ignore files whose mother is not named '.svndigest'
     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
     101  # is outside the tree we are expected to copy.
    97102  AS_VAR_IF([mother_base], [.svndigest], [
    98103    grandma=`AS_DIRNAME([$mother])`
    99     # FIXME: what if grandma does not exists, which might happen when
    100     # SRC=.svndigest
    101104    # we only copy files if target's grandma exists
    102105    AS_IF([test -d "$targetdir/$grandma"], [
Note: See TracChangeset for help on using the changeset viewer.