Mercurial > hg4j
diff src/com/tmate/hgkit/ll/HgRepository.java @ 1:a3576694a4d1
Repository detection from local/specified directory
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sat, 18 Dec 2010 05:47:35 +0100 |
parents | dbd663faec1f |
children | 08db726a0fb7 |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/HgRepository.java Fri Dec 17 19:05:59 2010 +0100 +++ b/src/com/tmate/hgkit/ll/HgRepository.java Sat Dec 18 05:47:35 2010 +0100 @@ -3,14 +3,24 @@ */ package com.tmate.hgkit.ll; + /** * @author artem * */ -public class HgRepository { +public abstract class HgRepository { private Changelog changelog; + private boolean isInvalid = true; + + public boolean isInvalid() { + return this.isInvalid; + } + + protected void setInvalid(boolean invalid) { + isInvalid = invalid; + } public void log() { Changelog clog = getChangelog(); @@ -28,4 +38,6 @@ } return this.changelog; } + + public abstract String getLocation(); }