Subversion: Ignore a Directory in the Repo on Commit
I have all the boost header files in this repository and when I do a check in it takes a really long time to scan all those files that will never change.
Because I want users that checkout the project to be able to compile wi开发者_运维技巧thout installing boost I am in a pickle.I want to checkout everything, and then ignore updates (there will never be any) on a directory.
Tortoise svn has a ignore-on-commit change list, but I cannot find anyway to add an entire directory to this list, and I do not fancy the idea of 'modifying' all the boost files so I can add them to this change list.
Is there a simple solution?
Perhaps you could use Subversion "externals" to store the Boost header files in another Subversion repository. That way, Subversion won't need to scan that directory when checking for updates to your project, but users who check out your project will automatically get the whole thing including the Boost dependency.
Additional to Greg's answer, you may also have a look on the possibility to update to a specific revision. Thus, you could make sure, a client would not get unintentionally any updates on the "Boost" project.
br, Marcel
I came to this thread looking for a way to make an "atomic" commit of just some files and instead of ignoring some files on commit I went the other way and only commited the files I wanted:
svn ci filename1 filename2
Maybe, it will help someone.
精彩评论