svnadmin create /home/web-page/
另外要赋予apache访问权限的用户
chown -R daemon:daemon /web-page/
2 svn 赋予用户密码
htpasswd utility for managing the list of acceptable usernames and passwords,lets grant commit access to Sally and Harry,first,we need to add them to password file.
htpassword /home/svn1/conf/authz Sally
add password
confrom password
3 svn replication
svnsync + pre-revprop-change hook
1 svnsync init destinaion source (initialize)
2 svnsync sync destinaion (synchronization)
3 vi post-commit
#!/bin/bash
svnsync sync destination >/dev/null 2>&1
4 recommanded repository layout
svn list file://svn-repos
5 disabling password caching
to disable password caching for a partcular one-time command,pass the -no-auth-cache option on the command line.to permanently diable caching.you can add the line store-passwords =no to your local machine's subversion configuration file.see the section called "client credentials caching " for details.
6 undo working changes
svn revert readme
7 resole conflicts
svn resolved readme
8 postponing 推迟冲突
If you're running an update and don't
want to resolve any conflicts, you can pass the --non-interactive option to svn up-
date, and any file in conflict will be marked with a C automatically.
9 punting;(丢弃,撒手不干) using svn revert
10 comparing repostitory revisions
svn diff -r 2:3 666
11
fetching order repository revision
svn checkout -r 1796
svn update -r 1790
12 recovering from an interruption
svn cleanup
13 cat logs from date
svn log -r {2014-1-25};{2014-2-25}
14 mainipulation properties
svn propset listense