comparison src/org/tmatesoft/hg/repo/HgInternals.java @ 382:82336b7c54f4

Per-repository UpdateConfigCommand completed. Access to system properties through SessionContext to ease alternation
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 10 Feb 2012 13:56:24 +0100
parents 8107b95f4280
children 2747b0723867 0f5696623512
comparison
equal deleted inserted replaced
381:6e37c7168585 382:82336b7c54f4
81 rv[i] = dirstate.known(toCheck[i]); 81 rv[i] = dirstate.known(toCheck[i]);
82 } 82 }
83 return rv; 83 return rv;
84 } 84 }
85 85
86 public File getRepositoryDir() { 86 public static File getRepositoryDir(HgRepository hgRepo) {
87 return repo.getRepositoryRoot(); 87 return hgRepo.getRepositoryRoot();
88 } 88 }
89 89
90 public static HgIgnore newHgIgnore(Reader source) throws IOException { 90 public static HgIgnore newHgIgnore(Reader source) throws IOException {
91 HgIgnore hgIgnore = new HgIgnore(); 91 HgIgnore hgIgnore = new HgIgnore();
92 BufferedReader br = source instanceof BufferedReader ? (BufferedReader) source : new BufferedReader(source); 92 BufferedReader br = source instanceof BufferedReader ? (BufferedReader) source : new BufferedReader(source);