Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/TestStorePath.java @ 637:4a0bab2c6da1
HgInitCommand: expose repo init functionality
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 07 Jun 2013 12:32:15 +0200 |
parents | b3c16d1aede0 |
children |
comparison
equal
deleted
inserted
replaced
636:ffce73efa2c2 | 637:4a0bab2c6da1 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011-2012 TMate Software Ltd | 2 * Copyright (c) 2011-2013 TMate Software Ltd |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or modify | 4 * This program is free software; you can redistribute it and/or modify |
5 * it under the terms of the GNU General Public License as published by | 5 * it under the terms of the GNU General Public License as published by |
6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
7 * | 7 * |
58 } | 58 } |
59 | 59 |
60 public TestStorePath() { | 60 public TestStorePath() { |
61 propertyOverrides.put("hg.consolelog.debug", true); | 61 propertyOverrides.put("hg.consolelog.debug", true); |
62 sessionCtx = new BasicSessionContext(propertyOverrides, null); | 62 sessionCtx = new BasicSessionContext(propertyOverrides, null); |
63 repoInit = new RepoInitializer().setRequires(STORE + FNCACHE + DOTENCODE); | 63 repoInit = new RepoInitializer().setRequires(REVLOGV1 | STORE | FNCACHE | DOTENCODE); |
64 storePathHelper = repoInit.buildDataFilesHelper(sessionCtx); | 64 storePathHelper = repoInit.buildDataFilesHelper(sessionCtx); |
65 } | 65 } |
66 | 66 |
67 @Before | 67 @Before |
68 public void setup() { | 68 public void setup() { |