Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgRepository.java @ 197:3a7696fb457c
Investigate optimization options to allow fast processing of huge repositories. Fix defect in StatusCollector that lead to wrong result comparing first revision to empty repo (-1 to 0), due to same TIP constant value
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 03:49:29 +0200 |
parents | 1a7a9a20e1f9 |
children | 706bcc7cfee4 |
comparison
equal
deleted
inserted
replaced
196:e2115da4cf6a | 197:3a7696fb457c |
---|---|
43 * @author Artem Tikhomirov | 43 * @author Artem Tikhomirov |
44 * @author TMate Software Ltd. | 44 * @author TMate Software Ltd. |
45 */ | 45 */ |
46 public final class HgRepository { | 46 public final class HgRepository { |
47 | 47 |
48 // if new constants added, consider fixing HgInternals#badLocalRevision | 48 // if new constants added, consider fixing HgInternals#wrongLocalRevision |
49 public static final int TIP = -1; | 49 public static final int TIP = -3; |
50 public static final int BAD_REVISION = Integer.MIN_VALUE; | 50 public static final int BAD_REVISION = Integer.MIN_VALUE; |
51 public static final int WORKING_COPY = -2; | 51 public static final int WORKING_COPY = -2; |
52 | 52 |
53 // temp aux marker method | 53 // temp aux marker method |
54 public static IllegalStateException notImplemented() { | 54 public static IllegalStateException notImplemented() { |