Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^7: how to copy source folder excluding specific set of sub folder from parent folderby robby_dobby (Hermit) |
on Aug 16, 2016 at 09:26 UTC ( [id://1169826]=note: print w/replies, xml ) | Need Help?? |
Hi,
Not sure what you mean here. svn:ignore are either client side or server enable property attributes to a repository. Depending on whether the user runs svn export from repository URL or local path, these svn ignored files will remain ignored. Moreover, OP's problem is only limited to handling .svn files and that's why I suggested that he use the export command from svn, instead of writing a file tree walker :-) As a general principle, svn:ignore files are used where there is a need to keep files locked to a specific version(configuration files, environment specific files etc.) and with no further changes or files irrelevant/unnecessary to be checked into repository (build output files/folders, IDE specific configuration files etc.). If OP is concerned about grabbing ignored files too, they can always do svn getprop svn:ignore and grab those files.
In Section
Seekers of Perl Wisdom
|
|