comparison 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
comparison
equal deleted inserted replaced
67:64bddc2dcc0e 68:0e499fed9b3d
12 * @author artem 12 * @author artem
13 */ 13 */
14 public abstract class HgRepository { 14 public abstract class HgRepository {
15 15
16 public static final int TIP = -1; 16 public static final int TIP = -1;
17 public static final int BAD_REVISION = Integer.MIN_VALUE;
18 public static final int WORKING_COPY = -2;
17 19
18 // temp aux marker method 20 // temp aux marker method
19 public static IllegalStateException notImplemented() { 21 public static IllegalStateException notImplemented() {
20 return new IllegalStateException("Not implemented"); 22 return new IllegalStateException("Not implemented");
21 } 23 }