diff src/org/tmatesoft/hg/core/HgStatus.java @ 154:ba2bf656f00f

Changeset => RawChangeset
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 24 Feb 2011 22:16:19 +0100
parents b9700740553a
children f052f40839ec
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgStatus.java	Thu Feb 24 21:38:46 2011 +0100
+++ b/src/org/tmatesoft/hg/core/HgStatus.java	Thu Feb 24 22:16:19 2011 +0100
@@ -19,7 +19,7 @@
 import java.util.Date;
 
 import org.tmatesoft.hg.internal.ChangelogHelper;
-import org.tmatesoft.hg.repo.HgChangelog.Changeset;
+import org.tmatesoft.hg.repo.HgChangelog.RawChangeset;
 import org.tmatesoft.hg.util.Path;
 
 /**
@@ -71,7 +71,7 @@
 	 * @return <code>null</code> if author for the change can't be deduced (e.g. for clean files it's senseless)
 	 */
 	public String getModificationAuthor() {
-		Changeset cset = logHelper.findLatestChangeWith(path);
+		RawChangeset cset = logHelper.findLatestChangeWith(path);
 		if (cset == null) {
 			if (kind == Kind.Modified || kind == Kind.Added || kind == Kind.Removed /*&& RightBoundary is TIP*/) {
 				// perhaps, also for Kind.Missing?
@@ -84,7 +84,7 @@
 	}
 
 	public Date getModificationDate() {
-		Changeset cset = logHelper.findLatestChangeWith(path);
+		RawChangeset cset = logHelper.findLatestChangeWith(path);
 		if (cset == null) {
 			// FIXME check dirstate and/or local file for tstamp
 			return new Date(); // what's correct