svn查看指定release的revision號_SVN

來源:互聯網
上載者:User
假設每個release都tag了,可以運行svn info /path/to/svn/tag,返回如下資訊:

[plain]  view plain copy Path: [path]   URL: [url]   Revision: [當前最新的revision號]   Node Kind: directory   Last Changed Author: [author]   Last Changed Rev: [指定path最後一次更改的revision號] <- 這個就是我們想要的資訊   Last Changed Date: YYYY-MM-DD hh:mm:ss  

舉個例子,假設要得到Apache commons math的release 2.0的revision號

[plain]  view plain copy svn info https://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_0      Path: MATH_2_0   URL: https://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_0   Repository Root: https://svn.apache.org/repos/asf   Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68   Revision: 1544028   Node Kind: directory   Last Changed Author: niallp   Last Changed Rev: 909837   Last Changed Date: 2010-02-13 23:18:38 +0800   

可以看到,對應的revision是909837

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.