Subversion 下的 Commit without change

在 #bsdchat 上問了 能不能 Commit without change, 說不行。(跟我用 Google 找的結果差不多,看起來他以前應該也找過)

Commit without change 通常是拿來紀錄事情用的,在 的 cvs log mailing list 上常常可以看到,不過通常會用 "force commit" 這個詞來表示:"force commit" site:lists.freebsd.org

丟到 Blog 上希望能在 Subversion 上找到替代方案,有誰有建議的嗎?:Q

3 thoughts on “Subversion 下的 Commit without change”

  1. 就插一個 eventlog / todo / devnotes 之類的文檔進去﹐不就成了?曾看過 svn 的開發團說﹐最好是把 documentation 跟 source 放在同一個 repo project 之內﹐事無大小都 commit 上去。大凡 commit 就把 commit log 先導入其中一個 doc file ﹐那就一定有 change 了。

  2. 雖然我不知道用意是什麼, 但如果單純是想 roll 一個 revision 的話, 最 "隱秘" 的方法大概就是找個 directory 之類 set 一個 property. 要 'force-commit' 就把那個 property 改一改就好了.

Leave a Reply

Your email address will not be published. Required fields are marked *