Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/TestIncoming.java @ 431:12f668401613
FIXMEs: awkward API refactored, what need to be internal got hidden; public aspects got captured in slim interfaces
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 29 Mar 2012 20:54:04 +0200 |
parents | b015f3918120 |
children | b3c16d1aede0 |
comparison
equal
deleted
inserted
replaced
430:d280759c2a3f | 431:12f668401613 |
---|---|
133 return dest; | 133 return dest; |
134 } | 134 } |
135 | 135 |
136 static File initEmptyTempRepo(String dirName) throws IOException { | 136 static File initEmptyTempRepo(String dirName) throws IOException { |
137 File dest = createEmptyDir(dirName); | 137 File dest = createEmptyDir(dirName); |
138 Internals implHelper = new Internals(new BasicSessionContext(null, null, null)); | 138 Internals implHelper = new Internals(new BasicSessionContext(null)); |
139 implHelper.setStorageConfig(1, STORE | FNCACHE | DOTENCODE); | 139 implHelper.setStorageConfig(1, STORE | FNCACHE | DOTENCODE); |
140 implHelper.initEmptyRepository(new File(dest, ".hg")); | 140 implHelper.initEmptyRepository(new File(dest, ".hg")); |
141 return dest; | 141 return dest; |
142 } | 142 } |
143 } | 143 } |