Changes to ticket 045f23be75
By anonymous on 2009-07-23 07:38:08. See also: artifact content, and ticket history
- Change comment to "Following script re-creates problem with "fossil commit" giving an error message "2fossil: unknown command: <p><font". Problem seen on both linux (CentOS 5.3) and Windows XP SP3. I was trying to get 2 repo's to automatically sync with each other. <pre> cat > bug2.sh <<EOF #!/bin/bash # # Try and set up bi-directional sync: # create golden.fsl # clone golden.fsl -> clone.fsl # pull clone.fsl -> golden.fsl # then add file to golden.fsl and see if added to clone.fsl # echo 888888888888888888888888888 OS/fossil versions cat /etc/redhat-release uname -a fossil version # echo 888888888888888888888888888 cleanup/create test dir rm -rf testsync mkdir -p testsync/co cd testsync # echo 888888888888888888888888888 creating golden.fsl fossil new golden.fsl fossil setting autosync 1 -R golden.fsl fossil setting clearsign 0 -R golden.fsl # echo 888888888888888888888888888 cloning to clone.fsl fossil clone file://golden.fsl clone.fsl echo 888888888888888888888888888 pull clone.fsl back to golden.fsl # fossil sync file://clone.fsl -R golden.fsl fossil pull file://clone.fsl -R golden.fsl # echo 888888888888888888888888888 open golden.fsl cd co fossil open ../golden.fsl echo 888888888888888888888888888 adding file.txt to golden.fsl echo "test line 1" > file.txt fossil add file.txt echo 888888888888888888888888888 now commit golden.fsl fossil commit -m "added file.txt" echo 888888888888888888888888888 now close golden.fsl fossil close cd .. EOF </pre> Output of this script is as follows: <pre> [jgm@centos fossil]$ ./bug2.sh 888888888888888888888888888 OS/fossil versions CentOS release 5.3 (Final) Linux centos.bitbender.org 2.6.18-128.2.1.el5xen #1 SMP Tue Jul 14 07:07:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux This is fossil version [e124881a70] 2009-07-07 14:53:58 UTC 888888888888888888888888888 cleanup/create test dir 888888888888888888888888888 creating golden.fsl project-id: ee97b450c6e570ec745310a78445d534fe9aa095 server-id: 9f3d475997305073f33b7fc7826cbc7e241a21ad admin-user: jgm (initial password is "292735") 888888888888888888888888888 cloning to clone.fsl Repository cloned into clone.fsl Rebuilding repository meta-data... 1 (100%)... project-id: ee97b450c6e570ec745310a78445d534fe9aa095 server-id: b37c8c01daa996368e3ca708c62f5701a14da2f4 admin-user: jgm (password is "292735") 888888888888888888888888888 pull clone.fsl back to golden.fsl Bytes Cards Artifacts Deltas Send: 130 1 0 0 Received: 46 2 0 0 888888888888888888888888888 open golden.fsl 888888888888888888888888888 adding file.txt to golden.fsl ADDED file.txt 888888888888888888888888888 now commit golden.fsl Autosync: file:///home/jgm/storage/workspace/fossil/testsync/co/clone.fsl Bytes Cards Artifacts Deltas Send: 130 1 0 0 2fossil: unknown command: <p><font 888888888888888888888888888 now close golden.fsl fossil: there are unsaved changes in the current checkout </pre>"
- Change foundin to "e124881a70"
- Change private_contact to "a44827559cb5ba06a95af4c4d260c5b79df45d69"
- Change severity to "Important"
- Change status to "Open"
- Change title to "commit gives error "2fossil: unknown command: <p><font""
- Change type to "Code_Defect"