Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/StoragePathHelper.java @ 138:bb1d02f9eff6
clean fixme comment
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 22:23:30 +0100 |
parents | a3a2e5deb320 |
children | a415fe296a50 |
comparison
equal
deleted
inserted
replaced
137:144d771ee73c | 138:bb1d02f9eff6 |
---|---|
41 } | 41 } |
42 | 42 |
43 // FIXME document what path argument is, whether it includes .i or .d, and whether it's 'normalized' (slashes) or not. | 43 // FIXME document what path argument is, whether it includes .i or .d, and whether it's 'normalized' (slashes) or not. |
44 // since .hg/store keeps both .i files and files without extension (e.g. fncache), guees, for data == false | 44 // since .hg/store keeps both .i files and files without extension (e.g. fncache), guees, for data == false |
45 // we shall assume path has extension | 45 // we shall assume path has extension |
46 // FIXME much more to be done, see store.py:_hybridencode | |
47 public String rewrite(String path) { | 46 public String rewrite(String path) { |
48 final String STR_STORE = "store/"; | 47 final String STR_STORE = "store/"; |
49 final String STR_DATA = "data/"; | 48 final String STR_DATA = "data/"; |
50 final String STR_DH = "dh/"; | 49 final String STR_DH = "dh/"; |
51 final String reservedChars = "\\:*?\"<>|"; | 50 final String reservedChars = "\\:*?\"<>|"; |