不存在的文件处于不确定状态,无法推送到远程分支 (Bazaar VCS)

发布于 2024-08-26 12:21:53 字数 730 浏览 3 评论 0原文

我使用 Bazaar VCS 在笔记本上本地版本化文件。当我在办公室时,我将更改合并到 Windows 共享上的存储库,并将所有文件推送到那里(出于备份原因)。

我的问题:

最后一次推送导致错误,因为我添加了一个文件名很长的文件(我之前遇到过这个问题...... python不喜欢长文件名)。所以我删除了该文件(无论如何我都不需要它)并暂时忘记了这个问题,因为提交仍然工作正常。

下次我想推送我的新版本时,我收到了一个新错误:

bzr: ERROR: [Error 3] Das System kann den angegebenen Pfad nicht finden: u'//path/to/remote/branch/.bzr/checkout/limbo/new-8/loooooooongfilename.xls'

翻译:

bzr: ERROR: [Error 3] The system can't find the following path:

我尝试过的:

  • 删除limbo文件夹--> limbo 文件夹不存在
  • 使用虚拟文件创建丢失的路径 -->芭莎锁分店-->解锁-->与 bzr 检查之前相同的问题
  • -->一切都很好--> bzr 调和没有成功
  • -->没有成功

感谢您的阅读;o)

I use Bazaar VCS to version files locally on my notebook. When im in the office I merge the changes to a repository on a windows share and also push all the files there (for backup reasons).

My Problem:

The last push resulted in an error, because I added a file with a very long filename (I had that problem before ... python doesn't like long filenames). So I removed the file (I didn't need it anyway) and forgot about the problem for a while, because commiting still worked fine.

The next time I wanted to push my new revision I got a new error:

bzr: ERROR: [Error 3] Das System kann den angegebenen Pfad nicht finden: u'//path/to/remote/branch/.bzr/checkout/limbo/new-8/loooooooongfilename.xls'

translation:

bzr: ERROR: [Error 3] The system can't find the following path:

What I've tried:

  • Deleting the limbo folder--> limbo folder doesn't exist
  • Create the missing path with a dummy-file --> bazaar locks the branch --> unlock --> same problem as before
  • bzr check --> Everything is fine --> No success
  • bzr reconcile --> No success

Thanks for reading ;o)

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

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

发布评论

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

评论(1

归属感 2024-09-02 12:21:53

使用bzr revert(可能使用-r 1234恢复到特定版本)。首先在特定文件上尝试:

bzr revert -r 1234 path/to/myFile.php

Use bzr revert (possibly with -r 1234 to a specific version). Try it first on the specific file:

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