4

我想我会检查一些我必须完成的小应用程序的化石。我对 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),但似乎都没有帮助。

为了让化石正常运作,我需要做什么?

4

1 回答 1

9

愚蠢的问题......系统“开发人员”上的用户名是您自己的用户名吗?因为这会与自动创建的用户之一的名称发生冲突。

尝试执行“fossil init -A admin (filename)”为存储库所有者使用不同的名称(在我的示例中为“admin”),看看它是否有效。

于 2011-08-23T23:05:42.560 回答