[Zope-CVS] CVS: Packages/Zope2+3 - buildout.py:1.3
Fred L. Drake, Jr.
fred at zope.com
Thu Mar 4 10:08:10 EST 2004
Update of /cvs-repository/Packages/Zope2+3
In directory cvs.zope.org:/tmp/cvs-serv9798
Modified Files:
buildout.py
Log Message:
- scripted CVS commands should pretty much always use -f to suppress
use of ~/.cvsrc
- add -P to the checkout commands so the separate "cvs up -dP" isn't
needed
=== Packages/Zope2+3/buildout.py 1.2 => 1.3 ===
--- Packages/Zope2+3/buildout.py:1.2 Wed Mar 3 16:55:44 2004
+++ Packages/Zope2+3/buildout.py Thu Mar 4 10:08:09 2004
@@ -14,9 +14,9 @@
def checkout(source, dest=None):
repo = REPOSITORY
if dest:
- cmd = "cvs -d%(repo)s co -d %(dest)s %(source)s" % vars()
+ cmd = "cvs -f -d%(repo)s co -P -d %(dest)s %(source)s" % vars()
else:
- cmd = "cvs -d%(repo)s co %(source)s" % vars()
+ cmd = "cvs -f -d%(repo)s co -P %(source)s" % vars()
print cmd
os.system(cmd)
@@ -63,9 +63,6 @@
checkout("Zope/lib/python/%s" % file)
os.rename("Zope/lib/python/%s" % file, "src/%s" % file)
shutil.rmtree("Zope")
-
- # Clean out empty CVS directories
- os.system("cvs -q up -dP")
if __name__ == "__main__":
main()
More information about the Zope-CVS
mailing list