不存在的文件处于不确定状态,无法推送到远程分支 (Bazaar VCS)
我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
bzr revert
(可能使用-r 1234
恢复到特定版本)。首先在特定文件上尝试:Use
bzr revert
(possibly with-r 1234
to a specific version). Try it first on the specific file: