svn 从外部位置更新文件

发布于 2024-10-06 04:30:12 字数 251 浏览 1 评论 0原文

我已经使用 svn 检查了一个文件夹并尝试提交。 但它显示 svn: 非法存储库 URL。我尝试了几个选项来解决此问题,但没有帮助。我能够查看状态、日志等,并且能够访问 URL,但无法签入。

现在我将使用 root 用户重新签出并尝试报到。 现在的问题是: 我可以覆盖我从较早的文件夹(签入失败的地方)修改的文件吗?如果不是,最好的解决方案是什么?

(注意:我正在跟踪谁在更改什么,并且我不会遇到与合并相关的任何问题。)

谢谢! 克姆尔

I have checked out a folder using svn and trying to commit in.
But it is showing svn: Illegal repository URL. I tried few options to fix this, but it didnt help.I m able to view status , log etc., and able to access the URL but unable to check it in.

Now I m going to freshly checkout using root user and tryint to checkin.
Now the question:
can I just overwrite those files modified by me taking it from earlier folder(where checkin failed) If not what can be best possible solution ?

(note:I m keeping track of who is changing what and i wont face any issue related to merging.)

Thanks!
Kmr

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

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

发布评论

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

评论(2

半山落雨半山空 2024-10-13 04:30:12

将修改后的文件从旧文件夹覆盖到新的签出文件夹是完全可以的,只需确保如果旧签出和新签出之间有任何提交,请将这些更改合并到修改后的文件中。

It is perfectly fine to overwrite the modified files from your old folder to your new checkout folder, just make sure that if there were any commits between your old checkout and your new one you merge those changes into your modified files.

凉城已无爱 2024-10-13 04:30:12

如果您的签入失败,那么它尚未提交到 svn 存储库。您始终可以尝试使用 svn co 取出新的存储库,然后再次执行 svn ci file1 file2 .. 。

然而,你必须调试,为什么你会进入它告诉你非法存储库 URL 的状态。我认为唯一的可能性是工作存储库已损坏并且丢失了目标 URL。

下次执行 svn info 来查看存储库的详细信息。

If your checkin has failed then it has not been committed to svn repository. You can always try to take out a fresh repository with svn co and do svn ci file1 file2 .. again.

How ever, you must debug, why did you get in the state where it is telling you illegal repository url. The only possibility, I see is that the working repository was corrupted and has lost the target url.

Next time do an svn info to see the details of the repository.

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