将本地 svn 存储库复制到 Assembla

发布于 2024-12-05 03:49:37 字数 196 浏览 0 评论 0原文

我正在使用带有下拉框的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

红衣飘飘貌似仙 2024-12-12 03:49:37

实际上它应该取决于你创建 svn 存储库的方式,
如果您使用 svnadmin create repo_name 创建它,这是我知道的唯一方法,
那么你应该能够使用 svnadmin dump repo_name > repo_name.dump 命令也是如此,
稍后您可以将存储库转储导入到汇编颠覆空间中。
名为的 svn assembla 空间的常用导入 url是
https://app.assembla.com/code//subversion/repo

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

蝶舞 2024-12-12 03:49:37

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.

拿命拼未来 2024-12-12 03:49:37

不熟悉 dropbox,如果它提供了一种获取备份的方法,那么您只需在 Source/Svn 工具的“导入/导出”选项卡上轻松将备份导入到 assembla(如果您熟悉 assembla.com,也算在内)并保留提交历史。如果它不提供备份,那么如果您想将文件夹结构提交到 svn,请执行以下步骤。

1. create assembla space
2. add assembla svn tool, you will then get the svn-url looking like: https://subversion.assembla.com/svn/<your-space-name>
3. svn clone https://subversion.assembla.com/svn/<your-space-name>
4. copy folder structure you want to add to svn as subfolders to <your-space-name>
5. add everything to svn (svn add <each folder>)
6. svn ci -m "initial commit"

希望有帮助

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.

1. create assembla space
2. add assembla svn tool, you will then get the svn-url looking like: https://subversion.assembla.com/svn/<your-space-name>
3. svn clone https://subversion.assembla.com/svn/<your-space-name>
4. copy folder structure you want to add to svn as subfolders to <your-space-name>
5. add everything to svn (svn add <each folder>)
6. svn ci -m "initial commit"

Hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文