Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/Internals.java @ 415:ee8264d80747
Explicit constant for regular file flags, access to flags for a given file revision
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> | 
|---|---|
| date | Thu, 22 Mar 2012 18:54:11 +0100 | 
| parents | bb278ccf9866 | 
| children | 528b6780a8bd | 
   comparison
  equal
  deleted
  inserted
  replaced
| 414:bb278ccf9866 | 415:ee8264d80747 | 
|---|---|
| 167 public boolean isCaseSensitiveFileSystem() { | 167 public boolean isCaseSensitiveFileSystem() { | 
| 168 return isCaseSensitiveFileSystem; | 168 return isCaseSensitiveFileSystem; | 
| 169 } | 169 } | 
| 170 | 170 | 
| 171 public EncodingHelper buildFileNameEncodingHelper() { | 171 public EncodingHelper buildFileNameEncodingHelper() { | 
| 172 return new EncodingHelper(getFileEncoding()); | 172 return new EncodingHelper(getFileEncoding(), sessionContext); | 
| 173 } | 173 } | 
| 174 | 174 | 
| 175 private Charset getFileEncoding() { | 175 private Charset getFileEncoding() { | 
| 176 Object altEncoding = sessionContext.getProperty(CFG_PROPERTY_FS_FILENAME_ENCODING, null); | 176 Object altEncoding = sessionContext.getProperty(CFG_PROPERTY_FS_FILENAME_ENCODING, null); | 
| 177 Charset cs; | 177 Charset cs; | 
