Quick reference to sub version’s repository administration commands #14

Sub version administration related commands

  • svnlook:to examine various revisions and transactions in a repository. No change is made by this command. Just analyze near to commit or committed changes.
  • svnadmin:
  • ls repos: check sub version repository
  • svnadmin create “path to repository”
  • svnadmin create –fs-type fsfs /path/to/repos: creates repository that uses FSFS file system
  • svnadmin create –fs-type bdb /path/to/repos : creates repository that uses BDB in the backend
  • ls repos/hooks/: This displays the hooks for the repository. Hooks are scripts that run in different repository events. You can write or use third party hooks as well
  • svnadmin help: provides information on how to use svnadmin command
  • svnadmin –version
  • Available subcommands of svnadmin: crashtest, create,deltify
  • svnlook info /path/to/repos:
  • svnlook info /path/to/repos -r 19
  • svnlook youngest /path/to/repos: younest revision number
  • svnsync: Creates read only mirror of the sub version repository
  • svnsync:subcommands:synchronize (sync),copy-revprops,help (?, h)
  • svnadmin setlog myrepos newlog.txt -r 388 :
  • svnadmin lstxns myrepos:outlisted transactions
  • svnadmin rmtxns myrepos `svnadmin lstxns myrepos`
  • svnadmin list-unused-dblogs /path/to/repos: display unused log files
  • svnadmin list-unused-dblogs /path/to/repos | xargs rm: restore disk space from unused log files
  • svnadmin recover /path/to/repos : BDB repository recover
  • svnadmin dump myrepos > dumpfile: dump svn repository
  • svnadmin load newrepos < dumpfile :effectively replays those dumped revisions into the targetrepository for that operation
  • svnadmin create newrepos
    $ svnadmin dump myrepos | svnadmin load newrepos
  • svnadmin hotcopy /path/to/repos /path/to/repos-backup:backup repository
  • $ svnadmin hotcopy –clean-logs /path/to/bdb-repos /path/to/bdb-repos-backup

Sub version repository strategies

You may create three folders: trunk, branch, tags. Trunk->main development, bracnch->to create various named brances of the main trunc, tags->collection of free snapshots that are created and destroyed

Subversion repository may make use of backend database like berkeley DB or it can just use a file system like FSFS

From: http://sitestree.com/?p=4736
Categories:14
Tags:
Post Data:2008-05-30 10:27:31

    Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
    (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a> 
    In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
    <a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
    8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
    Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
    Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>