[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision 79f1a97b9f6d75bfab94f563edf2d5e13cd2
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision 79f1a97b9f6d75bfab94f563edf2d5e13cd20440 |
Date: |
Sat, 23 Apr 2005 05:10:26 UT |
-----------------------------------------------------------------
Revision: 79f1a97b9f6d75bfab94f563edf2d5e13cd20440
Ancestor: f2ec4862ac7d0d3a1732bb28925dc39021121e5f
Author: address@hidden
Date: 2005-04-22T08:20:17
Branch: net.venge.monotone
Added files:
tests/t_normalized_filenames.at
Modified files:
ChangeLog file_io.cc file_io.hh manifest.cc
tests/t_i18n_file.at testsuite.at transforms.cc
unix/inodeprint.cc vocab.cc win32/inodeprint.cc
ChangeLog:
2005-04-22 Nathaniel Smith <address@hidden>
* file_io.{cc,hh} (localized): Take file_path/local_path instead
of string; expose in public interface. Adjust rest of file to
match.
(walk_tree): Don't convert the (OS-supplied) current directory
from UTF-8 to current locale.
* transforms.{cc,hh} (charset_convert): Be more informative on
error.
(calculate_ident): Localize the filename, even on the fast-path.
Also assert file exists and is not a directory, since Crypto++
will happily hash directories. (They are like empty files,
apparently.)
* manifest.cc (build_restricted_manifest_map): Use file_exists
instead of fs::exists, to handle localized paths.
* {win32,unix}/inodeprint.cc (inodeprint_file): Use localized
filenames to stat.
* tests/t_i18n_file.at: Rewrite to work right.
* tests/t_normalized_filenames.at: New test.
* testsuite.at: Add it.
* vocab.cc (test_file_path_verification): MT/path is not a valid
file_path either.
(test_file_path_normalization): New unit-test.
monotone --db={your.database} diff
--revision=f2ec4862ac7d0d3a1732bb28925dc39021121e5f
--revision=79f1a97b9f6d75bfab94f563edf2d5e13cd20440
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision 79f1a97b9f6d75bfab94f563edf2d5e13cd20440,
monotone <=