Mercurial > jhg
diff src/org/tmatesoft/hg/core/Cset.java @ 65:e21df6259f83
Log commandline sample updated to use LogCommand
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 21 Jan 2011 06:17:56 +0100 |
parents | 19e9e220bf68 |
children | 6f1b88693d48 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/Cset.java Fri Jan 21 05:56:43 2011 +0100 +++ b/src/org/tmatesoft/hg/core/Cset.java Fri Jan 21 06:17:56 2011 +0100 @@ -60,8 +60,15 @@ revNumber = localRevNumber; nodeid = nid; changeset = rawChangeset; + modifiedFiles = addedFiles = null; + deletedFiles = null; } - + public int getRevision() { + return revNumber; + } + public Nodeid getNodeid() { + return nodeid; + } public String getUser() { return changeset.user(); } @@ -74,6 +81,9 @@ public String getDate() { return changeset.dateString(); } + public Nodeid getManifestRevision() { + return changeset.manifest(); + } public List<Path> getAffectedFiles() { ArrayList<Path> rv = new ArrayList<Path>(changeset.files().size());