Ticket Change Details
Not logged in

Changes to ticket 838bde7990

By anonymous on 2008-12-04 07:06:01. See also: artifact content, and ticket history

    1. Appended to comment:

      anonymous added on 2008-12-04 07:06:01:
      the way I test it on win XP is that I run the above script (from del .\_fossil_ line till fossil ui line) in one go.
      At that moment I get fossil web interface, where I see freshly created repo.
      If I go there to the timeline menu, I see there one enty title "1 most recent events". If I check submenu "Checkins only"
      I still see there only 1 item, title now "1 most recent checkins".
      It says "Leaf" and text of my commit comment, as you czn check i above script.
      Now if I click link on that link, I see page titled "Baseline ...."
      There I have (besides other) "Commands:" line with "diff | ZIP archive | manifest | edit" options/ links.
      If I use dill, I see "diffed" content of file (because I start afresh, it is just content of file with diff marks). In my case:
      @@ -1,1 +1,1 @@
      -
      +345678

      If I click ZIP link, I get Zipped archive of repository
      Now If I go to "Files" top menu, I get page titled "File List" with heading "Files in the top-level directory"
      and there I my commited dirctory (If I switch the codepage of browser to Central European Windows-1250, I see the directory name
      correctly). If I click on it, .... Now I noticed something I did not notice before.

      If I keep default character encoding on browser page (Western ISO 8859-1) and click on directory link, I get page stating:
      "Files in directory testSA!A!A!SRA¸A¸A¸R YýýýY" and showing no file there.
      If I change character encoding on browser page to Central European Windows-1250 (on Files in the top-level directory page)
      and click on correcly named directory, I get page with heading "Files in directory testSšššSRoooR YýýýY" and I see there
      link to my file (of course with name in western encoding " 1roooo R .test" and I can click on it to see its content)

      So it seems to me, based on encoding of generated page, sometimes fossil can fail to show true content of directory.