SVN just won't ignore a folder, despite propset svn:ignore

后端 未结 3 953
独厮守ぢ
独厮守ぢ 2021-02-13 17:48

Take folder files, inside an SVN working copy, running in Linux. The folder was set to be ignored, with the commands:

  • svn propset svn:ignore * \'fil
3条回答
  •  渐次进展
    2021-02-13 18:32

    So close.

    I think you wanted

    svn propset svn:ignore files .

    if you execute this in the parent directory of the files directory, it'll be ignored. You won't see the effect until the parent is committed, though. And I'm pretty sure you can't ignore a directory that contains versioned files.

    Finally, I always use propedit rather than propset, so I don't lose any current settings.

提交回复
热议问题