Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgBranches.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 | 9c9c442b5f2e |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgBranches.java Fri Dec 16 04:43:18 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/HgBranches.java Fri Dec 16 15:37:27 2011 +0100 @@ -303,7 +303,7 @@ int[] localCset = new int[heads.size()]; int i = 0; for (Nodeid h : heads) { - localCset[i++] = rmap.localRevision(h); + localCset[i++] = rmap.revisionIndex(h); } // [0] tipmost, [1] tipmost open final Nodeid[] tipmost = new Nodeid[] {null, null};