将本地目录转换为 svn repo [英] turning a local directory into a svn repo

查看:38
本文介绍了将本地目录转换为 svn repo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了这个教程:http://masstransmit.com/garage_blog/create-svn-existing-project/

但我卡在第 3 步

我所做的是:

  1. svnadmin 创建/root/cinnamon-for-crux
  2. svn import/root/cinnamon file:///root/cinnamon-for-crux

现在第 3 步应该按照教程进行:svn co/root/cinnamon-for-crux.但后来我收到一条消息错误的论点.

Now step 3 schould be according to the tutorial: svn co /root/cinnamon-for-crux. but then I get a message wrong arguments.

谁能告诉我如何使这项工作如此 cinnamon-for-crux 将成为一个 svn 存储库,其中包含所有数据和 cinnamon 的内容?

Anyone who can tell me how I can make this work so cinnamon-for-crux will be a svn repo with all the data and the contents of cinnamon in it?

编辑 1:所以 svn co file:///cinnamon-for-crux 应该可以工作

Edit 1: So svn co file:///cinnamon-for-crux schould work

编辑 2:如果我从编辑 1 svn co file://cinnamon-for-crux 执行命令,我会看到以下错误消息:

Edit 2: If I did the command from edit 1 svn co file://cinnamon-for-crux I see these error messages:

svn: E1800001: Unable to connect to a repo at url 'file:///cinnamon-for-crux' 
svn : E1800001 : Unable to open a ra-local session to URL
svn: E1800001: Unable to open repo at url 'file:///cinnamon-for-crux

编辑 3:它有效.谁能告诉我将本地树上传到我在 googlecode 上的页面的命令是什么?

Edit 3: it works. Can anyone tell me what the command is to upload the local tree to my page on googlecode ?

推荐答案

存储库路径始终是 URL.您需要使用 file:///root/cinnamon-for-crux.

Repository paths are always URLs. You need to use file:///root/cinnamon-for-crux.

这篇关于将本地目录转换为 svn repo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆