Difference between revisions of "Subversion notes"
From Simson Garfinkel
Jump to navigationJump to search
m |
|||
Line 8: | Line 8: | ||
Verify data served in a repository: | Verify data served in a repository: | ||
svnadmin verify REPOS_PATH | svnadmin verify REPOS_PATH | ||
Backup a repository: | |||
svnadmin dump REPOS_PATH | gzip -9 > svn.dump.gz | |||
Restore a backup: | |||
svnadmin create REPOS_PATH | |||
gzcat svn.dump.gz | svnadmin load REPOS_PATH |
Revision as of 08:26, 28 January 2013
File Activities
Make your PDF's binary:
svn propset svn:mime-type application/pdf *.pdf
Enable the subversion execute bit (so that scripts get checked out with their execute bit set):
svn ps svn:executable yes filename
Directory Activities
Repository Activities
Verify data served in a repository:
svnadmin verify REPOS_PATH
Backup a repository:
svnadmin dump REPOS_PATH | gzip -9 > svn.dump.gz
Restore a backup:
svnadmin create REPOS_PATH gzcat svn.dump.gz | svnadmin load REPOS_PATH