cvsmergeinit
来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· 代码 · 共 32 行
TXT
32 行
#!/bin/sh -eif [ $# -ne 2 -a $# -ne 1 ]; then cat <<- EOF usage: $0 merge_from_tag [based_on_tag] merge_from_tag is the tag to track in this tree based_on_tag is the startingpoint of next call to cvsmerge. If not specified, then it will be the current state of merge_from_tag. Two different uses of based_on_tag exists: a) To specify the base of the branch to be merged b) To specify our current base branch, when moving out base to another branch. EOF exit 1fiif [ -f CVS/Tag ]; then localtag=`cat CVS/Tag|cut -c2-`else localtag=HEADfirootdir=`cat CVS/Root|sed -e 's/.*://'`module=`cat CVS/Repository|sed -e "s!^$rootdir!!"`mergetag=$1roottag=$2if [ -z "$roottag" ]; then roottag=$mergetagfibasetag="Z-${localtag}_merge_${mergetag}"cvs -z9 rtag -r $roottag $basetag $module
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?