I want to ignore a directory or a group of files when I run svn st
, but I don't want to set the svn:ignore
property, which means I still want the directory/files to be updated when I run svn up
. I just don't want to see the status of that folder. Can I achieve this?
How to ignore a directory in svn status?
1.3k views Asked by sean hawk At
2
There are 2 answers
0
On
You could group the files and folders that you'd like to see the status for into a changelist
, and then pass that through to the svn status
command using the --changelist
option.
Setting
svn:ignore
means that these files won't be shown atsvn st
if they are not already added. If you setsvn:ignore
for a specific file and add this file manually, it is under version control andsvn st
will consider this file.I don't know what you're exactly doing, but maybe you can "filter" the output of
svn st
and get rid of the unwanted lines afterwards, e.g. usinggrep
on the output ofsvn st
.