comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:dbd663faec1f
1 /**
2 * Copyright (c) 2010 Artem Tikhomirov
3 */
4 package com.tmate.hgkit.ll;
5
6 /**
7 * @author artem
8 *
9 */
10 public class HgRepository {
11
12
13 private Changelog changelog;
14
15 public void log() {
16 Changelog clog = getChangelog();
17 assert clog != null;
18 // TODO get data to the client
19 }
20
21 /**
22 * @return
23 */
24 private Changelog getChangelog() {
25 if (this.changelog == null) {
26 this.changelog = new Changelog();
27 // TODO init
28 }
29 return this.changelog;
30 }
31 }