Linux/Unix 下 替代svn Commit的視覺化檢視__Linux

來源:互聯網
上載者:User
1、配置個人home目錄下的svn設定檔:~/.subversion/config,定位並配置為如下內容: 
[plain]  view plain copy [helpers]    editor-cmd = /usr/bin/vim    儲存退出,即可使用了。 

這樣,當預覽自己的修改時,只需要運行:svn diff,其就會調用vim來顯示提交的內容了。

2、編輯svn-commit.tmp檔案,在上面寫上修改說明,下面會顯示修改的檔案清單

維護原因:bug單號:15344描述:修改了一個記憶體泄露--This line, and those below, will be ignored--M test/memcheck.cpp
3、當不需要遞交時,不儲存,直接退出vim,會提示如下內容,直接選擇a,則會取消遞交

Log message unchanged or not specified(a)bort, (c)ontinue, (e)dita
4、當需要遞交時,儲存內容,會直接遞交成功


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.