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.
Fossil on Win32
======================================================================
Setting up the build environment:
----------------------------------------------------------------------
Install:
MinGW 5.1.3
MSYS 1.0.10
Download/compile/install zlib (configure --prefix=/mingw)
Download/compile/install tclsh (configure --prefix=/) (for tests)
Installing zlib and tclsh was done in the MSYS shell so I could
easily use the configure scripts. Tcl is only required to run the
tests. You could install a binary distribution of Tcl/Tk and use
that to run the tests, or you could opt to simply trust that
everything worked and not run the tests.
There is a contributed zlib package on the MinGW site.
Downloading and installing a binary Tcl/Tk package and the
contributed zlib package would remove the requirement of MSYS.
Building on Windows:
----------------------------------------------------------------------
Ensure you have read "Setting up the build environment" first.
Building is as simple as one command:
C:\fossil-src> make -f Makefile.w32
Outstanding Issues:
----------------------------------------------------------------------
* server is totally non-functional - #if/#end'd out of the code
Commands status:
----------------------------------------------------------------------
add OK
cgi Not tested
changes OK
checkout BAD #1
clean OK
clone OK
close OK
commit OK
config OK
deconstruct OK
del OK
descendants OK
diff OK
extra OK
help OK
http Not Tested
info OK
leaves OK
ls OK
merge OK
new OK
open OK
pull OK
push OK
rebuild OK
redo BAD #3
rm OK
server BAD #4
status OK
sync OK
timeline OK
tkdiff OK
undo OK
update OK
user capabilities OK
user default OK
user list OK
user new OK
user password OK
#1 Have a repo where I removed a file. I did a fossil checkout 123abc,
which is the last version that had the file. The file does not
appear. fossil checkout --force 123abc does things, but still the
file does not appear.
Make a new dir, fossil open ../repo.fsl && fossil checkout 123abc and
the file appears.
Is that normal operation?
#3 In test1/ I edited a file, test2/ I updated, type file.txt changes
were there. I then did fossil undo file.txt. The changes were gone
and fossil status said I had edited file.txt. A fossil redo did not
print anything to the screen and the changes for file.txt are not
in the file. fossil status still reports that the file was edited.
There was no commit/update or any other command inbetween these
actions.
#4 There were various difficulties in this function beyond simple socket
problems. The major one being fork. This will probably be the last
command to be functional in fossil on windows.