Example
This shows the beginning of loading a repository from a backup file (made, of course, with svnadmin dump):
$ svnadmin load /usr/local/svn/restored < repos-backup <<< Started new txn, based on original revision 1 * adding path : test ... done. * adding path : test/a ... done. …Or if you want to load into a subdirectory:
$ svnadmin load --parent-dir new/subdir/for/project /usr/local/svn/restored < repos-backup <<< Started new txn, based on original revision 1 * adding path : test ... done. * adding path : test/a ... done. …Пред. | Уровень выше | След. |
svnadmin list-unused-dblogs | Содержание | svnadmin lslocks |
This lists the one locked file in the repository at /svn/repos
$ svnadmin lslocks /svn/repos Path: /tree.jpg UUID Token: opaquelocktoken:ab00ddf0-6afb-0310-9cd0-dda813329753 Owner: harry Created: 2005-07-08 17:27:36 -0500 (Fri, 08 Jul 2005) Expires: Comment (1 line): Rework the uppermost branches on the bald cypress in the foreground.ЏаҐ¤.я | “а®ўҐм ўлиҐ | я‘«Ґ¤. |
svnadmin loadя | ‘®¤Ґа¦ ЁҐ | яsvnadmin lstxns |
This deletes the locks on tree.jpg and house.jpg in the repository at /svn/repos
$ svnadmin rmlocks /svn/repos tree.jpg house.jpg Removed lock on '/tree.jpg. Removed lock on '/house.jpg.ЏаҐ¤.я | “а®ўҐм ўлиҐ | я‘«Ґ¤. |
svnadmin recoverя | ‘®¤Ґа¦ ЁҐ | яsvnadmin rmtxns |