comparison cmdline/org/tmatesoft/hg/console/Incoming.java @ 98:225c48d964ed

Changelog to HgChangelog, Refactoring doesn't recognize name with inner class
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 27 Jan 2011 21:27:37 +0100
parents ee2c750b036d
children a3a2e5deb320
comparison
equal deleted inserted replaced
97:ee2c750b036d 98:225c48d964ed
43 System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation()); 43 System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation());
44 return; 44 return;
45 } 45 }
46 // in fact, all we need from changelog is set of all nodeids. However, since ParentWalker reuses same Nodeids, it's not too expensive 46 // in fact, all we need from changelog is set of all nodeids. However, since ParentWalker reuses same Nodeids, it's not too expensive
47 // to reuse it here, XXX although later this may need to be refactored 47 // to reuse it here, XXX although later this may need to be refactored
48 final Changelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); 48 final HgChangelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker();
49 pw.init(); 49 pw.init();
50 // 50 //
51 HashSet<Nodeid> base = new HashSet<Nodeid>(); 51 HashSet<Nodeid> base = new HashSet<Nodeid>();
52 HashSet<Nodeid> unknownRemoteHeads = new HashSet<Nodeid>(); 52 HashSet<Nodeid> unknownRemoteHeads = new HashSet<Nodeid>();
53 // imagine empty repository - any nodeid from remote heads would be unknown 53 // imagine empty repository - any nodeid from remote heads would be unknown