Fossil

View Ticket
Login
2012-08-29
22:43
remaining part of [01a2f3a346] factor out the opendir() family of routines and provide portable alternatives, fossil_opendir() check-in: 4f9f0570db user: jan.nijtmans tags: trunk
22:34
working part of [01a2f3a346] check-in: 14733d1519 user: jan.nijtmans tags: trunk
11:28 Fixed ticket [01a2f3a346]: Cannot update when branch contains non-mbcs filenames plus 2 other changes artifact: 4d350cfaae user: jan.nijtmans
11:27
fix for [01a2f3a346] check-in: 0357ed556e user: jan.nijtmans tags: msvc-broken
2012-08-28
08:58 Ticket [01a2f3a346] Cannot update when branch contains non-mbcs filenames status still Open with 1 other change artifact: 04b2887446 user: jan.nijtmans
06:39 Ticket [01a2f3a346]: 2 changes artifact: 673891d4a0 user: jan.nijtmans
06:38 New ticket [01a2f3a346]. artifact: 0d3886de2d user: jan.nijtmans
2012-08-24
13:42
add mkdir to the unicode-supported functions add chinese-named file and directory in test directory, demonstrating the fix [01a2f3a346] check-in: c780793749 user: jan.nijtmans tags: ticket-01a2f3a346
13:15
Better support for unicode filenames on Win32 (Not tested on other platforms yet, will not work!) [01a2f3a346] check-in: d8e1431fc0 user: jan.nijtmans tags: ticket-01a2f3a346

Ticket Hash: 01a2f3a346f963c19404630f611e24619c82232c
Title: Cannot update when branch contains non-mbcs filenames
Status: Fixed Type: Code_Defect
Severity: Important Priority: Medium
Subsystem: Resolution: Fixed
Last Modified: 2012-08-29 11:28:42
13.59 years ago
Created: 2012-08-28 06:38:43
13.59 years ago
Version Found In: 1.23
Description:
On Windows, try to update to a branch which contains characters
outside the current mbcs, e.g. "fossil update eclipse-project".
Below is a log what happens.

Branch "ticket-01a2f3a346" contains my minimal proposed fix. It is tested on UNIX and Windows.

Here is what happens (Windows only!) >fossil update eclipse-project ..... ADD .project (overwrites an unmanaged file) ADD .settings/org.eclipse.core.runtime.prefs UPDATE src/export.c UPDATE src/file.c UPDATE src/finfo.c UPDATE src/import.c UPDATE src/json.c UPDATE src/main.c UPDATE src/merge.c UPDATE src/name.c UPDATE src/popen.c UPDATE src/rebuild.c UPDATE src/shell.c MERGE src/timeline.c UPDATE src/translate.c UPDATE src/vfile.c UPDATE src/winhttp.c ADD test/??/??.txt C:\Localdata\workspace\fossil\fossil.exe: unable to create directory C:/Localdat a/workspace/fossil/test/?? Rolling back prior filesystem changes... UNDO .project DELETE .settings/org.eclipse.core.runtime.prefs UNDO src/export.c UNDO src/file.c UNDO src/finfo.c UNDO src/import.c UNDO src/json.c UNDO src/main.c UNDO src/merge.c UNDO src/name.c UNDO src/popen.c UNDO src/rebuild.c UNDO src/shell.c UNDO src/timeline.c UNDO src/translate.c UNDO src/vfile.c UNDO src/winhttp.c DELETE test/??/??.txt >