开发者

How to create svn folder in mac os x

i am working on iphone project, i like to create an svn folder and link that one to my server I tried to run the below command

fsp3s-MacBook-Pro:~ fsp3$ svnadmin create /ram/Code/SVN

i got the below error

svnadmin开发者_StackOverflow中文版: Repository creation failed svnadmin: Could not create top-level directory svnadmin: Can't create directory '/ram/Code/SVN': No such file or directory

How to create an SVN folder in mac os x?

thanks!


What that message is telling you is that either /ram/ or /ram/Code don't exist.

But why would you want to create that folder there?

If your user's short name is ram why don't you do svnadmin create /Users/ram/SVN ?

But I think you are not asking the right question. I think you want to create a local working copy of a repo on the server, not a local repo.

what you probably need to do is svn co protocol://server/repo


Try this:

bash$ mkdir -p /ram/Code
bash$ svnadmin create /ram/Code/SVN

svnadmin does not create parent directories for you. It could also be a permissions issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜