Search in SVN repository for a file name

前端 未结 8 696
眼角桃花
眼角桃花 2020-12-23 10:57

We have a bulk repository for code contain thousands of folder and sub folder, i want to search under this repositor with file name or with some word.

Root f         


        
8条回答
  •  醉酒成梦
    2020-12-23 11:35

    If the file is in your working copy, then if you are using svn 1.5:

    svn list --depth infinity | grep 
    

    or an earlier version of svn:

    find . -name  -not -path '*.svn*'
    

    If you need to find the file in history (deleted or moved):

    svn log -v | less
    

    and search for it with:

    \
    

提交回复
热议问题