Nodes store the deltas between two revisions of the text.
777879808182838485868788
private History parseFile(File file) throws IOException { try { Archive archive = new Archive(getRCSFile(file).getPath()); Version ver = archive.getRevisionVersion(); Node n = archive.findNode(ver); n = n.root(); ArrayList<HistoryEntry> entries = new ArrayList<HistoryEntry>(); traverse(n, entries); History history = new History();
100101102103104105106107108109110
} traverse(n.getChild(), history); TreeMap<?,?> brt = n.getBranches(); if (brt != null) { for (Iterator<?> i = brt.values().iterator(); i.hasNext();) { Node b = (Node) i.next(); traverse(b, history); } } if (!n.isGhost()) { HistoryEntry entry = new HistoryEntry();