Seems to work well now for most of the test I've made with latest version.

Only one small thing still cause problem.. When I commit without specifying
-m,  with no external editor defined, I cannot have accented character on
the commit message. It will see the commit like empty.

--%<---------------------------------------------------------------------------------------------------
C:\Documents and Settings\mgagnon\fossil\testi18n>notepad bolé.txt

C:\Documents and Settings\mgagnon\fossil\testi18n>fossil commit

# Enter comments on this check-in.  Lines beginning with # are ignored.
# The check-in comment follows wiki formatting rules.
#
# user: mgagnon
# tags: trunk
#
# EDITED     bolé.txt
#
# Since no default text editor is set using EDITOR or VISUAL
# environment variables or the "fossil set editor" command,
# and because no check-in comment was specified using the "-m"
# or "-M" command-line options, you will need to enter the
# check-in comment below.  Type "." on a line by itself when
# you are done:
holé, comment with accent !! ça c'est amusant !
empty check-in comment.  continue (y/N)? y
C:/Documents and Settings/mgagnon/fossil/testi18n/bolé.txt contains CR/NL
line endings; commit anyho
w (yes/no/all)?y
New_Version: 51b59a92c3a71c493d2c28d52221dd2fe4575f54

C:\Documents and Settings\mgagnon\fossil\testi18n>fossil status
repository:   C:/Documents and Settings/mgagnon/fossil/testi18n/i18n.fossil
local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
checkout:     51b59a92c3a71c493d2c28d52221dd2fe4575f54 2011-05-20 12:36:26
UTC
parent:       7daac70fc91dd6ecf2f5e582589f3bcb4d1249ca 2011-05-20 12:35:12
UTC
tags:         trunk
comment:      (no comment) (user: mgagnon)

C:\Documents and Settings\mgagnon\fossil\testi18n>fossil ver
This is fossil version [c60e143f28] 2011-05-20 11:39:20 UTC
--%<---------------------------------------------------------------------------------------------------

The same commit message specified with -m will work.

If I define an external editor (I tried with notepad), then I have no empty
comment warning, the comment appear ok on the web UI, but on console, fossil
status show empty comment.

-- 
Martin

On Fri, May 20, 2011 at 7:42 AM, Richard Hipp <[email protected]> wrote:

> Please try again with the latest code:
>
>    http://www.fossil-scm.org/download/fossil-w32-20110520113920.zip
>
> Let me know what you find, either way.  Thanks!   And not just Martin, but
> all windows users, if you can give the snapshot above a try and then report
> your results to me via private email, that would be very helpful.  Thanks.
>
> On Fri, May 20, 2011 at 6:07 AM, Martin Gagnon <[email protected]> wrote:
>
>> On Sun, May 15, 2011 at 8:22 AM, Martin Gagnon <[email protected]> wrote:
>>
>>> On Sun, May 15, 2011 at 7:53 AM, Martin Gagnon < <[email protected]>
>>> [email protected]> wrote:
>>>
>>>> Correction on my last test.. when I did the: status --sha1sum command, I
>>>> use the wrong fossil executable.. (I have both version on my path, the 
>>>> trunk
>>>> version and the windows-i18n)
>>>>
>>>> Finally, with --sha1sum, it show exactly the same as without it.
>>>>
>>>>
>>>> --%<---------------------------------------------------------------------------------------------------
>>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu status -sha1sum
>>>>  repository:   C:/Documents and
>>>> Settings/mgagnon/fossil/testi18n/i18n.fossil
>>>> local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
>>>> server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
>>>> checkout:     a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5 2011-05-13
>>>> 17:20:15 UTC
>>>> parent:       72e37b18706bdcb4d98ab7a50d14322232757fe6 2011-05-13
>>>> 17:19:48 UTC
>>>> tags:         trunk
>>>> comment:      how come I can commit again... (user: mgagnon)
>>>> EDITED     bolé.txt
>>>>
>>>> --%<---------------------------------------------------------------------------------------------------
>>>>
>>>> On Fri, May 13, 2011 at 6:12 PM, Martin Gagnon < <[email protected]>
>>>> [email protected]> wrote:
>>>>
>>>>> On Fri, May 13, 2011 at 2:07 PM, Richard Hipp < <[email protected]>
>>>>> [email protected]> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, May 13, 2011 at 1:27 PM, Martin Gagnon < <[email protected]>
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> On Fri, May 13, 2011 at 1:15 PM, Richard Hipp < <[email protected]>
>>>>>>> [email protected]> wrote:
>>>>>>> >
>>>>>>> >
>>>>>>> > On Fri, May 13, 2011 at 1:05 PM, Martin Gagnon <<[email protected]>
>>>>>>> [email protected]> wrote:
>>>>>>> >>
>>>>>>> >> This particular problem occur since fossil set the codepage to
>>>>>>> 65001.
>>>>>>> >> Since this, echo to console  all work, but now I have this problem
>>>>>>> when I
>>>>>>> >> commit.
>>>>>>> >
>>>>>>> > Please try this new build:
>>>>>>> >
>>>>>>> >     fossil-w32-20110513171338.zip
>>>>>>> >
>>>>>>> > Let me know how it works out for you.
>>>>>>> >
>>>>>>> >
>>>>>>>
>>>>>>> One step forward..
>>>>>>>
>>>>>>> Now there's no short write error, I can commit, but after commit, a
>>>>>>> "fossil status" that the file is EDITED.
>>>>>>
>>>>>>
>>>>>> When that happens, what does "fossil diff" show?  What happens if you
>>>>>> do "fossil status --sha1sum"?
>>>>>>
>>>>>>
>>>>>
>>>>> --%<---------------------------------------------------------------------------------------------------
>>>>>  C:\Documents and Settings\mgagnon\fossil\testi18n>fslu ver
>>>>> This is fossil version [e7babf5222] 2011-05-13 17:13:38 UTC
>>>>>
>>>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu diff bolé.txt
>>>>>
>>>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fossil status
>>>>> --sha1sum
>>>>> repository:   C:/Documents and
>>>>> Settings/mgagnon/fossil/testi18n/i18n.fossil
>>>>> local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
>>>>> server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
>>>>> checkout:     a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5 2011-05-13
>>>>> 17:20:15 UTC
>>>>> parent:       72e37b18706bdcb4d98ab7a50d14322232757fe6 2011-05-13
>>>>> 17:19:48 UTC
>>>>> tags:         trunk
>>>>> comment:      how come I can commit again... (user: mgagnon)
>>>>> *MISSING    bolé.txt*
>>>>> *C:\WINDOWS\fossil.exe: short write: 20 of 21 bytes to - *
>>>>>
>>>>> C:\Documents and Settings\mgagnon\fossil\testi18n>dir
>>>>>  Volume in drive C has no label.
>>>>>  Volume Serial Number is 3807-8679
>>>>>
>>>>>  Directory of C:\Documents and Settings\mgagnon\fossil\testi18n
>>>>>
>>>>> 13/05/2011  13:20    <DIR>          .
>>>>> 13/05/2011  13:20    <DIR>          ..
>>>>> 13/05/2011  13:19                10 *bolé.txt*
>>>>> 13/05/2011  13:20            56,320 i18n.fossil
>>>>> 13/05/2011  13:20             8,192 _FOSSIL_
>>>>>                3 File(s)         64,522 bytes
>>>>>                2 Dir(s)  12,684,517,376 bytes free
>>>>>
>>>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu ls
>>>>> *bolé.txt*
>>>>>
>>>>> --%<---------------------------------------------------------------------------------------------------
>>>>>
>>>>> --
>>>>> Martin
>>>>>
>>>>
>>>>
>>> I have another Interesting test: after deleting the file and doing a
>>>  revert, status work, but after doing status --sha1sum, it show it as EDITED
>>> again.
>>>
>>>
>>> --%<---------------------------------------------------------------------------------------------------
>>> C:\Documents and Settings\mgagnon\fossil\testi18n>del bolé.txt
>>>
>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu revert
>>> REVERTED: bolé.txt
>>> "fossil undo" is available to undo changes to the working checkout.
>>>
>>>
>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu status
>>> repository:   C:/Documents and
>>> Settings/mgagnon/fossil/testi18n/i18n.fossil
>>> local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
>>> server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
>>> checkout:     15ecea763d39edc298112491a71bb96464ace401 2011-05-15
>>> 11:47:00 UTC
>>> parent:       a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5 2011-05-13
>>> 17:20:15 UTC
>>> tags:         trunk
>>> comment:      msg (user: mgagnon)
>>>
>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu status --sha1sum
>>> repository:   C:/Documents and
>>> Settings/mgagnon/fossil/testi18n/i18n.fossil
>>> local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
>>> server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
>>> checkout:     15ecea763d39edc298112491a71bb96464ace401 2011-05-15
>>> 11:47:00 UTC
>>> parent:       a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5 2011-05-13
>>> 17:20:15 UTC
>>> tags:         trunk
>>> comment:      msg (user: mgagnon)
>>> EDITED     bolé.txt
>>>
>>> C:\Documents and Settings\mgagnon\fossil\testi18n>fslu status
>>> repository:   C:/Documents and
>>> Settings/mgagnon/fossil/testi18n/i18n.fossil
>>> local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
>>> server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
>>> checkout:     15ecea763d39edc298112491a71bb96464ace401 2011-05-15
>>> 11:47:00 UTC
>>> parent:       a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5 2011-05-13
>>> 17:20:15 UTC
>>> tags:         trunk
>>> comment:      msg (user: mgagnon)
>>> EDITED     bolé.txt
>>>
>>> --%<---------------------------------------------------------------------------------------------------
>>>
>>> --
>>> Martin
>>>
>>
>>
>> I've also try the sha1sum, It's like this command cannot find the file
>> with accents...
>>
>>
>> --%<---------------------------------------------------------------------------------------------------
>> C:\Documents and Settings\meeks\fossil\test>fslu ver
>> This is fossil version [625226d577] 2011-05-13 20:30:52 UTC
>>
>> C:\Documents and Settings\meeks\fossil\test>fslu test-echo été.txt
>> argv[0] = [fslu]
>> argv[1] = [test-echo]
>> argv[2] = [été.txt]
>>
>> C:\Documents and Settings\meeks\fossil\test>dir été.txt
>>  Volume in drive C has no label.
>>   Volume Serial Number is 2408-5538
>>
>>  Directory of C:\Documents and Settings\meeks\fossil\test
>>
>> 15/05/2011  05:09 PM                31 été.txt
>>                1 File(s)             31 bytes
>>                0 Dir(s)  13,516,521,472 bytes free
>>
>> C:\Documents and Settings\meeks\fossil\test>fslu sha1sum été.txt
>> ************** not found ***************  été.txt
>>
>> --%<---------------------------------------------------------------------------------------------------
>>
>> --
>> Martin
>>
>> _______________________________________________
>> fossil-users mailing list
>> [email protected]
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
>
> --
> D. Richard Hipp
> [email protected]
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to