view src/com/tmate/hgkit/ll/HgRepository.java @ 0:dbd663faec1f

Basic changelog parsing
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 17 Dec 2010 19:05:59 +0100
parents
children a3576694a4d1
line wrap: on
line source
/**
 * Copyright (c) 2010 Artem Tikhomirov 
 */
package com.tmate.hgkit.ll;

/**
 * @author artem
 *
 */
public class HgRepository {

	
	private Changelog changelog;

	public void log() {
		Changelog clog = getChangelog();
		assert clog != null;
		// TODO get data to the client
	}

	/**
	 * @return
	 */
	private Changelog getChangelog() {
		if (this.changelog == null) {
			this.changelog = new Changelog();
			// TODO init
		}
		return this.changelog;
	}
}