Re: [fossil-users] Partial hash collision

2014-03-26 Thread Baruch Burstein
On Tue, Mar 25, 2014 at 11:50 PM, Andy Goth andrew.m.g...@gmail.com wrote: and allows you to search for commits by prefix. IOW the prefix thing is a pure convenience to reduce the amount of stuff to enter. Understood, but this convenience feature feeds back into the database when the user

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Baruch Burstein
I was wrong. See http://www.fossil-scm.org/index.html/artifact/ebb0 On Wed, Mar 26, 2014 at 9:15 AM, Baruch Burstein bmburst...@gmail.comwrote: On Tue, Mar 25, 2014 at 11:50 PM, Andy Goth andrew.m.g...@gmail.comwrote: and allows you to search for commits by prefix. IOW the prefix thing is

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Richard Hipp
On Tue, Mar 25, 2014 at 5:50 PM, Andy Goth andrew.m.g...@gmail.com wrote: On 3/25/2014 4:40 PM, Andreas Kupries wrote: On Tue, Mar 25, 2014 at 2:28 PM, Andy Goth andrew.m.g...@gmail.com wrote: Fossil uses unique prefixes of checksums as identifiers. No, it does not. Fossil stores full

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Jan Nijtmans
2014-03-26 11:42 GMT+01:00 Baruch Burstein bmburst...@gmail.com: On Wed, Mar 26, 2014 at 12:30 PM, Richard Hipp d...@sqlite.org wrote: But, as the longest collision I've yet seen is only 4 characters, I never have gotten around to modifying the display logic. Just for the record: Fossil

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Baruch Burstein
Out of curiosity, in the tcl repository I found 2 8-long collisions. I don't have anything bigger to test. This is what I used: select substr(uuid, 1, 8) a, count(*) b from blob group by a having b1 order by b; On Wed, Mar 26, 2014 at 1:01 PM, Jan Nijtmans jan.nijtm...@gmail.comwrote:

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Joerg Sonnenberger
On Wed, Mar 26, 2014 at 01:36:46PM +0200, Baruch Burstein wrote: Out of curiosity, in the tcl repository I found 2 8-long collisions. I don't have anything bigger to test. This is what I used: select substr(uuid, 1, 8) a, count(*) b from blob group by a having b1 order by b; By that test, I

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Stephan Beal
On Wed, Mar 26, 2014 at 1:14 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: By that test, I see 467 collission for src.fossil for 8 characters and 4 collissions for 10 characters. For pkgsrc.fossil it is 142 collisions for 8 characters and none for 10 characters. Last summer i

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Mallik Abhinas
Hi Folks:Can some one please guide me how to configure fossil web server on 80 port. I want to change it from 8080 to 80. on a ubuntu box. -Abhinas Date: Wed, 26 Mar 2014 14:14:25 +0100 From: sgb...@googlemail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Partial hash

Re: [fossil-users] Partial hash collision

2014-03-26 Thread JR
. on a ubuntu box. -Abhinas -- Date: Wed, 26 Mar 2014 14:14:25 +0100 From: sgb...@googlemail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Partial hash collision On Wed, Mar 26, 2014 at 1:22 PM, Stephan Beal sgb...@googlemail.comwrote: Last

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Stephan Beal
On Wed, Mar 26, 2014 at 5:03 PM, Mallik Abhinas fiftysix...@outlook.comwrote: @ JR: Could you please guide me where do I change it ? You pass the parameters JR mentioned to fossil, like this: fossil server --port 8080 then visit http://localhost:8080 with your browser. -- - stephan

Re: [fossil-users] Partial hash collision

2014-03-26 Thread Mallik Abhinas
] Partial hash collision On Wed, Mar 26, 2014 at 5:03 PM, Mallik Abhinas fiftysix...@outlook.com wrote: @ JR: Could you please guide me where do I change it ? You pass the parameters JR mentioned to fossil, like this: fossil server --port 8080 then visit http://localhost:8080 with your browser

[fossil-users] Partial hash collision

2014-03-25 Thread Andy Goth
Fossil uses unique prefixes of checksums as identifiers. What does it do when a previously-unique prefix becomes ambiguous due to a new commit? Also, what happens when an existing comment (or ticket or wiki page or whatever) references a no-longer-unique prefix? Fossil can't rewrite the old

Re: [fossil-users] Partial hash collision

2014-03-25 Thread Andy Goth
On 3/25/2014 4:40 PM, Andreas Kupries wrote: On Tue, Mar 25, 2014 at 2:28 PM, Andy Goth andrew.m.g...@gmail.com wrote: Fossil uses unique prefixes of checksums as identifiers. No, it does not. Fossil stores full identifiers I was referring only to the display. Full identifiers are usually