我想我会检查一些我必须完成的小应用程序的化石。我对 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
以及产生与上面看到的相同的结果。fossil clone http://www.fossil-scm.org/ myclone.fossil
然后我尝试fossil user list
了,因为化石看起来在登录和用户方面存在问题,但是化石希望有一个 repo 参数。搜索默认配置(类似于 ~/.gitconfig 和 git)没有产生任何结果。
我也尝试rm -rf ~/.fossil
并重新运行上述命令以及brew install sqlite
用于获取更新版本(撰写本文时为 3.7.7),但似乎都没有帮助。
为了让化石正常运作,我需要做什么?