svn recording on mac

1. Start the svn server
svnadmin create /Users/liuwei/Desktop/svn/ UI If there is a UI directory locally, you don't need to run it again

Just use this

svnserve -d -r /Users/liuwei/Desktop/svn/UI/mycode

2. Modify the configuration file (you can start the modification once) Note that no spaces are left in front of each sentence!!!

Modify svnserve.conf:

# anon-access = read

# auth-access = write

# password-db = passwd

# authz-db = authz


3. Upload a local file to the svn server for the first time
svn import /Users/liuwei/Desktop/UI svn://localhost/svn/UI/mycode --username=harry --password=harryssecret -m "import new project"

- Messages after m are in English

The steps are all right, hehe, I don't know why I keep making mistakes here. Baidu has not solved it.
Assertion failed: (svn_uri_is_canonical(parent_uri, NULL)), function uri_skip_ancestor, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/subversion/subversion-78/subversion/subversion/libsvn_subr/dirent_uri.c, line 1522.
Abort trap: 6

4. Kill all svn
killall  svnserve
Or go to Activity Monitor to kill the process 

reference: http://www.icafebolger.com/server/svnstart.html
He recommends using the svnX client



 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325094713&siteId=291194637