Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgRepository.java @ 367:2fadf8695f8a
Use 'revision index' instead of the vague 'local revision number' concept in the API
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Dec 2011 15:37:27 +0100 |
parents | 189dc6dc1c3e |
children | b015f3918120 |
comparison
equal
deleted
inserted
replaced
366:189dc6dc1c3e | 367:2fadf8695f8a |
---|---|
52 * @author Artem Tikhomirov | 52 * @author Artem Tikhomirov |
53 * @author TMate Software Ltd. | 53 * @author TMate Software Ltd. |
54 */ | 54 */ |
55 public final class HgRepository { | 55 public final class HgRepository { |
56 | 56 |
57 // if new constants added, consider fixing HgInternals#wrongLocalRevision | 57 // if new constants added, consider fixing HgInternals#wrongRevisionIndex |
58 public static final int TIP = -3; | 58 public static final int TIP = -3; |
59 public static final int BAD_REVISION = Integer.MIN_VALUE; | 59 public static final int BAD_REVISION = Integer.MIN_VALUE; |
60 public static final int WORKING_COPY = -2; | 60 public static final int WORKING_COPY = -2; |
61 | 61 |
62 public static final String DEFAULT_BRANCH_NAME = "default"; | 62 public static final String DEFAULT_BRANCH_NAME = "default"; |