[Ttssh2-commit] [9203] 現在のブランチのリビジョンを取得するよう修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 3月 19日 (金) 00:27:48 JST


Revision: 9203
          https://osdn.net/projects/ttssh2/scm/svn/commits/9203
Author:   zmatsuo
Date:     2021-03-19 00:27:47 +0900 (Fri, 19 Mar 2021)
Log Message:
-----------
現在のブランチのリビジョンを取得するよう修正

- 最終リビジョン番号を取得していた

Modified Paths:
--------------
    trunk/svnrev_perl/svnrev.pl

-------------- next part --------------
Modified: trunk/svnrev_perl/svnrev.pl
===================================================================
--- trunk/svnrev_perl/svnrev.pl	2021-03-18 15:27:35 UTC (rev 9202)
+++ trunk/svnrev_perl/svnrev.pl	2021-03-18 15:27:47 UTC (rev 9203)
@@ -79,7 +79,7 @@
 		# 必要な情報を取り込む
 		my @text = split(/[\r\n]+/, $text);
 		foreach my $l (@text) {
-			if ($l =~ /Revision: (\d+)/) {
+			if ($l =~ /Last Changed Rev: (\d+)/) {
 				$svninfo{'Revision'} = $1;
 			} elsif ($l =~ /Relative URL: (.+)$/) {
 				my $url = $1;


Ttssh2-commit メーリングリストの案内
Back to archive index