Artifact 4b3ff889f8ded19a3d524e0ac09325bb75f324ca:
File
win32.txt
part of check-in
[46f96301f1]
- Forgot to remove path problems from 'Outstading Issues'
by
jnc on
2007-09-22 06:49:47.
0000: 4e 6f 74 65 73 3a 20 50 6f 72 74 69 6e 67 20 66 Notes: Porting f
0010: 6f 73 73 69 6c 20 74 6f 20 77 69 6e 33 32 0a 3d ossil to win32.=
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 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ================
0060: 3d 3d 3d 3d 3d 0a 0a 53 65 74 74 69 6e 67 20 75 =====..Setting u
0070: 70 20 6d 79 20 62 75 69 6c 64 20 65 6e 76 69 72 p my build envir
0080: 6f 6e 6d 65 6e 74 3a 0a 2d 2d 2d 2d 2d 2d 2d 2d onment:.--------
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: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a --------------..
00d0: 20 20 49 6e 73 74 61 6c 6c 3a 0a 20 20 20 20 4d Install:. M
00e0: 69 6e 47 57 20 35 2e 31 2e 33 0a 20 20 20 20 4d inGW 5.1.3. M
00f0: 53 59 53 20 20 31 2e 30 2e 31 30 0a 20 20 0a 20 SYS 1.0.10. .
0100: 20 44 6f 77 6e 6c 6f 61 64 2f 63 6f 6d 70 69 6c Download/compil
0110: 65 2f 69 6e 73 74 61 6c 6c 20 7a 6c 69 62 20 28 e/install zlib (
0120: 63 6f 6e 66 69 67 75 72 65 20 2d 2d 70 72 65 66 configure --pref
0130: 69 78 3d 2f 6d 69 6e 67 77 29 0a 20 20 44 6f 77 ix=/mingw). Dow
0140: 6e 6c 6f 61 64 2f 63 6f 6d 70 69 6c 65 2f 69 6e nload/compile/in
0150: 73 74 61 6c 6c 20 74 63 6c 73 68 20 28 63 6f 6e stall tclsh (con
0160: 66 69 67 75 72 65 20 2d 2d 70 72 65 66 69 78 3d figure --prefix=
0170: 2f 29 20 28 66 6f 72 20 74 65 73 74 73 29 0a 20 /) (for tests).
0180: 20 0a 20 20 41 6c 6c 20 63 6f 6d 6d 61 6e 64 73 . All commands
0190: 20 77 65 72 65 20 69 73 73 75 65 64 20 69 6e 20 were issued in
01a0: 74 68 65 20 4d 53 59 53 20 73 68 65 6c 6c 2c 20 the MSYS shell,
01b0: 6e 6f 74 20 61 20 63 6d 64 2e 65 78 65 0a 0a 0a not a cmd.exe...
01c0: 0a 4f 75 74 73 74 61 6e 64 69 6e 67 20 49 73 73 .Outstanding Iss
01d0: 75 65 73 3a 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ues:.-----------
01e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
01f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0200: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0210: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 2a 20 73 -----------..* s
0220: 65 72 76 65 72 20 69 73 20 74 6f 74 61 6c 6c 79 erver is totally
0230: 20 6e 6f 6e 2d 66 75 6e 63 74 69 6f 6e 61 6c 20 non-functional
0240: 2d 20 23 69 66 2f 23 65 6e 64 27 64 20 6f 75 74 - #if/#end'd out
0250: 20 6f 66 20 74 68 65 20 63 6f 64 65 0a 2a 20 72 of the code.* r
0260: 65 6d 6f 74 65 20 6e 65 74 77 6f 72 6b 20 6f 70 emote network op
0270: 65 72 61 74 69 6f 6e 73 20 61 72 65 20 72 65 70 erations are rep
0280: 6f 72 74 69 6e 67 3a 20 63 61 6e 27 74 20 72 65 orting: can't re
0290: 73 6f 6c 76 65 20 68 6f 73 74 20 6e 61 6d 65 3a solve host name:
02a0: 20 78 79 7a 0a 20 20 0a 20 20 57 69 6e 73 6f 63 xyz. . Winsoc
02b0: 6b 20 6d 75 73 74 20 62 65 20 69 6e 69 74 69 61 k must be initia
02c0: 6c 69 7a 65 64 20 62 65 66 6f 72 65 20 75 73 69 lized before usi
02d0: 6e 67 3a 0a 20 20 0a 20 20 20 20 20 20 57 53 41 ng:. . WSA
02e0: 44 41 54 41 20 69 6e 66 6f 3b 0a 20 20 20 20 20 DATA info;.
02f0: 20 69 66 20 28 57 53 41 53 74 61 72 74 75 70 28 if (WSAStartup(
0300: 4d 41 4b 45 57 4f 52 44 28 31 2c 31 29 2c 20 26 MAKEWORD(1,1), &
0310: 69 6e 66 6f 29 20 21 3d 20 30 29 7b 0a 20 20 20 info) != 0){.
0320: 20 20 20 20 20 66 6f 73 73 69 6c 5f 70 61 6e 69 fossil_pani
0330: 63 28 22 63 61 6e 27 74 20 69 6e 69 74 69 61 6c c("can't initial
0340: 69 7a 65 20 77 69 6e 73 6f 63 6b 22 29 3b 0a 20 ize winsock");.
0350: 20 20 20 20 20 7d 0a 0a 0a 0a 43 6f 6d 6d 61 6e }....Comman
0360: 64 73 20 73 74 61 74 75 73 3a 0a 2d 2d 2d 2d 2d ds status:.-----
0370: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
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 0a 0a 61 64 64 20 20 20 20 20 20 20 20 20 20 -..add
03c0: 20 20 20 20 20 4f 4b 0a 63 67 69 20 20 20 20 20 OK.cgi
03d0: 20 20 20 20 20 20 20 20 20 20 4e 6f 74 20 74 65 Not te
03e0: 73 74 65 64 0a 63 68 61 6e 67 65 73 20 20 20 20 sted.changes
03f0: 20 20 20 20 20 20 20 4f 4b 0a 63 68 65 63 6b 6f OK.checko
0400: 75 74 20 20 20 20 20 20 20 20 20 20 42 41 44 20 ut BAD
0410: 23 31 0a 63 6c 65 61 6e 20 20 20 20 20 20 20 20 #1.clean
0420: 20 20 20 20 20 4f 4b 0a 63 6c 6f 6e 65 20 20 20 OK.clone
0430: 20 20 20 20 20 20 20 20 20 20 4c 6f 63 61 6c 20 Local
0440: 4f 6e 6c 79 20 23 32 0a 63 6c 6f 73 65 20 20 20 Only #2.close
0450: 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 63 6f 6d OK.com
0460: 6d 69 74 20 20 20 20 20 20 20 20 20 20 20 20 4f mit O
0470: 4b 20 28 6e 6f 74 20 74 65 73 74 65 64 20 77 69 K (not tested wi
0480: 74 68 20 67 70 67 20 73 69 67 6e 69 6e 67 20 79 th gpg signing y
0490: 65 74 29 0a 63 6f 6e 66 69 67 20 20 20 20 20 20 et).config
04a0: 20 20 20 20 20 20 4f 4b 0a 64 65 63 6f 6e 73 74 OK.deconst
04b0: 72 75 63 74 20 20 20 20 20 20 20 4f 4b 0a 64 65 ruct OK.de
04c0: 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 l
04d0: 4f 4b 0a 64 65 73 63 65 6e 64 65 6e 74 73 20 20 OK.descendents
04e0: 20 20 20 20 20 4f 4b 0a 64 69 66 66 20 20 20 20 OK.diff
04f0: 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 65 78 74 OK.ext
0500: 72 61 20 20 20 20 20 20 20 20 20 20 20 20 20 4f ra O
0510: 4b 0a 68 65 6c 70 20 20 20 20 20 20 20 20 20 20 K.help
0520: 20 20 20 20 4f 4b 0a 68 74 74 70 20 20 20 20 20 OK.http
0530: 20 20 20 20 20 20 20 20 20 4e 6f 74 20 54 65 73 Not Tes
0540: 74 65 64 0a 69 6e 66 6f 20 20 20 20 20 20 20 20 ted.info
0550: 20 20 20 20 20 20 4f 4b 0a 6c 65 61 76 65 73 20 OK.leaves
0560: 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 6c 73 OK.ls
0570: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0580: 4f 4b 0a 6d 65 72 67 65 20 20 20 20 20 20 20 20 OK.merge
0590: 20 20 20 20 20 4f 4b 0a 6e 65 77 20 20 20 20 20 OK.new
05a0: 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 6f 70 65 OK.ope
05b0: 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f n O
05c0: 4b 0a 70 75 6c 6c 20 20 20 20 20 20 20 20 20 20 K.pull
05d0: 20 20 20 20 42 41 44 20 23 32 0a 70 75 73 68 20 BAD #2.push
05e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 42 41 44 BAD
05f0: 20 23 32 0a 72 65 62 75 69 6c 64 20 20 20 20 20 #2.rebuild
0600: 20 20 20 20 20 20 4f 4b 20 28 64 69 64 6e 27 74 OK (didn't
0610: 20 68 61 76 65 20 61 20 63 6f 72 72 75 70 74 20 have a corrupt
0620: 66 69 6c 65 20 74 6f 20 74 72 79 20 6f 6e 20 74 file to try on t
0630: 68 6f 75 67 68 29 0a 72 65 64 6f 20 20 20 20 20 hough).redo
0640: 20 20 20 20 20 20 20 20 20 42 41 44 20 23 33 0a BAD #3.
0650: 72 6d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 rm
0660: 20 20 4f 4b 0a 73 65 72 76 65 72 20 20 20 20 20 OK.server
0670: 20 20 20 20 20 20 20 42 41 44 20 23 32 2c 23 34 BAD #2,#4
0680: 0a 73 74 61 74 75 73 20 20 20 20 20 20 20 20 20 .status
0690: 20 20 20 4f 4b 0a 73 79 6e 63 20 20 20 20 20 20 OK.sync
06a0: 20 20 20 20 20 20 20 20 42 41 44 20 23 32 0a 74 BAD #2.t
06b0: 69 6d 65 6c 69 6e 65 20 20 20 20 20 20 20 20 20 imeline
06c0: 20 4f 4b 0a 74 6b 64 69 66 66 20 20 20 20 20 20 OK.tkdiff
06d0: 20 20 20 20 20 20 4f 4b 0a 75 6e 64 6f 20 20 20 OK.undo
06e0: 20 20 20 20 20 20 20 20 20 20 20 4f 4b 0a 75 70 OK.up
06f0: 64 61 74 65 20 20 20 20 20 20 20 20 20 20 20 20 date
0700: 4f 4b 0a 75 73 65 72 20 63 61 70 61 62 69 6c 69 OK.user capabili
0710: 74 69 65 73 20 4f 4b 0a 75 73 65 72 20 64 65 66 ties OK.user def
0720: 61 75 6c 74 20 20 20 20 20 20 4f 4b 0a 75 73 65 ault OK.use
0730: 72 20 6c 69 73 74 20 20 20 20 20 20 20 20 20 4f r list O
0740: 4b 0a 75 73 65 72 20 6e 65 77 20 20 20 20 20 20 K.user new
0750: 20 20 20 20 4f 4b 0a 75 73 65 72 20 70 61 73 73 OK.user pass
0760: 77 6f 72 64 20 20 20 20 20 4f 4b 0a 0a 23 31 20 word OK..#1
0770: 48 61 76 65 20 61 20 72 65 70 6f 20 77 68 65 72 Have a repo wher
0780: 65 20 49 20 72 65 6d 6f 76 65 64 20 61 20 66 69 e I removed a fi
0790: 6c 65 2e 20 49 20 64 69 64 20 61 20 66 6f 73 73 le. I did a foss
07a0: 69 6c 20 63 68 65 63 6b 6f 75 74 20 31 32 33 61 il checkout 123a
07b0: 62 63 2c 0a 20 20 20 77 68 69 63 68 20 69 73 20 bc,. which is
07c0: 74 68 65 20 6c 61 73 74 20 76 65 72 73 69 6f 6e the last version
07d0: 20 74 68 61 74 20 68 61 64 20 74 68 65 20 66 69 that had the fi
07e0: 6c 65 2e 20 54 68 65 20 66 69 6c 65 20 64 6f 65 le. The file doe
07f0: 73 20 6e 6f 74 0a 20 20 20 61 70 70 65 61 72 2e s not. appear.
0800: 20 66 6f 73 73 69 6c 20 63 68 65 63 6b 6f 75 74 fossil checkout
0810: 20 2d 2d 66 6f 72 63 65 20 31 32 33 61 62 63 20 --force 123abc
0820: 64 6f 65 73 20 74 68 69 6e 67 73 2c 20 62 75 74 does things, but
0830: 20 73 74 69 6c 6c 20 74 68 65 0a 20 20 20 66 69 still the. fi
0840: 6c 65 20 64 6f 65 73 20 6e 6f 74 20 61 70 70 65 le does not appe
0850: 61 72 2e 0a 20 20 20 0a 20 20 20 4d 61 6b 65 20 ar.. . Make
0860: 61 20 6e 65 77 20 64 69 72 2c 20 66 6f 73 73 69 a new dir, fossi
0870: 6c 20 6f 70 65 6e 20 2e 2e 2f 72 65 70 6f 2e 66 l open ../repo.f
0880: 73 6c 20 26 26 20 66 6f 73 73 69 6c 20 63 68 65 sl && fossil che
0890: 63 6b 6f 75 74 20 31 32 33 61 62 63 20 61 6e 64 ckout 123abc and
08a0: 0a 20 20 20 74 68 65 20 66 69 6c 65 20 61 70 70 . the file app
08b0: 65 61 72 73 2e 0a 20 20 20 0a 20 20 20 49 73 20 ears.. . Is
08c0: 74 68 61 74 20 6e 6f 72 6d 61 6c 20 6f 70 65 72 that normal oper
08d0: 61 74 69 6f 6e 3f 0a 0a 23 32 20 4e 6f 20 73 6f ation?..#2 No so
08e0: 63 6b 65 74 20 6f 70 65 72 61 74 69 6f 6e 73 20 cket operations
08f0: 61 72 65 20 66 75 6e 63 74 69 6f 6e 69 6e 67 20 are functioning
0900: 79 65 74 0a 0a 23 33 20 49 6e 20 74 65 73 74 31 yet..#3 In test1
0910: 2f 20 49 20 65 64 69 74 65 64 20 61 20 66 69 6c / I edited a fil
0920: 65 2c 20 74 65 73 74 32 2f 20 49 20 75 70 64 61 e, test2/ I upda
0930: 74 65 64 2c 20 74 79 70 65 20 66 69 6c 65 2e 74 ted, type file.t
0940: 78 74 20 63 68 61 6e 67 65 73 0a 20 20 20 77 65 xt changes. we
0950: 72 65 20 74 68 65 72 65 2e 20 49 20 74 68 65 6e re there. I then
0960: 20 64 69 64 20 66 6f 73 73 69 6c 20 75 6e 64 6f did fossil undo
0970: 20 66 69 6c 65 2e 74 78 74 2e 20 54 68 65 20 63 file.txt. The c
0980: 68 61 6e 67 65 73 20 77 65 72 65 20 67 6f 6e 65 hanges were gone
0990: 0a 20 20 20 61 6e 64 20 66 6f 73 73 69 6c 20 73 . and fossil s
09a0: 74 61 74 75 73 20 73 61 69 64 20 49 20 68 61 64 tatus said I had
09b0: 20 65 64 69 74 65 64 20 66 69 6c 65 2e 74 78 74 edited file.txt
09c0: 2e 20 41 20 66 6f 73 73 69 6c 20 72 65 64 6f 20 . A fossil redo
09d0: 64 69 64 20 6e 6f 74 0a 20 20 20 70 72 69 6e 74 did not. print
09e0: 20 61 6e 79 74 68 69 6e 67 20 74 6f 20 74 68 65 anything to the
09f0: 20 73 63 72 65 65 6e 20 61 6e 64 20 74 68 65 20 screen and the
0a00: 63 68 61 6e 67 65 73 20 66 6f 72 20 66 69 6c 65 changes for file
0a10: 2e 74 78 74 20 61 72 65 20 6e 6f 74 0a 20 20 20 .txt are not.
0a20: 69 6e 20 74 68 65 20 66 69 6c 65 2e 20 66 6f 73 in the file. fos
0a30: 73 69 6c 20 73 74 61 74 75 73 20 73 74 69 6c 6c sil status still
0a40: 20 72 65 70 6f 72 74 73 20 74 68 61 74 20 74 68 reports that th
0a50: 65 20 66 69 6c 65 20 77 61 73 20 65 64 69 74 65 e file was edite
0a60: 64 2e 0a 20 20 20 54 68 65 72 65 20 77 61 73 20 d.. There was
0a70: 6e 6f 20 63 6f 6d 6d 69 74 2f 75 70 64 61 74 65 no commit/update
0a80: 20 6f 72 20 61 6e 79 20 6f 74 68 65 72 20 63 6f or any other co
0a90: 6d 6d 61 6e 64 20 69 6e 62 65 74 77 65 65 6e 20 mmand inbetween
0aa0: 74 68 65 73 65 0a 20 20 20 61 63 74 69 6f 6e 73 these. actions
0ab0: 2e 0a 0a 23 34 20 54 68 65 72 65 20 77 65 72 65 ...#4 There were
0ac0: 20 76 61 72 69 6f 75 73 20 64 69 66 66 69 63 75 various difficu
0ad0: 6c 74 69 65 73 20 69 6e 20 74 68 69 73 20 66 75 lties in this fu
0ae0: 6e 63 74 69 6f 6e 20 62 65 79 6f 6e 64 20 73 69 nction beyond si
0af0: 6d 70 6c 65 20 73 6f 63 6b 65 74 0a 20 20 20 70 mple socket. p
0b00: 72 6f 62 6c 65 6d 73 2e 20 54 68 65 20 6d 61 6a roblems. The maj
0b10: 6f 72 20 6f 6e 65 20 62 65 69 6e 67 20 66 6f 72 or one being for
0b20: 6b 2e 20 54 68 69 73 20 77 69 6c 6c 20 70 72 6f k. This will pro
0b30: 62 61 62 6c 79 20 62 65 20 74 68 65 20 6c 61 73 bably be the las
0b40: 74 0a 20 20 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 t. command to
0b50: 62 65 20 66 75 6e 63 74 69 6f 6e 61 6c 20 69 6e be functional in
0b60: 20 66 6f 73 73 69 6c 20 6f 6e 20 77 69 6e 64 6f fossil on windo
0b70: 77 73 2e 0a ws..