Hi Richard! I have found a bug in fossil 1.37.

Steps to reproduce:

$ fossil version
This is fossil version 1.37 [1669115ab9] 2017-01-16 20:58:54 UTC

$ fossil new bug.fossil
project-id: 1757131b1f9f02f15008d7ec1a8f75f4c4955762
server-id: 08494d364af82b49b5cb72f81d5933e2f5716327
admin-user: xxx (initial password is "xxx")

$ fossil open bug.fossil
project-name: <unnamed>
repository: /tmp/tmp.s6XePikF0Z/bug.fossil
local-root: /tmp/tmp.s6XePikF0Z/
config-db: /home/xxx/.fossil
project-code: e569a99dd4830a3ca443d3d8fe8a2f56b43c6e28
checkout: 9b7ff3a1bbafc8f89caad0b2a698ea2ffbbf4260 2017-01-17 13:21:43 UTC
tags: trunk
comment: initial empty check-in (user: xxx)
check-ins: 1

$ fossil changes --differ
SQLITE_ERROR: SELECTs to the left and right of UNION ALL do not have the
same number of result columns
fossil: SELECTs to the left and right of UNION ALL do not have the same
number of result columns
SELECT pathname, '' as mtime, 0 as size, deleted, chnged, rid,
coalesce(origname!=pathname,0) AS renamed, 1 AS managed FROM vfile LEFT
JOIN blob USING (rid) WHERE is_selected(id) AND (chnged OR deleted OR rid=0
OR pathname!=origname) UNION ALL SELECT pathname, '', 0, 0, 0, 0, 0, 0, 0
FROM sfile WHERE pathname NOT IN
('_FOSSIL_','_FOSSIL_-journal','_FOSSIL_-wal','_FOSSIL_-shm','.fslckout','.fslckout-journal','.fslckout-wal','.fslckout-shm','.fos','.fos-journal','.fos-wal','.fos-shm','bug.fossil','bug.fossil-journal','bug.fossil-wal','bug.fossil-shm')
ORDER BY pathname
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to