|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-01-10 07:10:38
Author: johnmaddock
Date: 2008-01-10 07:10:37 EST (Thu, 10 Jan 2008)
New Revision: 42651
URL: http://svn.boost.org/trac/boost/changeset/42651
Log:
Apply patch from Issue #1187.
Text files modified:
trunk/tools/bcp/add_path.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
Modified: trunk/tools/bcp/add_path.cpp
==============================================================================
--- trunk/tools/bcp/add_path.cpp (original)
+++ trunk/tools/bcp/add_path.cpp 2008-01-10 07:10:37 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