Subversion

From RobolaboWiki
Revision as of 09:37, 8 January 2013 by 80.30.112.152 (Talk) (Created page with "<!--__NOTOC__--> <h1> Subversion Manager </h1> <h2> Dump </h2> To create a file with all the repo <pre> svnadmin dump <SVN_REPO_NAME> > <SVN_DUMPFILE_NAME> </pre> <h2> Lo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Subversion Manager

Dump

To create a file with all the repo

svnadmin dump <SVN_REPO_NAME> > <SVN_DUMPFILE_NAME>

Load

To create a repo from a dump file

svnadmin create <SVN_REPO_NAME>
svnadmin load <SVN_DUMPFILE_NAME> < <SVN_REPO_NAME>

Filter

To create a repo file with a specific directory within the dump file

svndumpfilter include <PATH_TO_DESIRED_DIR> --drop-empty-revs --renumber-revs --preserve-revprops < <SVN_DUMPFILE_NAME> > <SVN_DESIRED_DIR_DUMPFILE_NAME>