richliu's blog

Linux, 工作, 生活.

richliu's blog header image 2

Subversion 修改 Log.

十月 24th, 2006 · No Comments

如果 Subversion commit 時, 不小心寫錯 log , 該怎麼辦?

這時候需要有 svnadmin 權限的帳號(也表示要和 svn repository. 的目錄在同一台主機)
下個小指令

svnadmin setlog linux-2.4.27 -r 131 –bypass-hooks test.txt

setlog 是更改 log
linux-2.4.27 是 subversion repository 的目錄
-r 131 : 第 131 版
–bypass-hooks 不要檢查 post-revprop-change flag
test.txt 你想要更新的文字檔內容

請注意, 此動作是不可逆的, 在進行此動作之前請先備份你的 subversion.

On this day..

Tags:

Related posts

Tags: 隨手札記

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment