comparison src/org/tmatesoft/hg/core/HgCloneCommand.java @ 418:528b6780a8bd

A bit of FIXME cleanup (mostly degraded to TODO post 1.0), comments and javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 22 Mar 2012 21:02:20 +0100
parents 6952d9ce97f1
children 9c9c442b5f2e
comparison
equal deleted inserted replaced
417:ccd7d25e5aea 418:528b6780a8bd
206 public void fileStart(String name) { 206 public void fileStart(String name) {
207 try { 207 try {
208 base = -1; 208 base = -1;
209 offset = 0; 209 offset = 0;
210 revisionSequence.clear(); 210 revisionSequence.clear();
211 fncacheFiles.add("data/" + name + ".i"); // FIXME this is pure guess, 211 fncacheFiles.add("data/" + name + ".i"); // TODO post-1.0 this is pure guess,
212 // need to investigate more how filenames are kept in fncache 212 // need to investigate more how filenames are kept in fncache
213 File file = new File(hgDir, filename = storagePathHelper.rewrite(name).toString()); 213 File file = new File(hgDir, filename = storagePathHelper.rewrite(name).toString());
214 file.getParentFile().mkdirs(); 214 file.getParentFile().mkdirs();
215 indexFile = new FileOutputStream(file); 215 indexFile = new FileOutputStream(file);
216 } catch (IOException ex) { 216 } catch (IOException ex) {