2015-02-26 09:41

[SVN] 取得最新的版號日期

命令列指令:
svn info

  1. Path: . 
  2. URL: https://xxxxxxxxxxxxxxxxxxxx 
  3. Repository Root: https://xxxxxxxxxxxxxxxxxxxx 
  4. Repository UUID: 7be9c518-46a6-4cff-bfa7-8a37a304b21d 
  5. Revision: 78 
  6. Node Kind: directory 
  7. Schedule: normal 
  8. Last Changed Author: weskerjax 
  9. Last Changed Rev: 78 
  10. Last Changed Date: 2015-01-09 23:48:14 +0800 (週五, 09 一月 2015) 


輸出 XML 格式:
svn info --xml

  1. <?xml version="1.0"?> 
  2. <info> 
  3.  <entry kind="dir" path="." revision="78"> 
  4.    <url>https://xxxxxxxxxxxxxxxxxxxxxx</url> 
  5.    <repository> 
  6.      <root>https://xxxxxxxxxxxxxxxxxxxxxx</root> 
  7.      <uuid>7be9c518-46a6-4cff-bfa7-8a37a304b21d</uuid> 
  8.    </repository> 
  9.    <wc-info> 
  10.      <schedule>normal</schedule> 
  11.      <depth>infinity</depth> 
  12.    </wc-info> 
  13.    <commit revision="78"> 
  14.      <author>weskerjax</author> 
  15.      <date>2015-01-09T15:48:14.049424Z</date> 
  16.    </commit> 
  17.  </entry> 
  18. </info> 

0 回應: