Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/RevlogStream.java @ 580:bd5926e24aa3
Respect unix flags for checkout/revert
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Fri, 19 Apr 2013 20:30:34 +0200 |
| parents | 5d7399ade999 |
| children | ed243b668502 |
comparison
equal
deleted
inserted
replaced
| 579:36e36b926747 | 580:bd5926e24aa3 |
|---|---|
| 65 this.dataAccess = dap; | 65 this.dataAccess = dap; |
| 66 this.indexFile = indexFile; | 66 this.indexFile = indexFile; |
| 67 } | 67 } |
| 68 | 68 |
| 69 /*package*/ DataAccess getIndexStream() { | 69 /*package*/ DataAccess getIndexStream() { |
| 70 // FIXME post 1.0 must supply a hint that I'll need really few bytes of data (perhaps, at some offset) | 70 // FIXME [1.1] must supply a hint that I'll need really few bytes of data (perhaps, at some offset) |
| 71 // to avoid mmap files when only few bytes are to be read (i.e. #dataLength()) | 71 // to avoid mmap files when only few bytes are to be read (i.e. #dataLength()) |
| 72 return dataAccess.createReader(indexFile); | 72 return dataAccess.createReader(indexFile); |
| 73 } | 73 } |
| 74 | 74 |
| 75 /*package*/ DataAccess getDataStream() { | 75 /*package*/ DataAccess getDataStream() { |
