Tortoise SVN hidden _svn folders

后端 未结 9 1117
半阙折子戏
半阙折子戏 2021-02-05 15:51

They are specially annoying when I need to upload to the server a web solution.

Is there a way of configuring SVN to create the _svn folders outside my working directory

9条回答
  •  执念已碎
    2021-02-05 16:19

    +1 for the solution from Isak Savo.

    And you can do an XCOPY and exclude "/svn" folders :

    XCOPY %1 %1_deploy /EXCLUDE:C:\ExcludeSVN.txt /E /C /I /F /R /Y

    Content of ExcludeSVN.txt :

    /_svn

    In fact, if you want to upoload to a web server, your exclude file can contains a lot more :

    • .pdb
    • .cs
    • .resx
    • .csproj
    • .sln
    • .webinfo
    • .bak
    • .sql
    • .zip
    • .vspscc
    • .vssscc
    • .scc
    • \Web.config

    Warning : If you exclude .cs files, you gave to re-copy .css file after

提交回复
热议问题