Changeset 19 for trunk/locker-bin

Show
Ignore:
Timestamp:
01/02/08 14:54:45 (17 years ago)
Author:
broder
Message:

macathenaDist does date-based checkouts instead of revision based checkouts

This way if we want to specify a particular timestamp to use, we can do that

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/locker-bin/macathenaDist.py

    r9 r19  
    11#!/usr/bin/env python 
    22 
    3 def packageCvs(module, cvsModule, cvsroot='/afs/dev.mit.edu/source/repository', getAutoconf='packs/build/autoconf'): 
     3def packageCvs(module, cvsModule, cvsroot='/afs/dev.mit.edu/source/repository', getAutoconf='packs/build/autoconf', date='tomorrow'): 
    44        import os 
    55        import time 
     
    1111         
    1212        os.environ['CVSROOT'] = cvsroot 
    13         os.system('cvs -R export -r HEAD %s >/dev/null 2>/dev/null' % cvsModule
     13        os.system('cvs -R export -D %s %s >/dev/null 2>/dev/null' % (date, cvsModule)
    1414         
    1515        if getAutoconf: