diff src/com/tmate/hgkit/ll/HgRepository.java @ 68:0e499fed9b3d

StatusCommand with tests. Extra constants to indicate common revision cases
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 22 Jan 2011 22:11:24 +0100
parents 19e9e220bf68
children
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/HgRepository.java	Fri Jan 21 19:21:43 2011 +0100
+++ b/src/com/tmate/hgkit/ll/HgRepository.java	Sat Jan 22 22:11:24 2011 +0100
@@ -14,6 +14,8 @@
 public abstract class HgRepository {
 
 	public static final int TIP = -1;
+	public static final int BAD_REVISION = Integer.MIN_VALUE;
+	public static final int WORKING_COPY = -2;
 
 	// temp aux marker method
 	public static IllegalStateException notImplemented() {