How do I view all ignored patterns set with svn:ignore recursively in an SVN repository?

前端 未结 2 796
忘掉有多难
忘掉有多难 2021-01-30 02:32

I see it is possible to view a list of properties set on every directory within an SVN repository using proplist and the -R flag (recursive) and -v flag (verbose):



        
相关标签:
2条回答
  • 2021-01-30 02:47

    Sorry to jump in here late, but there is a simple solution here.

    Just grep.

    svn proplist -Rv | grep svn:ignore -B1 -A1
    

    Show one line before, and one line after the match.

    0 讨论(0)
  • 2021-01-30 02:57
    svn pg -R svn:ignore .
    

    ...with pg being a shorthand notation for propget, so this is equal to...

    svn propget -R svn:ignore .
    
    0 讨论(0)
提交回复
热议问题