2015-02-26 09:41

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

命令列指令:
svn info

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


輸出 XML 格式:
svn info --xml

<?xml version="1.0"?>
<info>
  <entry kind="dir" path="." revision="78">
    <url>https://xxxxxxxxxxxxxxxxxxxxxx</url>
    <repository>
      <root>https://xxxxxxxxxxxxxxxxxxxxxx</root>
      <uuid>7be9c518-46a6-4cff-bfa7-8a37a304b21d</uuid>
    </repository>
    <wc-info>
      <schedule>normal</schedule>
      <depth>infinity</depth>
    </wc-info>
    <commit revision="78">
      <author>weskerjax</author>
      <date>2015-01-09T15:48:14.049424Z</date>
    </commit>
  </entry>
</info>

0 回應: