无法创建新的化石仓库,化石初学者
我想我应该检查化石以获取一些我必须完成的小应用程序。我对 DVCS 并不陌生,因为我使用过 CVS、subversion、mercurial 和 git。在我的 Mac (10.7) 上安装后,使用自制程序,尝试运行时出现以下情况:
-> % fossil new ../FOSSIL/project.fossil
fossil: SQLITE_CONSTRAINT: abort at 20 in [INSERT INTO user(login,pw,cap,info) VALUES('developer','','dei','Dev');]: column login is not unique
fossil: column login is not unique
INSERT INTO user(login,pw,cap,info) VALUES('anonymous',hex(randomblob(8)),'hmncz','Anon');INSERT INTO user(login,pw,cap,info) VALUES('nobody','','gjor','Nobody');INSERT INTO user(login,pw,cap,info) VALUES('developer','','dei','Dev');INSERT INTO user(login,pw,cap,info) VALUES('reader','','kptw','Reader');
If you have recently updated your fossil executable, you might need to run "fossil all rebuild" to bring the repository schemas up to date.
我尝试运行 fossil init ../FOSSIL/project.fossil
以及 化石克隆http://www.fossil-scm.org/ myclone.fossil
产生与上面相同的结果。
然后我尝试了fossil user list
,因为看起来fossil在登录和用户方面存在问题,但是fossil需要一个repo参数。搜索默认配置(类似于 git 的 ~/.gitconfig)没有结果。
我还尝试过 rm -rf ~/.fossil
并重新运行上述命令以及使用 brew install sqlite
来获取更新版本(3.7.7 截至这篇文章),但似乎都没有帮助。
为了让化石正常发挥作用,我需要做什么?
I figured I would check out fossil for some small apps I have to complete. I am not new to DVCS as I have used CVS, subversion, mercurial, and git. After installing on my Mac (10.7), using homebrew, I am left with the following when attempting to run:
-> % fossil new ../FOSSIL/project.fossil
fossil: SQLITE_CONSTRAINT: abort at 20 in [INSERT INTO user(login,pw,cap,info) VALUES('developer','','dei','Dev');]: column login is not unique
fossil: column login is not unique
INSERT INTO user(login,pw,cap,info) VALUES('anonymous',hex(randomblob(8)),'hmncz','Anon');INSERT INTO user(login,pw,cap,info) VALUES('nobody','','gjor','Nobody');INSERT INTO user(login,pw,cap,info) VALUES('developer','','dei','Dev');INSERT INTO user(login,pw,cap,info) VALUES('reader','','kptw','Reader');
If you have recently updated your fossil executable, you might need to run "fossil all rebuild" to bring the repository schemas up to date.
I have attempted to run fossil init ../FOSSIL/project.fossil
as well as fossil clone http://www.fossil-scm.org/ myclone.fossil
which yields the same results as seen above.
I then tried fossil user list
as it looks like fossil is having issues with logins and users, however fossil expects a repo argument. Searching for the default configuration (something like ~/.gitconfig with git) yielded no results.
I have also tried rm -rf ~/.fossil
and re-running the above commands as well as using brew install sqlite
to get the updated version (3.7.7 as of this writing), but neither seem to help.
What do I need to do in order to get fossil functioning properly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
愚蠢的问题...您自己在系统上的用户名是“开发人员”吗?因为这会与自动创建的用户之一的名称发生冲突。
尝试执行“fossil init -A admin(文件名)”,为存储库所有者使用不同的名称(在我的示例中为“admin”),看看它是否有效。
Silly question... is your own username on the system "developer"? Since that would clash with the name of one of the auto-created users.
Try doing "fossil init -A admin (filename)" to use a different name ("admin" in my example) for the repository owner and see if it works.