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

📄 cvsmkpatch

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻
字号:
#!/bin/bash -eif [ $# -ne 1 ]; then   echo "Usage: $0 base-tag"   echo "    where base-tag is the base branch the diff should start from"   echo "    (usually HEAD, but you should know...)"   exit 1fiif [ ! -f CVS/Root ] || [ ! -f CVS/Repository ]; then    echo "ERROR: The script must be run from a CVS working directory"    exit 1fiif [ -f CVS/Tag ]; then    localtag=`cat CVS/Tag|cut -c2-`else    echo "ERROR: The script can only be run from branches. Running"    echo "it from the HEAD version does not make sense."    exit 1firootdir=`cat CVS/Root|sed -e 's/.*://'`module=`cat CVS/Repository|sed -e "s#^$rootdir##"`mergefrom="$1"mergetag="Z-${localtag}_merge_${mergefrom}"ecvs() {    echo cvs $* >&2    cvs "$@"}o () {    echo "# $*..."}echo "Patch file generated `date` from"echo "CVS branch ${localtag}"echo "CVS repository: `cat CVS/Root`"echo "CVS module: $module"echoecvs -z9 -q rdiff -u -kk -r ${mergetag} -r ${localtag} ${module} | cleanpatch

⌨️ 快捷键说明

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