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/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值