On Tue, May 10, 2011 at 2:45 PM, Martin Gagnon <eme...@gmail.com> wrote:
> I tried this version: http://www.fossil-scm.org/index.html/info/2278ef0ffa
>
> And it seems to be ok for what is print on screen when adding files
> and fossil status show comments properly. But I still have the problem
> where when I commit without specifying "-m", I get the following
> error:
>    C:\WINDOWS\fslu.exe: short write: 520 of 521 bytes to -
>
> Fossil status print fine but have similar error.
>
> If I do fossil commit with "-m", the commit work, but the next "fossil
> status" call.. the file still flag as EDITED and It let me commit
> again and again. (on my test here, I use only normal ascii characters
> on the commit message)
>
> Here's the small test I've made.
> ==================================
> C:\Documents and Settings\mgagnon\fossil\tttt>notepad bolé.txt
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu add bolé.txt
> ADDED  bolé.txt
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu commit
>
> # Enter comments on this check-in.  Lines beginning with # are ignored.
> # The check-in comment follows wiki formatting rules.
> #
> # user: mgagnon
> # tags: trunk
> #
> # ADDED      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:
> C:\WINDOWS\fslu.exe: short write: 520 of 521 bytes to -
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu commit -m "Commit Message"
> New_Version: 9b7b62ba4ac2d711c9d1c7831a6ec258b0878156
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu status
> repository:   C:/Documents and Settings/mgagnon/fossil/tttt/zz.tt
> local-root:   C:/Documents and Settings/mgagnon/fossil/tttt/
> server-code:  c0d80d1519cb27305cfc516c5b46670adebf7fff
> checkout:     9b7b62ba4ac2d711c9d1c7831a6ec258b0878156 2011-05-10 18:30:51 UTC
> parent:       370787a7bc24cd26c66d5e50731b8765025370fc 2011-05-10 18:29:49 UTC
> tags:         trunk
> comment:      Commit Message (user: mgagnon)
> EDITED     bolé.txt
> C:\WINDOWS\fslu.exe: short write: 20 of 21 bytes to -
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu commit -m "Commit Message"
> New_Version: 9ea8653351458e065cc30aa4d094bf254cd34fea
>
> C:\Documents and Settings\mgagnon\fossil\tttt>fslu timeline
> === 2011-05-10 ===
> 18:31:04 [9ea8653351] *CURRENT* Commit Message (user: mgagnon tags: trunk)
> 18:30:51 [9b7b62ba4a] Commit Message (user: mgagnon tags: trunk)
> 18:29:49 [370787a7bc] a file (user: mgagnon tags: trunk)
> 18:29:03 [827c7df282] initial empty check-in (user: mgagnon tags: trunk)
> ==================================
>

I think we are not alone to have problem with unicode on console
(using codepage 65001):

http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/e4b91f49-6f60-4ffe-887a-e18e39250905

It's seems to be the problem I've encounter when I got error like:
    C:\WINDOWS\fslu.exe: short write: 20 of 21 bytes to -

-- 
Martin
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to