How do I apply an svn:ignore glob recursively while doing an import?
相关问题
- How can I set the SVN password with Emacs 23.1 bui
- If statements in .htaccess files, to enable passwo
- SVN+SSH checkout over VPN using tortoise SVN, Smar
- Mercurial compared to private branches in SVN
- Using Subversion and SourceSafe at the same time?
相关文章
- Is there a version control system abstraction for
- Intermittent “SVNException: svn: E175002: Connecti
- IntelliJ Subversion Authentication Required Dialog
- TortoiseHG and hgsubversion (Windows): “no module
- Incompatible JavaHl library loaded
- TFS vs. JIRA/Bamboo/SVN [closed]
- converting svn repo to git using reposurgeon
- SVN查看日志超时
I'm not sure what you mean by "applying svn:ignore recursively while importing".
If you want to exclude a set of files from being imported you can set the global-ignores property in
~/.subversion/config
before importing. There's no command line option to do that on-the-fly.Alternatively you may add the directory and delete the unwanted files before committing:
Although laborious I prefer the latter approach because I'm not a big fan of svn import (the svn del part is not common for me and I like to review the file list before committing).
Otherwise, if what you want is to set the svn:ignore property of every directory in the hierarchy before importing you must use the second method and do a svn propset (instead of svn del) before comitting:
(You may actually do a svn import followed by a svn propset, but not in a single commit.)
You can't do that with a regular import; you need an in-place import.