On Mon, Nov 5, 2012 at 5:41 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> http://wiki.apache.org/subversion/Inheritable-Ignores-AutoProps#Ignores_.22Hierarchy.22
> says 'svn status --no-ignore' does not disregard inherited
> 'svn:global-ignores' properties.
Hi Daniel,
Sorry, that section is out of date, I corrected it. The --no-ignores
option still works for status, it's only for import and add that it
can't be overridden.
> This breaks a use-case for me:
> % svn status --no-ignore | xargs rm -rf
>
> How, with a 1.8 client, would I obtain a complete list of all
> unversioned files in my working copy? "Complete" means - without
> excluding any files (regardless of inherited props, runtime config, etc)
Here's my trunk WC (with no global-ignores set in my config):
trunk_at_1406029>svn st --depth immediates
M .
? cleanup.build.bat
? copy.svn.DEBUG.paths.bat
? copy.svn.RELEASE.paths.bat
? deleted-subtree-ranges-1.patch
? desktop.ini
? ignores
? run.RUBY.binding.tests.bat
? run.all.win-tests.DEBUG.bat
? run.all.win-tests.bat
? run.javahl.tests.bat
? run.python.test.DEBUG.bat
? run.python.test.RELEASE.bat
? sdc-reintegrate.diff
? set.svn.DEBUG.paths.bat
? set.svn.RELEASE.paths.bat
? set.up.SSD.bat
? subversion_vcnet.sln.cache
? svn-win32-Release-binaries
? svn.DEBUG.path.ONELINE.txt
? vc6-build.bat
I've set svn:global-ignores = "*.py" on the root of my WC:
trunk_at_1406029>svn diff
Index: .
===================================================================
--- . (revision 1406029)
+++ . (working copy)
Property changes on: .
___________________________________________________________________
Added: svn:global-ignores
## -0,0 +1 ##
+*.py
Note that the unversioned *.py files are revealed with the --no-ignore option:
trunk_at_1406029>svn st --depth immediates --no-ignore
M .
I Debug
I Release
? cleanup.build.bat
? copy.svn.DEBUG.paths.bat
? copy.svn.RELEASE.paths.bat
? deleted-subtree-ranges-1.patch
? desktop.ini
I find-milestone.2.py
I find-milestone.py
I gen-make.opts
? ignores
I merge_annotate_log_bug.py
? run.RUBY.binding.tests.bat
? run.all.win-tests.DEBUG.bat
? run.all.win-tests.bat
? run.javahl.tests.bat
? run.python.test.DEBUG.bat
? run.python.test.RELEASE.bat
? sdc-reintegrate.diff
? set.svn.DEBUG.paths.bat
? set.svn.RELEASE.paths.bat
? set.up.SSD.bat
I subversion_vcnet.ncb
I subversion_vcnet.sln
? subversion_vcnet.sln.cache
I subversion_vcnet.suo
? svn-win32-Release-binaries
? svn.DEBUG.path.ONELINE.txt
? vc6-build.bat
--
Paul T. Burba
CollabNet, Inc. -- www.collab.net -- Enterprise Cloud Development
Skype: ptburba
Received on 2012-11-06 03:45:58 CET