Is it possible to keep a file that is not part of the repository into the working copy? I mean, the file would be an ignored file, but also will not be eliminated by removing unversioned items.
Thank you very much.
EDIT: With TortoiseSVN, if you hold shift key and then right clic开发者_开发技巧k a folder on explorer, an extended menu shows. This extended menu has a command to remove unversioned items.
As far as SVN is concerned an ignored file is an ignored file so if you want to manage some of these files differently you'll need to script it yourself.
I don't know if the 'Delete Unversioned Items' command removes files that are not under version control or in not an svn:ignore
list, but if it doesn't you could not ignore the files that you want to persist. If I remember correctly (I don't use Windows anymore), you can get TortoiseSVN to ignore unversioned items when you use the interface to check modifications etc.
This is really old. What the user wanted was a file which was ignored by SVN, but still exists.
the way to do so is, while at the working directory
svn propedit svn:ignore .
and there place the name of the file, or, for example *.cfg
精彩评论