编写脚本review.sh:
#!/bin/bash VERSION=`svn log -v --stop-on-copy $1 | grep -B4 "svn copy" | head -1 | awk ‘{print substr($1,2)}‘` svn di -r ${VERSION}:head $1
用法脚本后跟分支路径:
review.sh http://svn.apdplat.org/apdplat/word/branches/20141020_396299_2
时间: 2024-10-11 17:21:44