Fossil:存储库不存在或位于不可读的目录中?

发布于 2024-10-30 06:40:09 字数 642 浏览 1 评论 0原文

我的笔记本上有 2 个本地存储库。 第一个是 Fresh.fossil (http://chiselapp.com/user/johnfound/repository/FreshIDE/),位于 C:\FASM\STUFFS 中,并且第二个是 book.fossil (http://clone:[email protected] ]/schimpf-book book.fossil),位于C:\Downloads\Software

我想更新第二个,所以我首先执行的是 fossil open book.fossil,然后发生了错误:

C:\Downloads\software\fossil.exe:存储库不存在或位于不可读的目录中:C:/Downloads/software/Fresh.fossil

当我更新第一个存储库时,没有发生此错误。知道为什么吗?

I have 2 local repos on my notebook.
The first one is Fresh.fossil (http://chiselapp.com/user/johnfound/repository/FreshIDE/), located in C:\FASM\STUFFS, and the second one is book.fossil (http://clone:[email protected]/schimpf-book book.fossil), located in C:\Downloads\Software.

I'd like to update the second one, so first I did was fossil open book.fossil, and and error occured:

C:\Downloads\software\fossil.exe: repository does not exist or is in an unreadable directory: C :/Downloads/software/Fresh.fossil

This error didn't occured when I updated the first repo. Any idea why?

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

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

发布评论

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

评论(2

↙厌世 2024-11-06 06:40:09

这可能是因为存储库自第一次打开以来已被移动。
Fossil 记得存储库在哪里打开,但无法再在预期位置找到它。

重新定位存储库时,您需要执行以下操作(在源树中):

rm _FOSSIL_
fossil open repo-file-name.fossil --keep

This is likely because repository was moved since it was opened for a first time.
Fossil remember where repository was opened, but no longer able to find it at the expected location.

When relocating repository you need to do the following (in the source tree):

rm _FOSSIL_
fossil open repo-file-name.fossil --keep
留一抹残留的笑 2024-11-06 06:40:09

我找到了这封电子邮件并获取解决方案:

rm YouCloneDirectory/.fslckout

祝你有美好的一天。

I found this email and get the solution:

rm YouCloneDirectory/.fslckout

Have a good day.

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