从旧的SVN存储库到新的SVN存储库,提交未交易的代码

发布于 2025-02-13 14:00:30 字数 92 浏览 1 评论 0 原文

我有一些旧的SVN存储库中的一些不承诺的代码,这些代码现在已经下降了。我想将此代码提交给新的SVN存储库。我从Old SVN中备份了该项目。 如何将代码提交给新的SVN?

I have some uncommited code from old svn repository which is down now. I want to commit this code to new svn repository. I have taken the project backup from old svn.
How can I commit the code to new svn?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

暗恋未遂 2025-02-20 14:00:30

使用 svn > 命令如果您拥有的备份是从存储库中导出存储库树的导出(即,数据的最新快照)。如果您的词根中有一个带有隐藏 .svn 目录的工作副本,请确保您不会将此目录提交到新的存储库中。这是本地元数据目录,您不应将其投入回购。

如果您还有其他要导入的备份类型,那么使用更多详细信息更新您的问题是有意义的。

请参阅文档:

Use the svn import command if the backup you have is an export of repository tree from your repository (i.e., the most recent snapshot of data). If you have a working copy with the hidden .svn directory in its root, then make sure that you don't commit this directory into your new repository. This is a local metadata directory and you should not commit it into a repo.

If you have any other type of backup which you want to import, then it makes sense to update your question with more details.

See the documentation:

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