comparison src/org/tmatesoft/hg/internal/FNCacheFile.java @ 624:507602cb4fb3

FIXMEs and TODOs: pay some technical debt
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 May 2013 20:34:33 +0200
parents 5e0313485eef
children c75297c17867
comparison
equal deleted inserted replaced
623:fedc54356091 624:507602cb4fb3
66 } 66 }
67 ArrayList<String> entries = new ArrayList<String>(); 67 ArrayList<String> entries = new ArrayList<String>();
68 // names in fncache are in local encoding, shall translate to unicode 68 // names in fncache are in local encoding, shall translate to unicode
69 new LineReader(f, repo.getSessionContext().getLog(), repo.getFilenameEncoding()).read(new LineReader.SimpleLineCollector(), entries); 69 new LineReader(f, repo.getSessionContext().getLog(), repo.getFilenameEncoding()).read(new LineReader.SimpleLineCollector(), entries);
70 for (String e : entries) { 70 for (String e : entries) {
71 // FIXME plain wrong, need either to decode paths and strip off .i/.d or (if keep names as is) change write() 71 // XXX plain wrong, need either to decode paths and strip off .i/.d or (if keep names as is) change write()
72 files.add(pathFactory.path(e)); 72 files.add(pathFactory.path(e));
73 } 73 }
74 } 74 }
75 */ 75 */
76 76