Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgInternals.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 | a0864b2892cd |
children | 8107b95f4280 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgInternals.java Fri Dec 16 04:43:18 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgInternals.java Fri Dec 16 15:37:27 2011 +0100 @@ -135,7 +135,7 @@ // Convenient check of local revision number for validity (not all negative values are wrong as long as we use negative constants) - public static boolean wrongLocalRevision(int rev) { + public static boolean wrongRevisionIndex(int rev) { return rev < 0 && rev != TIP && rev != WORKING_COPY && rev != BAD_REVISION; }