Apache Subversion

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第8行: 第8行:
 
   
 
   
 
http://www.howtoforge.com/debian_subversion_websvn
 
http://www.howtoforge.com/debian_subversion_websvn
 +
 +
==Commands==
 +
1. svn -h // The command-line client program
 +
Available subcommands:
 +
  add
 +
  blame (praise, annotate, ann)
 +
  cat
 +
  checkout (co)
 +
  cleanup
 +
  commit (ci)
 +
  copy (cp)
 +
  delete (del, remove, rm)
 +
  diff (di)
 +
  export
 +
  help (?, h)
 +
  import
 +
  info
 +
  list (ls)
 +
  lock
 +
  log
 +
  merge
 +
  mkdir
 +
  move (mv, rename, ren)
 +
  propdel (pdel, pd)
 +
  propedit (pedit, pe)
 +
  propget (pget, pg)
 +
  proplist (plist, pl)
 +
  propset (pset, ps)
 +
  resolved
 +
  revert
 +
  status (stat, st)
 +
  switch (sw)
 +
  unlock
 +
  update (up)
 +
 +
2. svnversion -h // A program for reporting the state of a working copy.
 +
$ svnversion ./repos/svn/trunk
 +
4168
 +
Valid options:
 +
  -n [--no-newline]        : do not output the trailing newline
 +
  -c [--committed]        : last changed rather than current revisions
 +
  -h [--help]              : display this help
 +
  --version                : show program version information
 +
 +
3. svnlook -h // A tool for directly inspecting a subversion repository
 +
Available subcommands:
 +
  author
 +
  cat
 +
  changed
 +
  date
 +
  diff
 +
  dirs-changed
 +
  help (?, h)
 +
  history
 +
  info
 +
  lock
 +
  log
 +
  propget (pget, pg)
 +
  proplist (plist, pl)
 +
  tree
 +
  uuid
 +
  youngest
 +
 +
4. svnadmin -h // A tool for creating, tweaking or repairing a subversion repository
 +
Available subcommands:
 +
  crashtest
 +
  create
 +
  deltify
 +
  dump
 +
  help (?, h)
 +
  hotcopy
 +
  list-dblogs
 +
  list-unused-dblogs
 +
  load
 +
  lslocks
 +
  lstxns
 +
  recover
 +
  rmlocks
 +
  rmtxns
 +
  setlog
 +
  verify
 +
 +
5. svndumpfilter -h // A program for fiiltering subversion repository dump streams.
 +
Available subcommands:
 +
  exclude
 +
  include
 +
  help (?, h)
 +
6. mod_dav_svn // A plug-in module for Apache HTTPD.
 +
 +
7. svnserve -h // A custom standalone server program, runnable as a daemon process or invokable by SSH; another way to make your repository available to others over a network.
 +
Valid options:
 +
  -d [--daemon]            : daemon mode
 +
  --listen-port arg        : listen port (for daemon mode)
 +
  --listen-host arg        : listen hostname or IP address (for daemon mode)
 +
  --foreground            : run in foreground (useful for debugging)
 +
  -h [--help]              : display this help
 +
  --version                : show program version information
 +
  -i [--inetd]            : inetd mode
 +
  -r [--root] arg          : root of directory to serve
 +
  -R [--read-only]        : force read only, overriding repository config file
 +
  -t [--tunnel]            : tunnel mode
 +
  --tunnel-user arg        : tunnel username (default is current uid's name)
 +
  -T [--threads]          : use threads instead of fork
 +
  -X [--listen-once]      : listen once (useful for debugging)
 +
  --pid-file arg          : write server process ID to file arg
 +
 +
8. svnsync -h // A program for incrementally mirroring one repository to another over a network.
 +
Available subcommands:
 +
  initialize (init)
 +
  synchronize (sync)
 +
  copy-revprops
 +
  help (?, h)
 
==Use==
 
==Use==
  

2007年11月19日 (一) 21:25的版本

Subversion.jpeg

目录

Install

Debian User

#apt-get install subversion
#apt-get install python2.3-subversion - python modules for interfacing with Subversion (aka. svn)
#apt-get install libapache2-svn

http://www.howtoforge.com/debian_subversion_websvn

Commands

1. svn -h // The command-line client program

Available subcommands:
  add
  blame (praise, annotate, ann)
  cat
  checkout (co)
  cleanup
  commit (ci)
  copy (cp)
  delete (del, remove, rm)
  diff (di)
  export
  help (?, h)
  import
  info
  list (ls)
  lock
  log
  merge
  mkdir
  move (mv, rename, ren)
  propdel (pdel, pd)
  propedit (pedit, pe)
  propget (pget, pg)
  proplist (plist, pl)
  propset (pset, ps)
  resolved
  revert
  status (stat, st)
  switch (sw)
  unlock
  update (up)

2. svnversion -h // A program for reporting the state of a working copy.

$ svnversion ./repos/svn/trunk
4168

Valid options:

 -n [--no-newline]        : do not output the trailing newline
 -c [--committed]         : last changed rather than current revisions
 -h [--help]              : display this help
 --version                : show program version information

3. svnlook -h // A tool for directly inspecting a subversion repository

Available subcommands:
  author
  cat
  changed
  date
  diff
  dirs-changed
  help (?, h)
  history
  info
  lock
  log
  propget (pget, pg)
  proplist (plist, pl)
  tree
  uuid
  youngest

4. svnadmin -h // A tool for creating, tweaking or repairing a subversion repository

Available subcommands:
  crashtest
  create
  deltify
  dump
  help (?, h)
  hotcopy
  list-dblogs
  list-unused-dblogs
  load
  lslocks
  lstxns
  recover
  rmlocks
  rmtxns
  setlog
  verify

5. svndumpfilter -h // A program for fiiltering subversion repository dump streams.

Available subcommands:
  exclude
  include
  help (?, h)

6. mod_dav_svn // A plug-in module for Apache HTTPD.

7. svnserve -h // A custom standalone server program, runnable as a daemon process or invokable by SSH; another way to make your repository available to others over a network.

Valid options:
 -d [--daemon]            : daemon mode
 --listen-port arg        : listen port (for daemon mode)
 --listen-host arg        : listen hostname or IP address (for daemon mode)
 --foreground             : run in foreground (useful for debugging)
 -h [--help]              : display this help
 --version                : show program version information
 -i [--inetd]             : inetd mode
 -r [--root] arg          : root of directory to serve
 -R [--read-only]         : force read only, overriding repository config file
 -t [--tunnel]            : tunnel mode
 --tunnel-user arg        : tunnel username (default is current uid's name)
 -T [--threads]           : use threads instead of fork
 -X [--listen-once]       : listen once (useful for debugging)
 --pid-file arg           : write server process ID to file arg

8. svnsync -h // A program for incrementally mirroring one repository to another over a network.

Available subcommands:
  initialize (init)
  synchronize (sync)
  copy-revprops
  help (?, h)

Use

Online Book

相关链接

CollabNet Enterprise Edition
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱