Smart SVN Revision Graph頁面查看分支的合併信息

  一直使用Tortoise SVN客戶端查看SVN上的代碼的修改日誌,分支情況等信息,在開發過程中拉分支,開發新功能是免不了的,拉分支自然需要合併回主幹,在Tortoise SVN的Revision Graph頁面能夠很清楚的看到代碼的各個分支的情況,但是唯獨無法查看分支合併的信息,以爲一般分支合併之後就把該分支刪除了,有時候忘記刪除了,時間久了就忘記該分支是否已經合併到主幹,後臺發現Smart SVN能夠查看代碼分支的合併信息;

  接下來介紹如何查看:

  1. 下載安裝Smart SVN,我用的是windows的,下載地址:

  2. 填寫SVN倉庫地址,把代碼check out到本地(不知道爲什麼一定要下載到本地,Tortoise SVN就不用下載):打開Smart SVN,依次點擊Project–》Check Out–》detailed checkout–》點擊manage–》點擊add 添加倉庫地址,然後next,選擇本地路徑,把目標代碼Check Out到本地;

  3. 查看分支的合併信息:選中左側的項目工程,點擊上方菜單Graph,點ok,

這裏寫圖片描述

點擊Query菜單,選擇Show Merge Arrows就能顯示分支的合併信息了。

參考地址:
http://www.syntevo.com/doc/display/SU/Revision+Graph 介紹了不同顏色對應的不同的分支信息

  Merge InformationThe Revision Graph can display information on which revisions have been merged from other revisions in various ways. Depending on the selected visualization method, it may be necessary to fetch SVN’s mergeinfo for every displayed revision from the repository, what may take a while. SmartSVN will cache this mergeinfo for the current graph, so subsequent invocations of mergeinfo-related queries are performed much faster.
All mergeinfo which has been loaded since the Revision Graph has been opened is cached and can be viewed with the Merge Coloring (see below). To get rid of all cached mergeinfo, use Query|Clear Merge Information.

這裏介紹瞭如何查看合併信息:
  Merge Coloring
From the View menu, you can switch from default Branch Coloring to Merge Coloring. Merge coloring shows all currently loaded (cached) mergeinfo relative to the currently selected revision. Default colors have following meaning (colors can be adjusted in the Preferences):

* black: current revision and its natural history
* green: revision has been merged into the current revision once
* light green: revision was merged into the current revision exactly at the current revision
* red: revision has not yet been merged
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章