Changeset 409


Ignore:
Timestamp:
09/17/2009 21:16:10 (3 years ago)
Author:
ccowart
Message:

confman will now bail on a rollout operation if the working copy is
too new for subversion. This will prevent confman from trying (and failing)
to install each file individually.

Leaving open for merge to 1.9.

See #48

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confmanlib.sh.in

    r408 r409  
    308308        # This is a hack to work around NFS home dirs, for now: 
    309309        ${NFS_HACK:-false} && chmod o+rx ${WORK_PATH} 
     310 
     311    # Test to see if the SVN working copy is out of date 
     312    if ! @SVN@ info $moduledir >/dev/null ; then 
     313        echo "Error: $moduledir isn't usable by svn." >&2 
     314        exit 1 
     315    fi 
    310316 
    311317        for directory in `find -L $moduledir -mindepth 1 -type d | grep -v "\.svn"`; 
Note: See TracChangeset for help on using the changeset viewer.