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

Reply via email to