SVN服务的启动与关闭

来源:互联网 发布:程序员 双屏幕 编辑:程序博客网 时间:2024/05/17 05:12

http://boyun.sh.cn/blog/?p=688


SVN服务的启动与关闭

  • 关闭
    1. 查到服务的进程号:
      [test@localhost svn]$ ps -A | grep svn
      4094 ?        00:00:00 svnserve
    2. 关闭进程:kill 4094
  • 启动
    1. 启动服务:
      [test@localhost svn]$ svnserve -d -r test
    2. netstat -ntlp看3690端口是否正常开放
  • 测试状态
  • [test@localhost svn]$ svn info file:///home/test/svn/test/
    Path: test
    URL: file:///home/test/svn/test
    Repository Root: file:///home/test/svn/test
    Repository UUID: e0b65e05-4077-4f25-a81c-0289db937435
    Revision: 385
    Node Kind: directory
    Last Changed Author: test
    Last Changed Rev: 385
    Last Changed Date: 2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)
     
    [test@localhost svn]$ svn info svn://192.168.20.19
    Path: 192.168.20.19
    URL: svn://192.168.20.19
    Repository Root: svn://192.168.20.19
    Repository UUID: e0b65e05-4077-4f25-a81c-0289db937435
    Revision: 385
    Node Kind: directory
    Last Changed Author: test
    Last Changed Rev: 385
    Last Changed Date: 2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)
     
    [test@localhost svn]$ svnlook info /home/test/svn/test/
    test
    2008-12-02 16:19:57 +0800 (Tue, 02 Dec 2008)
    0
[test@localhost svn]$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.5.4.
Type ’svn help <subcommand>’ for help on a specific subcommand.
Type ’svn –version’ to see the program version and RA modules
 or ’svn –version –quiet’ to see just the version number.
 
Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.
 
Available subcommands:
  add
  blame (praise, annotate, ann)
  cat
  changelist (cl)
  checkout (co)
  cleanup
  commit (ci)
  copy (cp)
  delete (del, remove, rm)
  diff (di)
  export
  help (?, h)
  import
  info
  list (ls)
  lock
  log
  merge
  mergeinfo
  mkdir
  move (mv, rename, ren)
  propdel (pdel, pd)
  propedit (pedit, pe)
  propget (pget, pg)
  proplist (plist, pl)
  propset (pset, ps)
  resolve
  resolved
  revert
  status (stat, st)
  switch (sw)
  unlock
  update (up)
 
Subversion is a tool for version control.
For additional information, see http://subversion.tigris.org/
0 0
原创粉丝点击