Pregunta

I have a Delphi XE4 project folder say MyProject. In MyProject folder, there are some files which are changed automatically when I compile the project and I need not to check in those files.

For example: .drc, .exe, .identcache, .local, .map, .res, .vrc

Whenever I right click MyProject and press Commit, I want these files should not appear in the list of modified files. How can I get this filter in SVN?

¿Fue útil?

Solución

  1. You must (for new files of these types) define svn:ignore properties
  2. For already versioned files, which you don't want commit even if they are changed (BTW, storing vuild-artifacts in repository is bad, ugly and stupid workflow) if you commit using TortoiseSVN you have and can add all these files to special local changelist (TortoiseSVN-specific, ignored by other clients) "ignore-on-commit"

But The Right Way (tm) is svn:ignore these file-types, remove from repository (create copy files outside WC before, because removing from repo remove file from WC) and have these artifacts as local-only ignored by SVN files in Working Copies

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top