⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svn-log.pl

📁 linux subdivision ying gai ke yi le ba
💻 PL
字号:
#!/usr/bin/perl
# Generate a nice log format for the Subversion repository.
  
use strict;
   
my $repos = shift @ARGV;
   
# Make sure we got all the arguments we wanted
if ((not defined $repos) or ($repos eq ''))
   {
       print "Usage: svn_logs.pl REPOS-PATH\n\n";
       exit;
   }
   
# Get the youngest revision in the repository.
my $youngest = `svnlook youngest $repos`;
chomp $youngest;    # don't want carriage return
die ("Error using svnlook to get youngest revision") if (not $youngest =~
/^\d/);

while ($youngest >= 1)
   {
       print "--------------------------------------------------------\n";
       print "Revision $youngest\n";
       print `svnlook info $repos -r $youngest`;
       print "\n";
       $youngest--;
   }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -