Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgBookmarks.java @ 501:d2f6ab541330
Change the way extensions are accessed (with ExtensionsManager now), add preliminary Rebase extension support
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 29 Oct 2012 19:04:13 +0100 |
parents | b3c16d1aede0 |
children | c56edf42be64 |
comparison
equal
deleted
inserted
replaced
500:465316bf97e8 | 501:d2f6ab541330 |
---|---|
41 HgBookmarks(Internals internals) { | 41 HgBookmarks(Internals internals) { |
42 internalRepo = internals; | 42 internalRepo = internals; |
43 } | 43 } |
44 | 44 |
45 /*package-local*/ void read() throws HgInvalidControlFileException { | 45 /*package-local*/ void read() throws HgInvalidControlFileException { |
46 final LogFacility log = internalRepo.getContext().getLog(); | 46 final LogFacility log = internalRepo.getSessionContext().getLog(); |
47 final HgRepository repo = internalRepo.getRepo(); | 47 final HgRepository repo = internalRepo.getRepo(); |
48 File all = internalRepo.getFileFromRepoDir(HgRepositoryFiles.Bookmarks.getName()); | 48 File all = internalRepo.getFileFromRepoDir(HgRepositoryFiles.Bookmarks.getName()); |
49 LinkedHashMap<String, Nodeid> bm = new LinkedHashMap<String, Nodeid>(); | 49 LinkedHashMap<String, Nodeid> bm = new LinkedHashMap<String, Nodeid>(); |
50 if (all.canRead()) { | 50 if (all.canRead()) { |
51 LineReader lr1 = new LineReader(all, log); | 51 LineReader lr1 = new LineReader(all, log); |