Re: [fossil-users] Pre-built binary for I18N windows

2011-05-20 Thread Petr Ferdus

 Od: Richard Hipp d...@sqlite.org
 Komu: fossil-users@lists.fossil-scm.org
 Datum: 20.05.2011 13:43
 Předmět: Re: [fossil-users] Pre-built binary for I18N windows

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.



Please see results of my tests below. Summary notes:
- it seems to operate on files with diacritical characters in name.
- what is checked into repository is a true content of the file
- on DOS console there seem to be always mix of correctly displayed file 
names(test_čísla.txt) and messed ones ( test_¦Ź+şsla.txt) 
- in browser GUI I see either correctly spelled filenames or correct file 
content but not both at the same time - Content of text file is in windows-1250 
encoding and fossil generated headers (e.g. [63ee28542be0c6fc] part of 
check-in [e4a00c3bfc] added lines to file .test_ÄŤĂ­sla.txt (user: user branch: 
trunk)) seem to be always encoded in UTF-8 - would be nice to be able 
harmonize/control display of  file content and fossil generated stuff.

 Would you like to check something else just let me know.

Thanks.

Peter

c:softbinfossil new .test_repo.fossil
project-id: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
server-id:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
admin-user: user (initial password is 34af6d)
[with help of text editor create file named test_čísla.txt and add it to repo]
dir test*.txt
c:softbindir test*.txt
20.05.2011  16:2763 test_čísla.txt
   1 souborů, 63 bajtů
c:softbinfossil open .test_repo.fossil

c:softbinfossil add .test_čísla.txt
c:softbinfossil.exe: not within an open checkout

c:softbinfossil add .test_čísla.txt
ADDED  test_čísla.txt

c:softbinfossil diff
ADDEDtest_¦Ź+şsla.txt

c:softbinfossil ci -m added file .test_čísla.txt
New_Version: 773622f26709f08ec632504ac4d64873b7bd4ebd

c:softbinfossil stat
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: 773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
parent:   f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00 UTC
tags: trunk
comment:  added file .test_čísla.txt (user: user)
[edit file .test_čísla.txt add so lines into it]

c:softbinfossil stat
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: 773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
parent:   f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00 UTC
tags: trunk
comment:  added file .test_čísla.txt (user: user)
EDITED test_¦Ź+şsla.txt

c:softbinfossil diff
Index: test_¦Ź+şsla.txt
===
--- test_¦Ź+şsla.txt
+++ test_¦Ź+şsla.txt
@@ -1,1 +1,4 @@
 Czech part of the name of this file means numbers in English
+jedna   one
+dvý two
+t°i three

c:softbinfossil ci -m added lines to file .test_čísla.txt
New_Version: e4a00c3bfc882edd07ad576647d6b4b30a6170e4

c:softbinfossil stat
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
parent:   773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
tags: trunk
comment:  added lines to file .test_čísla.txt (user: user)

c:softbinfossil info
project-name: unnamed
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
user-home:C:/Documents and Settings/user/Data aplikací
project-code: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
parent:   773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
tags: trunk
comment:  added lines to file .test_čísla.txt (user: user)

c:softbinfossil diff
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-20 Thread Martin Gagnon
For wrong character display on console, have you try to change you codepage
to utf-8 (using: chcp 65001). It's what I should do to make it work
properly.

-- 
Martin

On Fri, May 20, 2011 at 11:07 AM, Petr Ferdus petr...@centrum.cz wrote:


  Od: Richard Hipp d...@sqlite.org
  Komu: fossil-users@lists.fossil-scm.org
  Datum: 20.05.2011 13:43
  Předmět: Re: [fossil-users] Pre-built binary for I18N windows
 
 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.



 Please see results of my tests below. Summary notes:
 - it seems to operate on files with diacritical characters in name.
 - what is checked into repository is a true content of the file
 - on DOS console there seem to be always mix of correctly displayed file
 names(test_čísla.txt) and messed ones ( test_¦Ź+şsla.txt)
 - in browser GUI I see either correctly spelled filenames or correct file
 content but not both at the same time - Content of text file is in
 windows-1250 encoding and fossil generated headers (e.g. [63ee28542be0c6fc]
 part of check-in [e4a00c3bfc] added lines to file .test_ÄŤĂ­sla.txt (user:
 user branch: trunk)) seem to be always encoded in UTF-8 - would be nice to
 be able harmonize/control display of  file content and fossil generated
 stuff.

  Would you like to check something else just let me know.

 Thanks.

 Peter

 c:softbinfossil new .test_repo.fossil
 project-id: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
 server-id:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 admin-user: user (initial password is 34af6d)
 [with help of text editor create file named test_čísla.txt and add it to
 repo]
 dir test*.txt
 c:softbindir test*.txt
 20.05.2011  16:2763 test_čísla.txt
   1 souborů, 63 bajtů
 c:softbinfossil open .test_repo.fossil

 c:softbinfossil add .test_čísla.txt
 c:softbinfossil.exe: not within an open checkout

 c:softbinfossil add .test_čísla.txt
 ADDED  test_čísla.txt

 c:softbinfossil diff
 ADDEDtest_¦Ź+şsla.txt

 c:softbinfossil ci -m added file .test_čísla.txt
 New_Version: 773622f26709f08ec632504ac4d64873b7bd4ebd

 c:softbinfossil stat
 repository:   c:/soft/bin/test_repo.fossil
 local-root:   c:/soft/bin/
 server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 checkout: 773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
 UTC
 parent:   f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00
 UTC
 tags: trunk
 comment:  added file .test_čísla.txt (user: user)
 [edit file .test_čísla.txt add so lines into it]

 c:softbinfossil stat
 repository:   c:/soft/bin/test_repo.fossil
 local-root:   c:/soft/bin/
 server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 checkout: 773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
 UTC
 parent:   f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00
 UTC
 tags: trunk
 comment:  added file .test_čísla.txt (user: user)
 EDITED test_¦Ź+şsla.txt

 c:softbinfossil diff
 Index: test_¦Ź+şsla.txt
 ===
 --- test_¦Ź+şsla.txt
 +++ test_¦Ź+şsla.txt
 @@ -1,1 +1,4 @@
  Czech part of the name of this file means numbers in English
 +jedna   one
 +dvý two
 +t°i three

 c:softbinfossil ci -m added lines to file .test_čísla.txt
 New_Version: e4a00c3bfc882edd07ad576647d6b4b30a6170e4

 c:softbinfossil stat
 repository:   c:/soft/bin/test_repo.fossil
 local-root:   c:/soft/bin/
 server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 checkout: e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31
 UTC
 parent:   773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
 UTC
 tags: trunk
 comment:  added lines to file .test_čísla.txt (user: user)
 
 c:softbinfossil info
 project-name: unnamed
 repository:   c:/soft/bin/test_repo.fossil
 local-root:   c:/soft/bin/
 user-home:C:/Documents and Settings/user/Data aplikací
 project-code: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
 server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 checkout: e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31
 UTC
 parent:   773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
 UTC
 tags: trunk
 comment:  added lines to file .test_čísla.txt (user: user)

 c:softbinfossil diff
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

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


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-20 Thread Petr Ferdus

 Od: Martin Gagnon eme...@gmail.com
 Komu: fossil-users@lists.fossil-scm.org
 Datum: 20.05.2011 17:25
 Předmět: Re: [fossil-users] Pre-built binary for I18N windows

For wrong character display on console, have you try to change you codepage
to utf-8 (using: chcp 65001). It's what I should do to make it work
properly.

Thanks for hint.
Operating fossil in dos box switched to unicode display
makes fossil messages mostly(e.g. diff did not display stuff correcly)
show correct content.
Unicode display brings its own issues (quite unable to execute batch scripts)

Thanks 
Peter

Bellow are some tests results illustrating my points above:

c:softbinfossil ver
This is fossil version [7fb5e64139] 2011-05-20 15:50:30 UTC
[this is slightly patched fossil version [4b3425401f]]
[switch to unicode cp in dos box]
c:softbinchcp 65001
Aktivní znaková stránka: 65001
[made changes to checked in file]
c:softbinfossil stat
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
parent:   773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
tags: trunk
comment:  added lines to file .test_čísla.txt (user: user)
EDITED test_čísla.txt

c:softbinfossil diff
Index: test_čísla.txt
===
--- test_čísla.txt
+++ test_čísla.txt
@@ -1,4 +1,5 @@
 Czech part of the name of this file means numbers in English
 jedna   one
 dv two
 ti three
+tyi   four
[output of diff commad does not show correct lines]

c:softbinfossil ci -m added one more line to file .test_čísla.txt
New_Version: 5d2d13291ba5afb53d54d2010d7bf3df558e12e1

c:softbinfossil info
project-name: unnamed
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
user-home:C:/Documents and Settings/user/Data aplikací
project-code: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout: 5d2d13291ba5afb53d54d2010d7bf3df558e12e1 2011-05-20 16:00:10 UTC
parent:   e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
tags: trunk
comment:  added one more line to file .test_čísla.txt (user: user)


Martin

On Fri, May 20, 2011 at 11:07 AM, Petr Ferdus petr...@centrum.cz wrote:


  Od: Richard Hipp d...@sqlite.org
  Komu: fossil-users@lists.fossil-scm.org
  Datum: 20.05.2011 13:43
  Předmět: Re: [fossil-users] Pre-built binary for I18N windows
 
 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.



 Please see results of my tests below. Summary notes:
 - it seems to operate on files with diacritical characters in name.
 - what is checked into repository is a true content of the file
 - on DOS console there seem to be always mix of correctly displayed file
 names(test_čísla.txt) and messed ones ( test_¦Ź+şsla.txt)
 - in browser GUI I see either correctly spelled filenames or correct file
 content but not both at the same time - Content of text file is in
 windows-1250 encoding and fossil generated headers (e.g. [63ee28542be0c6fc]
 part of check-in [e4a00c3bfc] added lines to file .test_ÄŤĂ­sla.txt (user:
 user branch: trunk)) seem to be always encoded in UTF-8 - would be nice to
 be able harmonize/control display of  file content and fossil generated
 stuff.

  Would you like to check something else just let me know.

 Thanks.

 Peter

 c:softbinfossil new .test_repo.fossil
 project-id: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
 server-id:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 admin-user: user (initial password is 34af6d)
 [with help of text editor create file named test_čísla.txt and add it to
 repo]
 dir test*.txt
 c:softbindir test*.txt
 20.05.2011  16:2763 test_čísla.txt
   1 souborů, 63 bajtů
 c:softbinfossil open .test_repo.fossil

 c:softbinfossil add .test_čísla.txt
 c:softbinfossil.exe: not within an open checkout

 c:softbinfossil add .test_čísla.txt
 ADDED  test_čísla.txt

 c:softbinfossil diff
 ADDEDtest_¦Ź+şsla.txt

 c:softbinfossil ci -m added file .test_čísla.txt
 New_Version: 773622f26709f08ec632504ac4d64873b7bd4ebd

 c:softbinfossil stat
 repository:   c:/soft/bin/test_repo.fossil
 local-root:   c:/soft/bin/
 server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
 checkout: 773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
 UTC
 parent:   f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00
 UTC
 tags: trunk
 comment:  added file .test_čísla.txt (user: user)
 [edit file .test_čísla.txt add so lines into it]

 c:softbinfossil stat
 repository:   c

Re: [fossil-users] Pre-built binary for I18N windows

2011-05-20 Thread Richard Hipp
On Fri, May 13, 2011 at 10:26 AM, Richard Hipp d...@sqlite.org wrote:

 If you are using Fossil on windows with a non-ASCII character set, and
 especially if you are having trouble, please consider using the windows-i18n
 branch build that can be downloaded from

http://www.fossil-scm.org/download/fossil-w32-20110513142012.zip


Thanks for the testing, everyone!  Bug fixes have been applied.  A new build
can be found at:

 http://www.fossil-scm.org/download/fossil-w32-20110520153145.zip

Please try out this new one and let me know if you encounter any
difficulties, especially with non-ASCII filenames.



 Getting command-line programs to work correctly on windows is a real
 problem.  I have yet to find anybody who can explain how to do it.  But if
 we keep plugging at the problem, perhaps we'll eventually get it right.
 Your feedback is important.  If you are able to run Fossil in a debugger and
 provide clues about how we could do windows I18N better, that would be even
 better.

 Anyone with ideas on how to get a command-line program working reliably on
 I18N windows, please speak up.

 --
 D. Richard Hipp
 d...@sqlite.org




-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-15 Thread Martin Gagnon
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\testi18nfslu 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 eme...@gmail.com wrote:

 On Fri, May 13, 2011 at 2:07 PM, Richard Hipp d...@sqlite.org wrote:



 On Fri, May 13, 2011 at 1:27 PM, Martin Gagnon eme...@gmail.com wrote:

 On Fri, May 13, 2011 at 1:15 PM, Richard Hipp d...@sqlite.org wrote:
 
 
  On Fri, May 13, 2011 at 1:05 PM, Martin Gagnon eme...@gmail.com
 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\testi18nfslu ver
 This is fossil version [e7babf5222] 2011-05-13 17:13:38 UTC

 C:\Documents and Settings\mgagnon\fossil\testi18nfslu diff bolé.txt

 C:\Documents and Settings\mgagnon\fossil\testi18nfossil 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)
 *MISSINGbolé.txt*
 *C:\WINDOWS\fossil.exe: short write: 20 of 21 bytes to - *

 C:\Documents and Settings\mgagnon\fossil\testi18ndir
  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:20DIR  .
 13/05/2011  13:20DIR  ..
 13/05/2011  13:1910 *bolé.txt*
 13/05/2011  13:2056,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\testi18nfslu ls
 *bolé.txt*

 --%---

 --
 Martin

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


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-15 Thread Martin Gagnon
On Sun, May 15, 2011 at 7:53 AM, Martin Gagnon eme...@gmail.com 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\testi18nfslu 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 eme...@gmail.com wrote:
On Fri, May 13, 2011 at 2:07 PM, Richard Hipp d...@sqlite.org wrote:


On Fri, May 13, 2011 at 1:27 PM, Martin Gagnon eme...@gmail.com wrote:
On Fri, May 13, 2011 at 1:15 PM, Richard Hipp d...@sqlite.org wrote:


 On Fri, May 13, 2011 at 1:05 PM, Martin Gagnon eme...@gmail.com 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\testi18nfslu ver
This is fossil version [e7babf5222] 2011-05-13 17:13:38 UTC

C:\Documents and Settings\mgagnon\fossil\testi18nfslu diff bolé.txt

C:\Documents and Settings\mgagnon\fossil\testi18nfossil 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)
MISSINGbolé.txt
C:\WINDOWS\fossil.exe: short write: 20 of 21 bytes to - 

C:\Documents and Settings\mgagnon\fossil\testi18ndir
 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:20DIR  .
13/05/2011  13:20DIR  ..
13/05/2011  13:1910 bolé.txt
13/05/2011  13:2056,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\testi18nfslu 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\testi18ndel bolé.txt

C:\Documents and Settings\mgagnon\fossil\testi18nfslu revert
REVERTED: bolé.txt
fossil undo is available to undo changes to the working checkout.


C:\Documents and Settings\mgagnon\fossil\testi18nfslu 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\testi18nfslu 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\testi18nfslu status
repository:   C:/Documents and 

[fossil-users] Pre-built binary for I18N windows

2011-05-13 Thread Richard Hipp
If you are using Fossil on windows with a non-ASCII character set, and
especially if you are having trouble, please consider using the windows-i18n
branch build that can be downloaded from

   http://www.fossil-scm.org/download/fossil-w32-20110513142012.zip

Getting command-line programs to work correctly on windows is a real
problem.  I have yet to find anybody who can explain how to do it.  But if
we keep plugging at the problem, perhaps we'll eventually get it right.
Your feedback is important.  If you are able to run Fossil in a debugger and
provide clues about how we could do windows I18N better, that would be even
better.

Anyone with ideas on how to get a command-line program working reliably on
I18N windows, please speak up.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-13 Thread Richard Hipp
On Fri, May 13, 2011 at 12:41 PM, Martin Gagnon eme...@gmail.com wrote:


 I got same result as my last test with previous version:


Do I understand correctly that the windows-i18n branch is working for you?
Or is there some issue in the text below that I have overlooked?





 --%---
 C:\Documents and Settings\mgagnon\fossil\testi18nfslu init i18n.fossil
 project-id: afe51f5b4d8d3f488be691980dfd769b84b2a8fb
 server-id:  33e46bcb5ffa6d022a150e005bc368388251f2dc
 admin-user: mgagnon (initial password is 59346f)

 C:\Documents and Settings\mgagnon\fossil\testi18nfslu open i18n.fossil

 C:\Documents and Settings\mgagnon\fossil\testi18nnotepad bolé.txt

 C:\Documents and Settings\mgagnon\fossil\testi18ndir
  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  12:37DIR  .
 13/05/2011  12:37DIR  ..
 13/05/2011  12:3710 bolé.txt
 13/05/2011  12:3456,320 i18n.fossil
 13/05/2011  12:34 7,168 _FOSSIL_
   3 File(s) 63,498 bytes
   2 Dir(s)  12,717,309,952 bytes free

 C:\Documents and Settings\mgagnon\fossil\testi18nfslu add bolé.txt
 ADDED  bolé.txt

 C:\Documents and Settings\mgagnon\fossil\testi18nfslu ci

 # 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\testi18nfslu ver
 This is fossil version [55b32701a5] 2011-05-13 15:46:10 UTC



 --%---


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




-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Pre-built binary for I18N windows

2011-05-13 Thread Martin Gagnon
On Fri, May 13, 2011 at 1:15 PM, Richard Hipp d...@sqlite.org wrote:


 On Fri, May 13, 2011 at 1:05 PM, Martin Gagnon eme...@gmail.com 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. So I can commit again and again even if I
didn't modify the file..  Same thing was happening before the short write
fix, when I'm was using -m argument to commit as a work around for the
short write.

example:
--%---

C:\Documents and Settings\mgagnon\fossil\testi18nfslu add bolé.txt
ADDED  bolé.txt

C:\Documents and Settings\mgagnon\fossil\testi18nfslu ci

# 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:
add a file with accent in the name
.
New_Version: 72e37b18706bdcb4d98ab7a50d14322232757fe6

C:\Documents and Settings\mgagnon\fossil\testi18nfslu status
repository:   C:/Documents and Settings/mgagnon/fossil/testi18n/i18n.fossil
local-root:   C:/Documents and Settings/mgagnon/fossil/testi18n/
server-code:  c3c0e2f02baec303ad6e5577fdc87b0fd15ae101
checkout: 72e37b18706bdcb4d98ab7a50d14322232757fe6 2011-05-13 17:19:48
UTC
parent:   463f7843cd8b478fb82562995a71944cffc2d99f 2011-05-13 17:19:15
UTC
tags: trunk
comment:  add a file with accent in the name (user: mgagnon)
*EDITED bolé.txt*

C:\Documents and Settings\mgagnon\fossil\testi18nfslu ci

# 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:
how come I can commit again...
.
New_Version: a5783aac5fcd0a8d76981be70e4a890e6ce3fcc5

C:\Documents and Settings\mgagnon\fossil\testi18nfslu status
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

C:\Documents and Settings\mgagnon\fossil\testi18nfslu timeline
=== 2011-05-13 ===
17:20:15 [a5783aac5f] *CURRENT* how come I can commit again... (user:
mgagnon
tags: trunk)
17:19:48 [72e37b1870] add a file with accent in the name (user: mgagnon
tags:
trunk)
17:19:15 [463f7843cd] initial empty check-in (user: mgagnon tags: trunk)

C:\Documents and Settings\mgagnon\fossil\testi18nfslu ver
This is fossil version [e7babf5222] 2011-05-13 17:13:38 UTC
--%---

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