diff options
author | naddy <naddy@FreeBSD.org> | 2015-09-21 04:56:59 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2015-09-21 04:56:59 +0800 |
commit | 2894bb3628fb82566301fef9eb2c2ea04a803e09 (patch) | |
tree | bb42ccbb954047cd27a46af6dc903e0ddf08346a | |
parent | 261bbba88410d36594e6abc25f159144c4bcb4d1 (diff) | |
download | freebsd-ports-graphics-2894bb3628fb82566301fef9eb2c2ea04a803e09.tar.gz freebsd-ports-graphics-2894bb3628fb82566301fef9eb2c2ea04a803e09.tar.zst freebsd-ports-graphics-2894bb3628fb82566301fef9eb2c2ea04a803e09.zip |
Default to repo.FreeBSD.org for commits, as urged by our repo meister.
Approved by: portmgr (mat)
-rwxr-xr-x | Tools/scripts/mfh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Tools/scripts/mfh b/Tools/scripts/mfh index 226d28b5de4..9f2e76483fc 100755 --- a/Tools/scripts/mfh +++ b/Tools/scripts/mfh @@ -67,7 +67,7 @@ do esac done -: ${svnserver:="svn.FreeBSD.org"} +: ${svnserver:="svn+ssh://repo.FreeBSD.org"} if [ -n "$(type svn 2>/dev/null)" ]; then svn=svn @@ -80,7 +80,7 @@ fi trap "rc=\$? ; rm -rf \"\${dir}\" ; exit \$rc" EXIT dir=$(mktemp -d /tmp/merge.XXXXXX) cd "${dir}" -"${svn}" co --depth=empty svn+ssh://${svnserver}/ports/branches/"${branch}" +"${svn}" co --depth=empty ${svnserver}/ports/branches/"${branch}" filelist="" echo -n "MFH:" > commit.txt @@ -93,8 +93,7 @@ echo >> commit.txt for rev in $@ do rev=${rev##r} - # svn:// is faster than svn+ssh://. Use it wherever it's possible. - for f in $("${svn}" diff --summarize -c r${rev} svn://${svnserver}/ports/head); do + for f in $("${svn}" diff --summarize -c r${rev} ${svnserver}/ports/head); do case ${f} in */*) ;; *)continue;; @@ -103,7 +102,7 @@ do f=${f%/*} filelist="${filelist}${LF}${f}" done - "${svn}" log -r${rev} svn://${svnserver}/ports/head | sed '1,2d;$d;/^MFH:/d' \ + "${svn}" log -r${rev} ${svnserver}/ports/head | sed '1,2d;$d;/^MFH:/d' \ | sed '$d' >> commit.txt done filelist=$(printf '%s\n' "${filelist}" | sort -u) |