SVN服務的啓動與關閉

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
    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/
    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/
發佈了53 篇原創文章 · 獲贊 9 · 訪問量 28萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章