将本地 svn 存储库复制到 Assembla
我正在使用带有下拉框的 Visual SVN 对我的代码进行版本控制。我决定将我的存储库移至 Assembla 在线。我一生都无法弄清楚如何将我的保管箱上的存储库复制到我的 Assembla URL。
我不再需要使用 Dropbox,我想要的只是能够从我的新 Assembla URL 访问存储库并从该 URL 提交/更新。
谁能解释我该怎么做?
I'm using Visual SVN with drop box to version control my code. I've decided to move my repository to Assembla online. I can't for the life of me work out how to copy the repository I have on my dropbox to my Assembla URL.
I won't be needing to use Dropbox anymore all I want is to be able to access the repository from my new Assembla URL and commit/update from the URL.
Can anyone explain how I can do so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
实际上它应该取决于你创建 svn 存储库的方式,的 svn assembla 空间的常用导入 url是/subversion/repo
如果您使用 svnadmin create repo_name 创建它,这是我知道的唯一方法,
那么你应该能够使用 svnadmin dump repo_name > repo_name.dump 命令也是如此,
稍后您可以将存储库转储导入到汇编颠覆空间中。
名为
https://app.assembla.com/code/
Actually it should depend on the way you created the svn repo,
if you created it by using
svnadmin create repo_name
, and this is the only way i know,then you should be able to use
svnadmin dump repo_name > repo_name.dump
command as well,later you can import your repo dump into an assembla subversion space.
usual import url for an svn assembla space named <space_name> is
https://app.assembla.com/code/<space_name>/subversion/repo
svn 的一个问题是您无法通过一次操作将一组文件转换为 svn 存储库。您必须使用三步过程:
1) 使用 svn 客户端和存储库 URL“svn checkout”您的新存储库。在 Visual SVN 中,命令是“添加解决方案/现有存储库”。您将从 Assembla 存储库中获得一个空的“trunk”目录。
2)将文件复制到该目录中
3) svn commit
我认为添加客户端操作以将非版本化文件放入现有存储库是一个好主意,我会向我的 svn 客户端团队询问这一点。
One of the issues with svn is that you can't turn a set of files into an svn repository in one operation. You have to use a three step process:
1) "svn checkout" your new repository using your svn client and your repository URL. In Visual SVN, the command is "Add Solution / Existing Repository". You will get an empty "trunk" directory from the Assembla repository.
2) Copy the files into that directory
3) svn commit
I think it is a good idea to add a client operation to put non-versioned files into an existing repository, and I will ask for this from my svn client team.
不熟悉 dropbox,如果它提供了一种获取备份的方法,那么您只需在 Source/Svn 工具的“导入/导出”选项卡上轻松将备份导入到 assembla(如果您熟悉 assembla.com,也算在内)并保留提交历史。如果它不提供备份,那么如果您想将文件夹结构提交到 svn,请执行以下步骤。
希望有帮助
not familiar with dropbox, if it offers a way to get a backup then you can just import the backup to assembla easily on Import/Export tab of the Source/Svn tool(counting if you are familiar with assembla.com) and keep the commit history. If it does not offer backup then these are the steps you take if you want to commit a folder structure to svn.
Hope that helps