Mercurial > hg4j
diff src/org/tmatesoft/hg/core/HgCloneCommand.java @ 390:6952d9ce97f1
Handle missing manifest revision case (brought up with Issue 23), do my best to report missing manifests when walking few manifest revisions
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 16 Feb 2012 16:08:51 +0100 |
parents | fc8bc2f1edbe |
children | 528b6780a8bd |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgCloneCommand.java Thu Feb 16 01:09:24 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgCloneCommand.java Thu Feb 16 16:08:51 2012 +0100 @@ -30,6 +30,7 @@ import java.util.TreeMap; import java.util.zip.DeflaterOutputStream; +import org.tmatesoft.hg.internal.BasicSessionContext; import org.tmatesoft.hg.internal.ByteArrayDataAccess; import org.tmatesoft.hg.internal.DataAccess; import org.tmatesoft.hg.internal.DigestHelper; @@ -132,7 +133,7 @@ public WriteDownMate(File destDir) { hgDir = new File(destDir, ".hg"); - implHelper = new Internals(); + implHelper = new Internals(new BasicSessionContext(null, null)); implHelper.setStorageConfig(1, STORE | FNCACHE | DOTENCODE); storagePathHelper = implHelper.buildDataFilesHelper(); }