#1187 closed Bugs (fixed)
bcp copy not needed files
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | None |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | bcp | Cc: |
Description
When i try to copy parts of boost into my project with bcp, and has boost fetched from SVN, bcp also copy files from .svn directory of boost, overwriting .svn files from my project
Attachments (2)
Change History (8)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I had added patch for fix this problem, as current HEAD still has it
comment:3 by , 15 years ago
Alex have you checked latest SVN HEAD to see whether this is required: I added some patches for this a while back and have used bcp several times since then on my SVN tree without getting any .svn files copied. Do you have a test case?
Many thanks, John.
comment:4 by , 15 years ago
I had updated SVN tree yesterday, and had tried to copy some parts of boost, and still get .svn files copied. I perform copying from boost svn tree, so i hadn't special test case. For example (only partial output):
with my patch:
Copying (and overwriting) file: boost/assert.hpp Copying (and overwriting) file: boost/checked_delete.hpp Copying (and overwriting) file: boost/config.hpp Copying (and overwriting) file: boost/config/abi/borland_prefix.hpp Copying (and overwriting) file: boost/config/abi/borland_suffix.hpp Copying (and overwriting) file: boost/config/abi/msvc_prefix.hpp Copying (and overwriting) file: boost/config/abi/msvc_suffix.hpp Copying (and overwriting) file: boost/config/abi_prefix.hpp Copying (and overwriting) file: boost/config/abi_suffix.hpp Copying (and overwriting) file: boost/config/auto_link.hpp Copying (and overwriting) file: boost/config/compiler/borland.hpp Copying (and overwriting) file: boost/config/compiler/comeau.hpp Copying (and overwriting) file: boost/config/compiler/common_edg.hpp
without patch:
Copying (and overwriting) file: boost/assert.hpp Copying (and overwriting) file: boost/checked_delete.hpp Copying (and overwriting) file: boost/config.hpp Copying (and overwriting) file: boost/config/.svn/all-wcprops Copying (and overwriting) file: boost/config/.svn/entries Copying (and overwriting) file: boost/config/.svn/format Copying (and overwriting) file: boost/config/.svn/prop-base/abi_prefix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/abi_suffix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/auto_link.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/posix_features.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/requires_threads.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/select_compiler_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/select_platform_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/select_stdlib_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/suffix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/prop-base/user.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/abi_prefix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/abi_suffix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/auto_link.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/posix_features.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/requires_threads.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/select_compiler_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/select_platform_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/select_stdlib_config.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/suffix.hpp.svn-base Copying (and overwriting) file: boost/config/.svn/text-base/user.hpp.svn-base
comment:5 by , 15 years ago
Milestone: | To Be Determined → Boost 1.35.0 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Ah... if you'd used the --svn switch to only copy files under version control then those files wouldn't have been copied. However, the patch can't do any harm (I hope!), so I've applied it.
Regards, John.
comment:6 by , 15 years ago
By the way --svn switch is not printed if i run bcp without arguments or with --help switch
by , 15 years ago
Attachment: | bcp-2.diff added |
---|
add description of --svn option to show usage command
This has been fixed in latest SVN.
Thanks for the report.
John Maddock