SVN导入为什么不起作用? [英] Why doesn't svn import work?
问题描述
我在Mac OS X 10.5.6上安装了Subversion.
I have subversion setup on Mac OS X 10.5.6. When I do
svn import myproject file:///library/subversion/myproject/trunk -m "initial import"
Committed revision 2.
什么都没发生.我回到命令提示符,没有文件导入.有什么建议吗?
Nothing happens. I'm back at the command prompt and no files are imported. Any suggestions?
推荐答案
这不是答案,但我不能坚持评论. (如果有更好的主持人方式,请告诉我.)
This isn't an answer but I can't stick in the comments. (If there is a better way moderator, please let me know).
这是我为第二个帐户执行的步骤,效果很好. repo,repo2和testdocs在根文件夹中.
Here's the steps I did for the second account, which works fine. repo, repo2 and testdocs are in the root folder.
登录到usera帐户 打开终端,然后....
Log into usera account Open Terminal and....
MacBook:/ usera$ svnadmin create repo2
MacBook:/ usera$ chmod -R a+rwX repo2
MacBook:/ usera$ cd testdocs
MacBook:testdocs usera$ svn import file:///repo2 -m "initial import"
Adding questions.rtf
Adding UsingStatement.txt
Adding questions2.txt
Adding iPhone.rtf
Committed revision 1.
MacBook:testdocs usera$
然后我在svnX中打开repo2.所有文件都在那里.我注销了usera并登录到我的帐户.我已经完成了上述操作,但是使用了"repo".这些是我已经发布的结果,显示导入不起作用.我用svnX打开repo2.所有文件仍然在那里.我用svnX打开仓库.没有文件.为什么它在一个帐户中有效而在另一个帐户中无效?
Then I opened repo2 in svnX. All files are there. I log off of usera and logon to my account. I had already done the above but with "repo". Those are the results I've already posted, which show import not working. I open repo2 with svnX. All files are still there. I open repo with svnX. No files. Why does it work in one account and not in another?
这篇关于SVN导入为什么不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!