Artifact [c2a09b7924]
Not logged in

Artifact c2a09b7924cff72eda3c90908a19936d3cdf0439:

Ticket change [c2a09b7924] - Fixed ticket [8e13d170f2]: File list UI does not show files with similar extensions plus 2 other changes by drh 2011-01-25 21:59:44.
D 2011-01-25T21:59:44.223
J comment Steps\sto\sreproduce:\r\n\s\s*\s\sAdd\sfiles\stest.c\sand\stest.cpp\sto\sthe\srepository.\r\n\s\s*\s\sStart\sUI\sand\sview\sFiles.\r\n\r\nExpected\sresults:\r\n\s\s*\s\sFiles\stest.c\sand\stest.cpp\sare\sboth\slisted.\r\n\r\nActual\sresults:\r\n\s\s*\s\sOnly\sfile\stest.c\sis\slisted.\r\n\r\nIt\sseems\slike\sonly\sthe\sfirst\sfile\s(in\scollating\sorder)\sis\slisted\sfor\smultiple\sfiles\swith\sthe\ssame\sname\sand\sdifferent\sextensions\swith\sa\scommon\sinitial\ssubstring.\sClicking\son\s"All"\sto\sshow\sthe\sunion\sof\sall\sfiles\sfrom\sall\scheck-ins\sdisplays\sboth\sfiles.\n\n<hr\s/><i>anonymous\sadded\son\s2011-01-24\s18:24:36\sUTC:</i><br\s/>\non\sthe\sFiles\sview,\sif\syou\sclick\s"All",\syou\swill\ssee\sit..\s\r\n\r\nit\sseems\sthat\swhen\syou\ssee\sonly\sone\sof\sthem\sbecause\sby\sdefault,\syou\ssee\sonly\sfile\sfor\sone\scheckin...\r\n\r\nI\smade\sthe\ssame\stest\sas\syou\sand\sI'm\swas\sconfused\stoo...\n\n<hr\s/><i>anonymous\sadded\son\s2011-01-24\s18:56:02\sUTC:</i><br\s/>\nIn\smy\scase,\sI\stried\sto\sedit\sthe\sfile\sthat\swas\snot\sshown\son\sthe\sdefault\sview,\sI\scommit\sit\sand\safter,\sI\sstill\sdon't\ssee\sthe\sfile\sI\sjust\scommit.\sAnd\sthe\scheckin\sid\sis\sshow\son\stop\swas\sgood.\s\r\n\r\nStep\sby\sstep\sfrom\sbeginning:\r\n\r\n<pre>\r\n#\sfossil\snew\stest.fossil\r\n#\smkdir\srepo\r\n#\scd\srepo\r\n#\sfossil\sopen\s../test.fossil\r\n#\secho\s"a\ssource\sfile"\s>\stest.c\r\n#\scp\stest.c\stest.cpp\r\n#\sfossil\sadd\stest.c\stest.cpp\s\r\n#\sfossil\scommit\r\n</pre>\r\n\r\nI\sput\ssome\scomment...\r\n\r\n<pre>\r\nfossil\sui\r\n</pre>\r\n\r\nI\ssee\sonly\stest.c\sin\s"Files"\r\n\r\nThen\sI\sedit\stest.cpp,\sI\scommit\sagain,\sI\sdo\sfossil\sui\sagain,\sI\sstill\sonly\ssee\stest.c\seven\sif\son\stop\sthe\scheckin\snumber\sshown\son\stop\sof\sthe\spage\scorrespond\sto\sthe\slatest\scommit\swhen\sI\smodified\stest.cpp.\n\n<hr\s/><i>anonymous\sclaiming\sto\sbe\sJoerg\sSonnenberger\sadded\son\s2011-01-24\s22:36:14\sUTC:</i><br\s/>\nI\scan\sreproduce\sthe\sproblem\swith\sthe\scommands\sgiven.\n\n<hr\s/><i>anonymous\sclaiming\sto\sbe\sJoerg\sSonnenberger\sadded\son\s2011-01-24\s22:42:56\sUTC:</i><br\s/>\nbrowse.c\sline\s215\sshould\sbe\sa\sstrcmp.\sThere\smight\sbe\sa\smissing\scheck\sfor\sremoved\sfiles\sin\sbase\srevisions\stoo?\n\n<hr\s/><i>anonymous\sclaiming\sto\sbe\smgagnon\sadded\son\s2011-01-25\s21:22:31\sUTC:</i><br\s/>\nIt\sseems\sthat\sthe\sproblem\shappens\swhen\sa\sfile\sname\sis\sshorter\sthan\sanother,\sbut\sall\sthe\scharacters\sare\sthe\ssame\sas\sthe\slonger\sone\s(first\scharacters).\r\n\r\n<b>example:</b>\r\n\r\n\s\s*\s\s<b><em>test.c</em></b>\sand\s<b><em>test.cpp</em></b>\s\s\swill\scause\sthe\sproblem\r\n\s\s*\s\s<b><em>test.h</em></b>\sand\s<b><em>test.c</em></b>\swill\sbe\sok\r\n\s\s*\s\s<b><em>test</em></b>\sand\s<b><em>testt</em></b>\swill\shave\sthe\ssame\sproblem\r\n\r\nSo\sit's\snot\sreally\srelated\swith\sextension...
J resolution Fixed
J status Fixed
K 8e13d170f2d6d6e3c5386b7a4177bc21fa9ba28b
U drh
Z a6bfdf3188321f97d8f7347e310434f8