Mercurial > hg4j
comparison cmdline/org/tmatesoft/hg/console/Outgoing.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 |
---|---|
45 // FIXME detection of | 45 // FIXME detection of |
46 List<Nodeid> base = new LinkedList<Nodeid>(); | 46 List<Nodeid> base = new LinkedList<Nodeid>(); |
47 base.add(Nodeid.fromAscii("d6d2a630f4a6d670c90a5ca909150f2b426ec88f".getBytes(), 0, 40)); | 47 base.add(Nodeid.fromAscii("d6d2a630f4a6d670c90a5ca909150f2b426ec88f".getBytes(), 0, 40)); |
48 // | 48 // |
49 // fill with all known | 49 // fill with all known |
50 Changelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); | 50 HgChangelog.ParentWalker pw = hgRepo.getChangelog().new ParentWalker(); |
51 pw.init(); | 51 pw.init(); |
52 LinkedHashSet<Nodeid> sendToRemote = new LinkedHashSet<Nodeid>(pw.allNodes()); | 52 LinkedHashSet<Nodeid> sendToRemote = new LinkedHashSet<Nodeid>(pw.allNodes()); |
53 dump("initial state", sendToRemote); | 53 dump("initial state", sendToRemote); |
54 // remove base and its parents | 54 // remove base and its parents |
55 LinkedList<Nodeid> queueToClean = new LinkedList<Nodeid>(base); | 55 LinkedList<Nodeid> queueToClean = new LinkedList<Nodeid>(base); |