Hex Artifact Content
Not logged in

Artifact 3953c975fca0e277eff5b64cc433310bf15dfb82:

Ticket change [3953c975fc] - New ticket [03fec0ab60] Unlike 'fossil extras', 'fossil clean' doesn't consider case-sensitivity. by anonymous 2012-11-02 18:55:10.
0000: 44 20 32 30 31 32 2d 31 31 2d 30 32 54 31 38 3a  D 2012-11-02T18:
0010: 35 35 3a 31 30 2e 31 37 34 0a 4a 20 63 6f 6d 6d  55:10.174.J comm
0020: 65 6e 74 20 4f 6e 5c 73 61 5c 73 63 61 73 65 2d  ent On\sa\scase-
0030: 69 6e 73 65 6e 73 69 74 69 76 65 5c 73 66 69 6c  insensitive\sfil
0040: 65 6e 61 6d 65 5c 73 70 6c 61 74 66 6f 72 6d 5c  ename\splatform\
0050: 73 73 75 63 68 5c 73 61 73 5c 73 57 69 6e 64 6f  ssuch\sas\sWindo
0060: 77 73 2c 5c 73 27 66 6f 73 73 69 6c 5c 73 63 6c  ws,\s'fossil\scl
0070: 65 61 6e 27 5c 73 6d 61 79 5c 73 70 72 6f 6d 70  ean'\smay\spromp
0080: 74 5c 73 74 6f 5c 73 64 65 6c 65 74 65 5c 73 66  t\sto\sdelete\sf
0090: 69 6c 65 73 5c 73 74 68 61 74 5c 73 61 72 65 6e  iles\sthat\saren
00a0: 27 74 5c 73 72 65 70 6f 72 74 65 64 5c 73 62 79  't\sreported\sby
00b0: 5c 73 72 75 6e 6e 69 6e 67 5c 73 27 66 6f 73 73  \srunning\s'foss
00c0: 69 6c 5c 73 65 78 74 72 61 73 27 2e 5c 73 49 5c  il\sextras'.\sI\
00d0: 73 77 6f 75 6c 64 5c 73 65 78 70 65 63 74 5c 73  swould\sexpect\s
00e0: 27 63 6c 65 61 6e 27 5c 73 6f 6e 6c 79 5c 73 74  'clean'\sonly\st
00f0: 6f 5c 73 70 72 6f 6d 70 74 5c 73 74 6f 5c 73 64  o\sprompt\sto\sd
0100: 65 6c 65 74 65 5c 73 74 68 65 5c 73 73 61 6d 65  elete\sthe\ssame
0110: 5c 73 66 69 6c 65 73 5c 73 6c 69 73 74 65 64 5c  \sfiles\slisted\
0120: 73 62 79 5c 73 27 65 78 74 72 61 73 27 2e 5c 72  sby\s'extras'.\r
0130: 5c 6e 5c 72 5c 6e 49 6e 5c 73 63 68 65 63 6b 69  \n\r\nIn\schecki
0140: 6e 2e 63 2c 5c 73 74 68 65 5c 73 66 75 6e 63 74  n.c,\sthe\sfunct
0150: 69 6f 6e 5c 73 63 6c 65 61 6e 5f 63 6d 64 28 29  ion\sclean_cmd()
0160: 5c 73 61 70 70 65 61 72 73 5c 73 74 6f 5c 73 67  \sappears\sto\sg
0170: 65 6e 65 72 61 74 65 5c 73 61 5c 73 66 69 6c 65  enerate\sa\sfile
0180: 5c 73 6c 69 73 74 5c 73 75 73 69 6e 67 3a 5c 72  \slist\susing:\r
0190: 5c 6e 5c 73 5c 73 64 62 5f 6d 75 6c 74 69 5f 65  \n\s\sdb_multi_e
01a0: 78 65 63 28 22 43 52 45 41 54 45 5c 73 54 45 4d  xec("CREATE\sTEM
01b0: 50 5c 73 54 41 42 4c 45 5c 73 73 66 69 6c 65 28  P\sTABLE\ssfile(
01c0: 78 5c 73 54 45 58 54 5c 73 50 52 49 4d 41 52 59  x\sTEXT\sPRIMARY
01d0: 5c 73 4b 45 59 29 22 29 3b 5c 72 5c 6e 5c 72 5c  \sKEY)");\r\n\r\
01e0: 6e 57 68 69 6c 65 5c 73 74 68 65 5c 73 66 75 6e  nWhile\sthe\sfun
01f0: 63 74 69 6f 6e 5c 73 65 78 74 72 61 5f 63 6d 64  ction\sextra_cmd
0200: 28 29 5c 73 75 73 65 73 3a 5c 72 5c 6e 64 62 5f  ()\suses:\r\ndb_
0210: 6d 75 6c 74 69 5f 65 78 65 63 28 22 43 52 45 41  multi_exec("CREA
0220: 54 45 5c 73 54 45 4d 50 5c 73 54 41 42 4c 45 5c  TE\sTEMP\sTABLE\
0230: 73 73 66 69 6c 65 28 78 5c 73 54 45 58 54 5c 73  ssfile(x\sTEXT\s
0240: 50 52 49 4d 41 52 59 5c 73 4b 45 59 5c 73 25 73  PRIMARY\sKEY\s%s
0250: 29 22 2c 5c 72 5c 6e 5c 73 5c 73 5c 73 5c 73 5c  )",\r\n\s\s\s\s\
0260: 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c 73 5c  s\s\s\s\s\s\s\s\
0270: 73 5c 73 5c 73 5c 73 66 69 6c 65 6e 61 6d 65 5f  s\s\s\sfilename_
0280: 63 6f 6c 6c 61 74 69 6f 6e 28 29 29 3b 5c 72 5c  collation());\r\
0290: 6e 5c 72 5c 6e 53 6f 5c 73 49 5c 73 74 68 69 6e  n\r\nSo\sI\sthin
02a0: 6b 5c 73 74 68 65 5c 73 66 69 78 5c 73 69 73 5c  k\sthe\sfix\sis\
02b0: 73 74 6f 5c 73 75 73 65 5c 73 66 69 6c 65 6e 61  sto\suse\sfilena
02c0: 6d 65 5f 63 6f 6c 6c 61 74 69 6f 6e 28 29 5c 73  me_collation()\s
02d0: 69 6e 5c 73 63 6c 65 61 6e 5f 63 6d 64 28 29 5c  in\sclean_cmd()\
02e0: 73 74 6f 6f 2e 5c 72 5c 6e 5c 72 5c 6e 49 6e 5c  stoo.\r\n\r\nIn\
02f0: 73 6d 79 5c 73 72 65 70 6f 73 69 74 6f 72 79 2c  smy\srepository,
0300: 5c 73 74 68 65 5c 73 74 77 6f 5c 73 66 69 6c 65  \sthe\stwo\sfile
0310: 73 5c 73 74 68 61 74 5c 73 27 63 6c 65 61 6e 27  s\sthat\s'clean'
0320: 5c 73 70 72 6f 6d 70 74 73 5c 73 66 6f 72 5c 73  \sprompts\sfor\s
0330: 64 65 6c 65 74 69 6f 6e 5c 73 77 65 72 65 5c 73  deletion\swere\s
0340: 6f 72 69 67 69 6e 61 6c 6c 79 5c 73 61 64 64 65  originally\sadde
0350: 64 5c 73 75 6e 64 65 72 5c 73 61 5c 73 22 64 6f  d\sunder\sa\s"do
0360: 63 73 22 5c 73 73 75 62 2d 66 6f 6c 64 65 72 5c  cs"\ssub-folder\
0370: 73 74 68 61 74 5c 73 68 61 73 5c 73 73 69 6e 63  sthat\shas\ssinc
0380: 65 5c 73 62 65 63 6f 6d 65 5c 73 22 44 6f 63 73  e\sbecome\s"Docs
0390: 22 2e 5c 72 5c 6e 5c 72 5c 6e 54 68 61 6e 6b 73  ".\r\n\r\nThanks
03a0: 5c 72 5c 6e 4d 61 72 6b 2e 0a 4a 20 66 6f 75 6e  \r\nMark..J foun
03b0: 64 69 6e 20 31 2e 32 34 0a 4a 20 70 72 69 76 61  din 1.24.J priva
03c0: 74 65 5f 63 6f 6e 74 61 63 74 20 36 37 61 61 64  te_contact 67aad
03d0: 66 65 35 66 32 32 66 31 65 61 32 32 33 35 37 37  fe5f22f1ea223577
03e0: 63 62 38 32 37 33 37 37 32 39 32 31 66 62 39 62  cb8273772921fb9b
03f0: 61 66 34 0a 4a 20 73 65 76 65 72 69 74 79 20 49  af4.J severity I
0400: 6d 70 6f 72 74 61 6e 74 0a 4a 20 73 74 61 74 75  mportant.J statu
0410: 73 20 4f 70 65 6e 0a 4a 20 74 69 74 6c 65 20 55  s Open.J title U
0420: 6e 6c 69 6b 65 5c 73 27 66 6f 73 73 69 6c 5c 73  nlike\s'fossil\s
0430: 65 78 74 72 61 73 27 2c 5c 73 27 66 6f 73 73 69  extras',\s'fossi
0440: 6c 5c 73 63 6c 65 61 6e 27 5c 73 64 6f 65 73 6e  l\sclean'\sdoesn
0450: 27 74 5c 73 63 6f 6e 73 69 64 65 72 5c 73 63 61  't\sconsider\sca
0460: 73 65 2d 73 65 6e 73 69 74 69 76 69 74 79 0a 4a  se-sensitivity.J
0470: 20 74 79 70 65 20 43 6f 64 65 5f 44 65 66 65 63   type Code_Defec
0480: 74 0a 4b 20 30 33 66 65 63 30 61 62 36 30 32 31  t.K 03fec0ab6021
0490: 63 37 37 36 61 34 62 33 37 30 31 61 33 33 62 66  c776a4b3701a33bf
04a0: 38 38 66 31 37 39 66 62 30 62 35 64 0a 55 20 0a  88f179fb0b5d.U .
04b0: 5a 20 66 32 39 37 34 32 39 36 61 31 39 37 33 61  Z f2974296a1973a
04c0: 36 66 39 39 61 33 37 36 37 37 33 37 33 33 31 66  6f99a3767737331f
04d0: 36 63 0a                                         6c.