Author: veithen
Date: Wed Dec 29 12:53:19 2010
New Revision: 1053629
URL: http://svn.apache.org/viewvc?rev=1053629&view=rev
Log:
Exclude the .htaccess file when syncing the site.
Modified:
webservices/commons/trunk/modules/axiom/etc/syncsite.py
Modified: webservices/commons/trunk/modules/axiom/etc/syncsite.py
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/etc/syncsite.py?rev=1053629&r1=1053628&r2=1053629&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/etc/syncsite.py (original)
+++ webservices/commons/trunk/modules/axiom/etc/syncsite.py Wed Dec 29 12:53:19
2010
@@ -68,6 +68,9 @@ def scan(arg, directory, files):
walk(srcroot, scan, 0)
+# Don't touch the .htaccess file at the root
+svnfiles.remove(".htaccess")
+
for file in svnfiles:
call(["svn", "remove", join(dstroot, file)])