Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-01-10 07:15:22


Author: johnmaddock
Date: 2008-01-10 07:15:21 EST (Thu, 10 Jan 2008)
New Revision: 42653
URL: http://svn.boost.org/trac/boost/changeset/42653

Log:
Merged changes from Trunk which apply patch from Issue #1187.
Text files modified:
   branches/release/tools/bcp/add_path.cpp | 7 ++++++-
   1 files changed, 6 insertions(+), 1 deletions(-)

Modified: branches/release/tools/bcp/add_path.cpp
==============================================================================
--- branches/release/tools/bcp/add_path.cpp (original)
+++ branches/release/tools/bcp/add_path.cpp 2008-01-10 07:15:21 EST (Thu, 10 Jan 2008)
@@ -40,11 +40,16 @@
 void bcp_implementation::add_directory(const fs::path& p)
 {
    //
- // don't add files created by build system
+ // Don't add files created by build system:
    //
    if((p.leaf() == "bin") || (p.leaf() == "bin-stage"))
       return;
    //
+ // Don't add version control directories:
+ //
+ if((p.leaf() == "CVS") || (p.leaf() == ".svn"))
+ return;
+ //
    // don't add directories not under version control:
    //
    if(m_cvs_mode && !fs::exists(m_boost_path / p / "CVS/Entries"))


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk