comparison src/org/tmatesoft/hg/core/HgChangeset.java @ 154:ba2bf656f00f

Changeset => RawChangeset
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 24 Feb 2011 22:16:19 +0100
parents 1a7a9a20e1f9
children c9b305df0b89
comparison
equal deleted inserted replaced
153:ab7ea2ac21cb 154:ba2bf656f00f
19 import java.util.ArrayList; 19 import java.util.ArrayList;
20 import java.util.Collections; 20 import java.util.Collections;
21 import java.util.List; 21 import java.util.List;
22 22
23 import org.tmatesoft.hg.core.HgLogCommand.FileRevision; 23 import org.tmatesoft.hg.core.HgLogCommand.FileRevision;
24 import org.tmatesoft.hg.repo.HgChangelog.Changeset; 24 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
25 import org.tmatesoft.hg.repo.HgRepository; 25 import org.tmatesoft.hg.repo.HgRepository;
26 import org.tmatesoft.hg.repo.HgStatusCollector; 26 import org.tmatesoft.hg.repo.HgStatusCollector;
27 import org.tmatesoft.hg.util.Path; 27 import org.tmatesoft.hg.util.Path;
28 28
29 29
38 public class HgChangeset implements Cloneable { 38 public class HgChangeset implements Cloneable {
39 private final HgStatusCollector statusHelper; 39 private final HgStatusCollector statusHelper;
40 private final Path.Source pathHelper; 40 private final Path.Source pathHelper;
41 41
42 // 42 //
43 private Changeset changeset; 43 private RawChangeset changeset;
44 private Nodeid nodeid; 44 private Nodeid nodeid;
45 45
46 // 46 //
47 private List<FileRevision> modifiedFiles, addedFiles; 47 private List<FileRevision> modifiedFiles, addedFiles;
48 private List<Path> deletedFiles; 48 private List<Path> deletedFiles;
54 statusHelper = statusCollector; 54 statusHelper = statusCollector;
55 pathHelper = pathFactory; 55 pathHelper = pathFactory;
56 } 56 }
57 57
58 /*package-local*/ 58 /*package-local*/
59 void init(int localRevNumber, Nodeid nid, Changeset rawChangeset) { 59 void init(int localRevNumber, Nodeid nid, RawChangeset rawChangeset) {
60 revNumber = localRevNumber; 60 revNumber = localRevNumber;
61 nodeid = nid; 61 nodeid = nid;
62 changeset = rawChangeset; 62 changeset = rawChangeset;
63 modifiedFiles = addedFiles = null; 63 modifiedFiles = addedFiles = null;
64 deletedFiles = null; 64 deletedFiles = null;