Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/PhasesHelper.java @ 474:09f2d38ecf26
Tests for phases support
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 12 Jul 2012 15:36:21 +0200 |
parents | 7bcfbc255f48 |
children | b3c16d1aede0 |
comparison
equal
deleted
inserted
replaced
473:5c09a9f2e073 | 474:09f2d38ecf26 |
---|---|
60 | 60 |
61 public PhasesHelper(HgRepository hgRepo, HgParentChildMap<HgChangelog> pw) { | 61 public PhasesHelper(HgRepository hgRepo, HgParentChildMap<HgChangelog> pw) { |
62 repo = hgRepo; | 62 repo = hgRepo; |
63 parentHelper = pw; | 63 parentHelper = pw; |
64 } | 64 } |
65 | |
66 public HgRepository getRepo() { | |
67 return repo; | |
68 } | |
65 | 69 |
66 public boolean isCapableOfPhases() throws HgInvalidControlFileException { | 70 public boolean isCapableOfPhases() throws HgInvalidControlFileException { |
67 if (null == repoSupporsPhases) { | 71 if (null == repoSupporsPhases) { |
68 repoSupporsPhases = readRoots(); | 72 repoSupporsPhases = readRoots(); |
69 } | 73 } |