Hi All, i downloaded windows version of fossil 2.1 - after initial problems crashing when I ran it (see other thread) and rebuilding it was fine.
I used fossil hash-policy to set it to sha3 and forced a commit to the server because I didn't have files in my changes at that time. From then on commits were using sha3 fine on windows. So I went to my linux machine. It was using fossil 1.2. I got this: kevin@kevin:~/arnold$ fossil update Autosync: http://kev@xxxxxxx/arnold Round-trips: 1 Artifacts sent: 0 received: 0 unknown command: [igot] Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, sent: 353 received: 2161 ip: xxxxxxxxx Autosync failed. continue in spite of sync failure (y/N)? n update abandoned due to sync failure I then downloaded linux x64 pre-compiled 2.1 kevin@kevin:~/arnold$ fossil version This is fossil version 2.1 [83e3445f67] 2017-03-10 17:07:08 UTC kevin@kevin:~/arnold$ fossil hash-policy auto kevin@kevin:~/arnold$ fossil update Autosync: http://kev@xxxxxxx/arnold Round-trips: 1 Artifacts sent: 0 received: 0 SQLITE_CONSTRAINT: abort at 14 in [INSERT INTO blob(rcvid,size,uuid,content)VALUES(0,-1,:uuid,NULL)]: CHECK constraint failed: blob fossil: SQL error: CHECK constraint failed: blob kevin@kevin:~/arnold$ fossil hash-policy sha3 sha3 kevin@kevin:~/arnold$ fossil update Autosync: http://kev@xxxxxx/arnold Round-trips: 3 Artifacts sent: 0 received: 202 Pull done, sent: 8806 received: 157107 ip: xxxxxxx UPDATE changes.txt ... So it seems that hash-policy of auto is not working? This is a rough sequence of events: * fossil 1.2 exe on windows and on linux * fossil server updated to 2.1 * I updated windows binary to 2.1 * on windows I used hash-policy to set sha3 and used force because there were no more changes * committed some files on windows * I tried to update with linux 1.2 binary * I then updated to linux 2.1 binary * I then had to set sha3 policy (auto didn't work - see error) * update succeeded. Thanks Kevin _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users