diff src/org/tmatesoft/hg/core/HgStatus.java @ 140:1c1891ad1c73

Slight optimization
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 16 Feb 2011 22:33:04 +0100
parents 4a948ec83980
children b9700740553a
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgStatus.java	Wed Feb 16 22:28:29 2011 +0100
+++ b/src/org/tmatesoft/hg/core/HgStatus.java	Wed Feb 16 22:33:04 2011 +0100
@@ -73,6 +73,7 @@
 		Changeset 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?
 				return logHelper.getNextCommitUsername();
 			}
 		} else {