简体   繁体   中英

svn:global-ignores Not working? Tortoise SVN 1.9.7 / Subversion 1.9.7

I have the following file _svnignore.txt which contains:

bin
packages
debug
release
.vs

I have run the following command on reporoot:

svn propset svn:global-ignores -F _svnignore.txt.

I have the following folder structure structure:

reporoot/MySolutionFolder
reporoot/packages
reporoot/lib

When I do a commit through Tortoise SVN I am still seeing files in the path reporoot/MySolutionFolder/bin to be committed when I do not want them to be

  1. All *-ignore properties are applied only to unversioned items in your WC. If you have reporoot/MySolutionFolder/bin already versioned, they will not disappear from repo
  2. I can't debug your patterns (I haven't SVN now), but you can, at least, check and show here results of

svn st --no-ignore reporoot/MySolutionFolder/bin

PS - work with commited to repo propset will be just "more correct" style, while it will not change common patterns

This was resolved - the solution was to Commit just the MySolutionFolder folder to source control first and then apply the propset to the route.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM