Return-Path: X-Original-To: apmail-manifoldcf-commits-archive@www.apache.org Delivered-To: apmail-manifoldcf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C99B9916B for ; Wed, 23 May 2012 11:38:37 +0000 (UTC) Received: (qmail 95084 invoked by uid 500); 23 May 2012 11:38:37 -0000 Delivered-To: apmail-manifoldcf-commits-archive@manifoldcf.apache.org Received: (qmail 95044 invoked by uid 500); 23 May 2012 11:38:37 -0000 Mailing-List: contact commits-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@manifoldcf.apache.org Delivered-To: mailing list commits@manifoldcf.apache.org Received: (qmail 95034 invoked by uid 500); 23 May 2012 11:38:37 -0000 Delivered-To: apmail-incubator-connectors-commits@incubator.apache.org Received: (qmail 95025 invoked by uid 99); 23 May 2012 11:38:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 11:38:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 11:38:34 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4C6D12388978; Wed, 23 May 2012 11:38:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1341840 - /incubator/lcf/site/update-site.py Date: Wed, 23 May 2012 11:38:12 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120523113813.4C6D12388978@eris.apache.org> Author: kwright Date: Wed May 23 11:38:12 2012 New Revision: 1341840 URL: http://svn.apache.org/viewvc?rev=1341840&view=rev Log: Add status messages Modified: incubator/lcf/site/update-site.py Modified: incubator/lcf/site/update-site.py URL: http://svn.apache.org/viewvc/incubator/lcf/site/update-site.py?rev=1341840&r1=1341839&r2=1341840&view=diff ============================================================================== --- incubator/lcf/site/update-site.py (original) +++ incubator/lcf/site/update-site.py Wed May 23 11:38:12 2012 @@ -19,6 +19,7 @@ def site_merge(source_dir, target_dir): """ # First, handle deletes. Go through the target tree and find everything that doesn't # exist in the source... + print >> sys.stderr, "Removing obsolete directories and files..." deleted_dirs = { } for root, dirs, files in os.walk(target_dir): # Remove target_dir prefix from root @@ -50,6 +51,7 @@ def site_merge(source_dir, target_dir): # Now, we do the same thing for the source tree. We will add the missing directories and # copy and add the files. + print >> sys.stderr, "Adding and updating new directories and files..." for root, dirs, files in os.walk(source_dir): relative_root = root[len(source_dir):] if len(relative_root) > 0 and (relative_root[0] == "/" or relative_root[0] == "\\"): @@ -88,7 +90,8 @@ if __name__ == '__main__': site_merge(source_dir, target_dir) - #svn_command([ "commit", target_dir]) + print >> sys.stderr, "Committing changes..." + svn_command([ "commit", target_dir]) print >> sys.stderr, "Site updated!" \ No newline at end of file