Hex Artifact Content
Not logged in

Artifact 43b176572660b31c7fd8d211d8ecdcc376eeeea6:

File win32.txt part of check-in [6458f020fc] - Change the spelling of "descendant" to use the -ant suffix everywhere, including in the filename "descendant.c". The adjective form can be spelled either -ant or -ent, but the noun form requires -ant, or so says American Heritage. by drh on 2008-05-14 02:03:45.

0000: 46 6f 73 73 69 6c 20 6f 6e 20 57 69 6e 33 32 0a  Fossil on Win32.
0010: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0020: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0030: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0040: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0050: 3d 3d 3d 3d 3d 3d 0a 0a 53 65 74 74 69 6e 67 20  ======..Setting 
0060: 75 70 20 74 68 65 20 62 75 69 6c 64 20 65 6e 76  up the build env
0070: 69 72 6f 6e 6d 65 6e 74 3a 0a 2d 2d 2d 2d 2d 2d  ironment:.------
0080: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0090: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00c0: 0a 0a 20 20 49 6e 73 74 61 6c 6c 3a 0a 20 20 20  ..  Install:.   
00d0: 20 4d 69 6e 47 57 20 35 2e 31 2e 33 0a 20 20 20   MinGW 5.1.3.   
00e0: 20 4d 53 59 53 20 20 31 2e 30 2e 31 30 0a 20 20   MSYS  1.0.10.  
00f0: 0a 20 20 44 6f 77 6e 6c 6f 61 64 2f 63 6f 6d 70  .  Download/comp
0100: 69 6c 65 2f 69 6e 73 74 61 6c 6c 20 7a 6c 69 62  ile/install zlib
0110: 20 28 63 6f 6e 66 69 67 75 72 65 20 2d 2d 70 72   (configure --pr
0120: 65 66 69 78 3d 2f 6d 69 6e 67 77 29 0a 20 20 44  efix=/mingw).  D
0130: 6f 77 6e 6c 6f 61 64 2f 63 6f 6d 70 69 6c 65 2f  ownload/compile/
0140: 69 6e 73 74 61 6c 6c 20 74 63 6c 73 68 20 28 63  install tclsh (c
0150: 6f 6e 66 69 67 75 72 65 20 2d 2d 70 72 65 66 69  onfigure --prefi
0160: 78 3d 2f 29 20 28 66 6f 72 20 74 65 73 74 73 29  x=/) (for tests)
0170: 0a 20 20 0a 20 20 49 6e 73 74 61 6c 6c 69 6e 67  .  .  Installing
0180: 20 7a 6c 69 62 20 61 6e 64 20 74 63 6c 73 68 20   zlib and tclsh 
0190: 77 61 73 20 64 6f 6e 65 20 69 6e 20 74 68 65 20  was done in the 
01a0: 4d 53 59 53 20 73 68 65 6c 6c 20 73 6f 20 49 20  MSYS shell so I 
01b0: 63 6f 75 6c 64 0a 20 20 65 61 73 69 6c 79 20 75  could.  easily u
01c0: 73 65 20 74 68 65 20 63 6f 6e 66 69 67 75 72 65  se the configure
01d0: 20 73 63 72 69 70 74 73 2e 20 54 63 6c 20 69 73   scripts. Tcl is
01e0: 20 6f 6e 6c 79 20 72 65 71 75 69 72 65 64 20 74   only required t
01f0: 6f 20 72 75 6e 20 74 68 65 0a 20 20 74 65 73 74  o run the.  test
0200: 73 2e 20 59 6f 75 20 63 6f 75 6c 64 20 69 6e 73  s. You could ins
0210: 74 61 6c 6c 20 61 20 62 69 6e 61 72 79 20 64 69  tall a binary di
0220: 73 74 72 69 62 75 74 69 6f 6e 20 6f 66 20 54 63  stribution of Tc
0230: 6c 2f 54 6b 20 61 6e 64 20 75 73 65 0a 20 20 74  l/Tk and use.  t
0240: 68 61 74 20 74 6f 20 72 75 6e 20 74 68 65 20 74  hat to run the t
0250: 65 73 74 73 2c 20 6f 72 20 79 6f 75 20 63 6f 75  ests, or you cou
0260: 6c 64 20 6f 70 74 20 74 6f 20 73 69 6d 70 6c 79  ld opt to simply
0270: 20 74 72 75 73 74 20 74 68 61 74 20 0a 20 20 65   trust that .  e
0280: 76 65 72 79 74 68 69 6e 67 20 77 6f 72 6b 65 64  verything worked
0290: 20 61 6e 64 20 6e 6f 74 20 72 75 6e 20 74 68 65   and not run the
02a0: 20 74 65 73 74 73 2e 0a 20 20 0a 20 20 54 68 65   tests..  .  The
02b0: 72 65 20 69 73 20 61 20 63 6f 6e 74 72 69 62 75  re is a contribu
02c0: 74 65 64 20 7a 6c 69 62 20 70 61 63 6b 61 67 65  ted zlib package
02d0: 20 6f 6e 20 74 68 65 20 4d 69 6e 47 57 20 73 69   on the MinGW si
02e0: 74 65 2e 20 0a 20 20 0a 20 20 44 6f 77 6e 6c 6f  te. .  .  Downlo
02f0: 61 64 69 6e 67 20 61 6e 64 20 69 6e 73 74 61 6c  ading and instal
0300: 6c 69 6e 67 20 61 20 62 69 6e 61 72 79 20 54 63  ling a binary Tc
0310: 6c 2f 54 6b 20 70 61 63 6b 61 67 65 20 61 6e 64  l/Tk package and
0320: 20 74 68 65 20 0a 20 20 63 6f 6e 74 72 69 62 75   the .  contribu
0330: 74 65 64 20 7a 6c 69 62 20 70 61 63 6b 61 67 65  ted zlib package
0340: 20 77 6f 75 6c 64 20 72 65 6d 6f 76 65 20 74 68   would remove th
0350: 65 20 72 65 71 75 69 72 65 6d 65 6e 74 20 6f 66  e requirement of
0360: 20 4d 53 59 53 2e 0a 20 20 0a 0a 42 75 69 6c 64   MSYS..  ..Build
0370: 69 6e 67 20 6f 6e 20 57 69 6e 64 6f 77 73 3a 0a  ing on Windows:.
0380: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0390: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
03a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
03b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
03c0: 2d 2d 2d 2d 2d 2d 0a 0a 20 20 45 6e 73 75 72 65  ------..  Ensure
03d0: 20 79 6f 75 20 68 61 76 65 20 72 65 61 64 20 22   you have read "
03e0: 53 65 74 74 69 6e 67 20 75 70 20 74 68 65 20 62  Setting up the b
03f0: 75 69 6c 64 20 65 6e 76 69 72 6f 6e 6d 65 6e 74  uild environment
0400: 22 20 66 69 72 73 74 2e 0a 20 20 0a 20 20 42 75  " first..  .  Bu
0410: 69 6c 64 69 6e 67 20 69 73 20 61 73 20 73 69 6d  ilding is as sim
0420: 70 6c 65 20 61 73 20 6f 6e 65 20 63 6f 6d 6d 61  ple as one comma
0430: 6e 64 3a 0a 20 20 0a 20 20 20 20 20 20 43 3a 5c  nd:.  .      C:\
0440: 66 6f 73 73 69 6c 2d 73 72 63 3e 20 6d 61 6b 65  fossil-src> make
0450: 20 2d 66 20 4d 61 6b 65 66 69 6c 65 2e 77 33 32   -f Makefile.w32
0460: 0a 0a 0a 4f 75 74 73 74 61 6e 64 69 6e 67 20 49  ...Outstanding I
0470: 73 73 75 65 73 3a 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d  ssues:.---------
0480: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0490: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
04a0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
04b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 2a  -------------..*
04c0: 20 73 65 72 76 65 72 20 69 73 20 74 6f 74 61 6c   server is total
04d0: 6c 79 20 6e 6f 6e 2d 66 75 6e 63 74 69 6f 6e 61  ly non-functiona
04e0: 6c 20 2d 20 23 69 66 2f 23 65 6e 64 27 64 20 6f  l - #if/#end'd o
04f0: 75 74 20 6f 66 20 74 68 65 20 63 6f 64 65 0a 0a  ut of the code..
0500: 0a 43 6f 6d 6d 61 6e 64 73 20 73 74 61 74 75 73  .Commands status
0510: 3a 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  :.--------------
0520: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0530: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0540: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0550: 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 61 64 64 20 20 20  --------..add   
0560: 20 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 63              OK.c
0570: 67 69 20 20 20 20 20 20 20 20 20 20 20 20 20 20  gi              
0580: 20 4e 6f 74 20 74 65 73 74 65 64 0a 63 68 61 6e   Not tested.chan
0590: 67 65 73 20 20 20 20 20 20 20 20 20 20 20 4f 4b  ges           OK
05a0: 0a 63 68 65 63 6b 6f 75 74 20 20 20 20 20 20 20  .checkout       
05b0: 20 20 20 42 41 44 20 23 31 0a 63 6c 65 61 6e 20     BAD #1.clean 
05c0: 20 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 63              OK.c
05d0: 6c 6f 6e 65 20 20 20 20 20 20 20 20 20 20 20 20  lone            
05e0: 20 4f 4b 0a 63 6c 6f 73 65 20 20 20 20 20 20 20   OK.close       
05f0: 20 20 20 20 20 20 4f 4b 0a 63 6f 6d 6d 69 74 20        OK.commit 
0600: 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 63 6f             OK.co
0610: 6e 66 69 67 20 20 20 20 20 20 20 20 20 20 20 20  nfig            
0620: 4f 4b 0a 64 65 63 6f 6e 73 74 72 75 63 74 20 20  OK.deconstruct  
0630: 20 20 20 20 20 4f 4b 0a 64 65 6c 20 20 20 20 20       OK.del     
0640: 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 64 65 73            OK.des
0650: 63 65 6e 64 61 6e 74 73 20 20 20 20 20 20 20 4f  cendants       O
0660: 4b 0a 64 69 66 66 20 20 20 20 20 20 20 20 20 20  K.diff          
0670: 20 20 20 20 4f 4b 0a 65 78 74 72 61 20 20 20 20      OK.extra    
0680: 20 20 20 20 20 20 20 20 20 4f 4b 0a 68 65 6c 70           OK.help
0690: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 4b                OK
06a0: 0a 68 74 74 70 20 20 20 20 20 20 20 20 20 20 20  .http           
06b0: 20 20 20 4e 6f 74 20 54 65 73 74 65 64 0a 69 6e     Not Tested.in
06c0: 66 6f 20 20 20 20 20 20 20 20 20 20 20 20 20 20  fo              
06d0: 4f 4b 0a 6c 65 61 76 65 73 20 20 20 20 20 20 20  OK.leaves       
06e0: 20 20 20 20 20 4f 4b 0a 6c 73 20 20 20 20 20 20       OK.ls      
06f0: 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 6d 65 72            OK.mer
0700: 67 65 20 20 20 20 20 20 20 20 20 20 20 20 20 4f  ge             O
0710: 4b 0a 6e 65 77 20 20 20 20 20 20 20 20 20 20 20  K.new           
0720: 20 20 20 20 4f 4b 0a 6f 70 65 6e 20 20 20 20 20      OK.open     
0730: 20 20 20 20 20 20 20 20 20 4f 4b 0a 70 75 6c 6c           OK.pull
0740: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 4b                OK
0750: 0a 70 75 73 68 20 20 20 20 20 20 20 20 20 20 20  .push           
0760: 20 20 20 4f 4b 0a 72 65 62 75 69 6c 64 20 20 20     OK.rebuild   
0770: 20 20 20 20 20 20 20 20 4f 4b 0a 72 65 64 6f 20          OK.redo 
0780: 20 20 20 20 20 20 20 20 20 20 20 20 20 42 41 44               BAD
0790: 20 23 33 0a 72 6d 20 20 20 20 20 20 20 20 20 20   #3.rm          
07a0: 20 20 20 20 20 20 4f 4b 0a 73 65 72 76 65 72 20        OK.server 
07b0: 20 20 20 20 20 20 20 20 20 20 20 42 41 44 20 23             BAD #
07c0: 34 0a 73 74 61 74 75 73 20 20 20 20 20 20 20 20  4.status        
07d0: 20 20 20 20 4f 4b 0a 73 79 6e 63 20 20 20 20 20      OK.sync     
07e0: 20 20 20 20 20 20 20 20 20 4f 4b 0a 74 69 6d 65           OK.time
07f0: 6c 69 6e 65 20 20 20 20 20 20 20 20 20 20 4f 4b  line          OK
0800: 0a 74 6b 64 69 66 66 20 20 20 20 20 20 20 20 20  .tkdiff         
0810: 20 20 20 4f 4b 0a 75 6e 64 6f 20 20 20 20 20 20     OK.undo      
0820: 20 20 20 20 20 20 20 20 4f 4b 0a 75 70 64 61 74          OK.updat
0830: 65 20 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a  e            OK.
0840: 75 73 65 72 20 63 61 70 61 62 69 6c 69 74 69 65  user capabilitie
0850: 73 20 4f 4b 0a 75 73 65 72 20 64 65 66 61 75 6c  s OK.user defaul
0860: 74 20 20 20 20 20 20 4f 4b 0a 75 73 65 72 20 6c  t      OK.user l
0870: 69 73 74 20 20 20 20 20 20 20 20 20 4f 4b 0a 75  ist         OK.u
0880: 73 65 72 20 6e 65 77 20 20 20 20 20 20 20 20 20  ser new         
0890: 20 4f 4b 0a 75 73 65 72 20 70 61 73 73 77 6f 72   OK.user passwor
08a0: 64 20 20 20 20 20 4f 4b 0a 0a 23 31 20 48 61 76  d     OK..#1 Hav
08b0: 65 20 61 20 72 65 70 6f 20 77 68 65 72 65 20 49  e a repo where I
08c0: 20 72 65 6d 6f 76 65 64 20 61 20 66 69 6c 65 2e   removed a file.
08d0: 20 49 20 64 69 64 20 61 20 66 6f 73 73 69 6c 20   I did a fossil 
08e0: 63 68 65 63 6b 6f 75 74 20 31 32 33 61 62 63 2c  checkout 123abc,
08f0: 0a 20 20 20 77 68 69 63 68 20 69 73 20 74 68 65  .   which is the
0900: 20 6c 61 73 74 20 76 65 72 73 69 6f 6e 20 74 68   last version th
0910: 61 74 20 68 61 64 20 74 68 65 20 66 69 6c 65 2e  at had the file.
0920: 20 54 68 65 20 66 69 6c 65 20 64 6f 65 73 20 6e   The file does n
0930: 6f 74 0a 20 20 20 61 70 70 65 61 72 2e 20 66 6f  ot.   appear. fo
0940: 73 73 69 6c 20 63 68 65 63 6b 6f 75 74 20 2d 2d  ssil checkout --
0950: 66 6f 72 63 65 20 31 32 33 61 62 63 20 64 6f 65  force 123abc doe
0960: 73 20 74 68 69 6e 67 73 2c 20 62 75 74 20 73 74  s things, but st
0970: 69 6c 6c 20 74 68 65 0a 20 20 20 66 69 6c 65 20  ill the.   file 
0980: 64 6f 65 73 20 6e 6f 74 20 61 70 70 65 61 72 2e  does not appear.
0990: 0a 20 20 20 0a 20 20 20 4d 61 6b 65 20 61 20 6e  .   .   Make a n
09a0: 65 77 20 64 69 72 2c 20 66 6f 73 73 69 6c 20 6f  ew dir, fossil o
09b0: 70 65 6e 20 2e 2e 2f 72 65 70 6f 2e 66 73 6c 20  pen ../repo.fsl 
09c0: 26 26 20 66 6f 73 73 69 6c 20 63 68 65 63 6b 6f  && fossil checko
09d0: 75 74 20 31 32 33 61 62 63 20 61 6e 64 0a 20 20  ut 123abc and.  
09e0: 20 74 68 65 20 66 69 6c 65 20 61 70 70 65 61 72   the file appear
09f0: 73 2e 0a 20 20 20 0a 20 20 20 49 73 20 74 68 61  s..   .   Is tha
0a00: 74 20 6e 6f 72 6d 61 6c 20 6f 70 65 72 61 74 69  t normal operati
0a10: 6f 6e 3f 0a 0a 23 33 20 49 6e 20 74 65 73 74 31  on?..#3 In test1
0a20: 2f 20 49 20 65 64 69 74 65 64 20 61 20 66 69 6c  / I edited a fil
0a30: 65 2c 20 74 65 73 74 32 2f 20 49 20 75 70 64 61  e, test2/ I upda
0a40: 74 65 64 2c 20 74 79 70 65 20 66 69 6c 65 2e 74  ted, type file.t
0a50: 78 74 20 63 68 61 6e 67 65 73 0a 20 20 20 77 65  xt changes.   we
0a60: 72 65 20 74 68 65 72 65 2e 20 49 20 74 68 65 6e  re there. I then
0a70: 20 64 69 64 20 66 6f 73 73 69 6c 20 75 6e 64 6f   did fossil undo
0a80: 20 66 69 6c 65 2e 74 78 74 2e 20 54 68 65 20 63   file.txt. The c
0a90: 68 61 6e 67 65 73 20 77 65 72 65 20 67 6f 6e 65  hanges were gone
0aa0: 0a 20 20 20 61 6e 64 20 66 6f 73 73 69 6c 20 73  .   and fossil s
0ab0: 74 61 74 75 73 20 73 61 69 64 20 49 20 68 61 64  tatus said I had
0ac0: 20 65 64 69 74 65 64 20 66 69 6c 65 2e 74 78 74   edited file.txt
0ad0: 2e 20 41 20 66 6f 73 73 69 6c 20 72 65 64 6f 20  . A fossil redo 
0ae0: 64 69 64 20 6e 6f 74 0a 20 20 20 70 72 69 6e 74  did not.   print
0af0: 20 61 6e 79 74 68 69 6e 67 20 74 6f 20 74 68 65   anything to the
0b00: 20 73 63 72 65 65 6e 20 61 6e 64 20 74 68 65 20   screen and the 
0b10: 63 68 61 6e 67 65 73 20 66 6f 72 20 66 69 6c 65  changes for file
0b20: 2e 74 78 74 20 61 72 65 20 6e 6f 74 0a 20 20 20  .txt are not.   
0b30: 69 6e 20 74 68 65 20 66 69 6c 65 2e 20 66 6f 73  in the file. fos
0b40: 73 69 6c 20 73 74 61 74 75 73 20 73 74 69 6c 6c  sil status still
0b50: 20 72 65 70 6f 72 74 73 20 74 68 61 74 20 74 68   reports that th
0b60: 65 20 66 69 6c 65 20 77 61 73 20 65 64 69 74 65  e file was edite
0b70: 64 2e 0a 20 20 20 54 68 65 72 65 20 77 61 73 20  d..   There was 
0b80: 6e 6f 20 63 6f 6d 6d 69 74 2f 75 70 64 61 74 65  no commit/update
0b90: 20 6f 72 20 61 6e 79 20 6f 74 68 65 72 20 63 6f   or any other co
0ba0: 6d 6d 61 6e 64 20 69 6e 62 65 74 77 65 65 6e 20  mmand inbetween 
0bb0: 74 68 65 73 65 0a 20 20 20 61 63 74 69 6f 6e 73  these.   actions
0bc0: 2e 0a 0a 23 34 20 54 68 65 72 65 20 77 65 72 65  ...#4 There were
0bd0: 20 76 61 72 69 6f 75 73 20 64 69 66 66 69 63 75   various difficu
0be0: 6c 74 69 65 73 20 69 6e 20 74 68 69 73 20 66 75  lties in this fu
0bf0: 6e 63 74 69 6f 6e 20 62 65 79 6f 6e 64 20 73 69  nction beyond si
0c00: 6d 70 6c 65 20 73 6f 63 6b 65 74 0a 20 20 20 70  mple socket.   p
0c10: 72 6f 62 6c 65 6d 73 2e 20 54 68 65 20 6d 61 6a  roblems. The maj
0c20: 6f 72 20 6f 6e 65 20 62 65 69 6e 67 20 66 6f 72  or one being for
0c30: 6b 2e 20 54 68 69 73 20 77 69 6c 6c 20 70 72 6f  k. This will pro
0c40: 62 61 62 6c 79 20 62 65 20 74 68 65 20 6c 61 73  bably be the las
0c50: 74 0a 20 20 20 63 6f 6d 6d 61 6e 64 20 74 6f 20  t.   command to 
0c60: 62 65 20 66 75 6e 63 74 69 6f 6e 61 6c 20 69 6e  be functional in
0c70: 20 66 6f 73 73 69 6c 20 6f 6e 20 77 69 6e 64 6f   fossil on windo
0c80: 77 73 2e 0a                                      ws..