Using SVN, When I do commit or “Check for modifications” (or svn status from command line), I get a list several folders.
Why do I see the folders that don’t have any changed files in them? (There are files with changes that are set to be ignored )
Is there anyway to change this behavior?
Edit:
svn status output:
>svn status M . M src\com\proj\server M src\com\proj\server\DataAccessManager.java M src\com\proj\server\hibernate.cfg.xml M war M war\WEB-INF
and to see the diff for the war folder
>svn diff war Index: war =================================================================== --- war (revision 171) +++ war (working copy) Property changes on: war ___________________________________________________________________ Added: svn:ignore ## -0,0 +1 ## +mycrm Index: war/WEB-INF =================================================================== --- war/WEB-INF (revision 171) +++ war/WEB-INF (working copy) Property changes on: war/WEB-INF ___________________________________________________________________ Added: svn:ignore ## -0,0 +1,2 ## +classes +deploy
First of all, it is always a good idea to provide output and logs to avoid guessing on the part of those who try to understand your question.
That said, there are three possibilities:
(1) you’ve changed folder SVN properties (for example, during merging). In that case you’ll see
Min the second column (not first for regular changes).(2) The files that were changed are versioned (already in the repository). You can’t ignore versioned files (only unversioned ones). Unversioned files will be marked with
?, if no?is present – the file is versioned.(3) The default behavior for
svn statusis to show unversioned files. To disable – run it with-qoption (i.e.svn status -q).Update: With the logs provided it is clear that it’s case (1) – SVN properties on your folders have changed. Run
svn diff --depth=emptyon every directory that appears in the list to see what properties have changed (simplesvn diffwill also do the trick, but it will be harder to filter out the info you actually want).