Mercurial > hg4j
comparison src/org/tmatesoft/hg/internal/RevlogStream.java @ 664:ae2d439fbed3
Utilize transaction when writing fncache. Better HgIOException
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 10 Jul 2013 19:33:51 +0200 |
parents | bcbcc318f250 |
children |
comparison
equal
deleted
inserted
replaced
663:46b56864b483 | 664:ae2d439fbed3 |
---|---|
131 return dataFile; | 131 return dataFile; |
132 } | 132 } |
133 | 133 |
134 // initialize exception with the file where revlog structure information comes from | 134 // initialize exception with the file where revlog structure information comes from |
135 public HgInvalidControlFileException initWithIndexFile(HgInvalidControlFileException ex) { | 135 public HgInvalidControlFileException initWithIndexFile(HgInvalidControlFileException ex) { |
136 return ex.setFile(indexFile); | |
137 } | |
138 | |
139 public HgIOException initWithIndexFile(HgIOException ex) { | |
136 return ex.setFile(indexFile); | 140 return ex.setFile(indexFile); |
137 } | 141 } |
138 | 142 |
139 // initialize exception with the file where revlog data comes from | 143 // initialize exception with the file where revlog data comes from |
140 public HgInvalidControlFileException initWithDataFile(HgInvalidControlFileException ex) { | 144 public HgInvalidControlFileException initWithDataFile(HgInvalidControlFileException ex) { |