Differences between revisions 1 and 2
Revision 1 as of 2005-12-21 09:53:35
Size: 1001
Editor: ZoomQuiet
Comment:
Revision 2 as of 2009-12-25 07:15:44
Size: 1003
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
学习[http://www.subversion.org.cn/svnbook/1.1/svn-ch-5-sect-3.html#svn-ch-5-sect-3.2 SVN1.1 Book] 学习[[http://www.subversion.org.cn/svnbook/1.1/svn-ch-5-sect-3.html#svn-ch-5-sect-3.2|SVN1.1 Book]]

2005-12-21 SVN 管理深入

学习SVN1.1 Book 使用快速脚本:{{{#!/bin/sh

REPOS="${1}" if [ "x$REPOS" = x ] ; then

  • echo "usage: $0 REPOS_PATH" exit

fi

for TXN in svnadmin lstxns ${REPOS}; do

  • echo "---[ Transaction ${TXN} ]


"

  • svnlook info "${REPOS}" --transaction "${TXN}"

done }}} t# ./txn-info.sh woodpecker 获得了奇妙的信息:

---[ Transaction 60-1 ]-------------------------------------------
jianting
2005-09-28 21:17:45 +0800 (Wed, 28 Sep 2005)
0

---[ Transaction 204-1 ]-------------------------------------------

2005-12-01 21:10:43 +0800 (Thu, 01 Dec 2005)
0

有运行了 超过 两个月的事务!??!

  • 进行管理命令的运行!

svnadmin rmtxns myrepos `svnadmin lstxns myrepos`

woodpecker-log/2005-12-21 (last edited 2009-12-25 07:15:44 by localhost)