comparison cmdline/org/tmatesoft/hg/console/Manifest.java @ 131:aa1629f36482

Renamed .core classes to start with Hg prefix
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 16 Feb 2011 20:47:56 +0100
parents a3a2e5deb320
children 4a948ec83980
comparison
equal deleted inserted replaced
130:7567f4a42fe5 131:aa1629f36482
16 */ 16 */
17 package org.tmatesoft.hg.console; 17 package org.tmatesoft.hg.console;
18 18
19 import static org.tmatesoft.hg.repo.HgRepository.TIP; 19 import static org.tmatesoft.hg.repo.HgRepository.TIP;
20 20
21 import org.tmatesoft.hg.core.LogCommand.FileRevision; 21 import org.tmatesoft.hg.core.HgLogCommand.FileRevision;
22 import org.tmatesoft.hg.core.Nodeid; 22 import org.tmatesoft.hg.core.Nodeid;
23 import org.tmatesoft.hg.core.Path; 23 import org.tmatesoft.hg.core.Path;
24 import org.tmatesoft.hg.core.RepositoryTreeWalker; 24 import org.tmatesoft.hg.core.HgManifestCommand;
25 import org.tmatesoft.hg.repo.HgManifest; 25 import org.tmatesoft.hg.repo.HgManifest;
26 import org.tmatesoft.hg.repo.HgRepository; 26 import org.tmatesoft.hg.repo.HgRepository;
27 27
28 28
29 /** 29 /**
41 return; 41 return;
42 } 42 }
43 System.out.println(hgRepo.getLocation()); 43 System.out.println(hgRepo.getLocation());
44 hgRepo.getManifest().walk(0, TIP, new Dump()); 44 hgRepo.getManifest().walk(0, TIP, new Dump());
45 // 45 //
46 new RepositoryTreeWalker(hgRepo).dirs(true).walk(new RepositoryTreeWalker.Handler() { 46 new HgManifestCommand(hgRepo).dirs(true).walk(new HgManifestCommand.Handler() {
47 47
48 public void begin(Nodeid manifestRevision) { 48 public void begin(Nodeid manifestRevision) {
49 System.out.println(">> " + manifestRevision); 49 System.out.println(">> " + manifestRevision);
50 } 50 }
51 public void dir(Path p) { 51 public void dir(Path p) {