How can I force subversion to commit an unchanged file?

后端 未结 11 1093
孤街浪徒
孤街浪徒 2020-12-02 16:32

I want subversion to commit a file even if it\'s unchanged. Is there a way to do this?

11条回答
  •  自闭症患者
    2020-12-02 17:23

    Actually, I have come across a reason to do a force commit. This probably isn't best practice but we put Truecrypt (http://www.truecrypt.org/) volumes in SVN because we need to keep a tight security on some shell script as it contains sensitive information. When a Truecrypt volume is created, it's binary data stays the same no matter what you do with it. So in effect, I can change the contents of the volume but the volume never appears changed.

提交回复
热议问题