2012-08-10 31 views
4

我试着去有gource窗口显示从SVN回购 “LIVE” 活动..gource显示LIVE SVN

我有的是:

test.sh:

#!/bin/bash 

bash test2.sh | gource --realtime --path - --log-format svn --colour-images \ 
    --highlight-users --file-extensions --follow-user sam --user-scale 2 \ 
    --file-idle-time 0 \ 
    --logo /var/www/proppolis/src/Nono/AdminBundle/Resources/public/images/logo-proppolis-01.png \ 
    --hide filenames,dirnames --camera-mode track 

TEST2 .SH

#!/bin/bash 

for ((; ;)) 
do 
    svn log http://101.101.101.101:9880/proppolis -r HEAD --username XXX --password XXX --verbose --xml --quiet 
    sleep 10 
done 

这个工作过程中:每10秒,它从HEAD修订版本的日志和标准输出的它gource

但是,一旦我删除“-r HEAD”或将它变成其他任何东西,比如0:HEAD或150或其他任何东西,它就会失灵并告诉我gource无法读取日志格式?

PS:运行svn命令事实上确实产生一个有效的日志...

在advaace

+0

ps:为了实际显示所有新的提交只有一次,这是一个非常酷的事情挂在公司的公共领域,并看看现场开发。 – 2012-08-13 07:35:16

回答