Mercurial > hg4j
comparison cmdline/org/tmatesoft/hg/console/Main.java @ 249:4c3b9f679412
Deprecated HgLogCommand.FileRevision gone, top-level HgFileRevision is bright and shiny replacement
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 12 Aug 2011 18:58:16 +0200 |
parents | 3fbfce107f94 |
children | a6d19adc2636 |
comparison
equal
deleted
inserted
replaced
248:3fbfce107f94 | 249:4c3b9f679412 |
---|---|
23 import java.util.List; | 23 import java.util.List; |
24 import java.util.Map; | 24 import java.util.Map; |
25 | 25 |
26 import org.junit.Assert; | 26 import org.junit.Assert; |
27 import org.tmatesoft.hg.core.HgLogCommand; | 27 import org.tmatesoft.hg.core.HgLogCommand; |
28 import org.tmatesoft.hg.core.HgLogCommand.FileRevision; | |
29 import org.tmatesoft.hg.core.HgCatCommand; | 28 import org.tmatesoft.hg.core.HgCatCommand; |
30 import org.tmatesoft.hg.core.HgFileInformer; | 29 import org.tmatesoft.hg.core.HgFileInformer; |
31 import org.tmatesoft.hg.core.HgFileRevision; | 30 import org.tmatesoft.hg.core.HgFileRevision; |
32 import org.tmatesoft.hg.core.HgManifestCommand; | 31 import org.tmatesoft.hg.core.HgManifestCommand; |
33 import org.tmatesoft.hg.core.Nodeid; | 32 import org.tmatesoft.hg.core.Nodeid; |
47 import org.tmatesoft.hg.repo.HgSubrepoLocation.Kind; | 46 import org.tmatesoft.hg.repo.HgSubrepoLocation.Kind; |
48 import org.tmatesoft.hg.repo.HgWorkingCopyStatusCollector; | 47 import org.tmatesoft.hg.repo.HgWorkingCopyStatusCollector; |
49 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; | 48 import org.tmatesoft.hg.repo.HgChangelog.RawChangeset; |
50 import org.tmatesoft.hg.util.Pair; | 49 import org.tmatesoft.hg.util.Pair; |
51 import org.tmatesoft.hg.util.Path; | 50 import org.tmatesoft.hg.util.Path; |
52 import org.tmatesoft.hg.util.ProgressSupport; | |
53 | 51 |
54 /** | 52 /** |
55 * Various debug dumps. | 53 * Various debug dumps. |
56 * | 54 * |
57 * @author Artem Tikhomirov | 55 * @author Artem Tikhomirov |
363 System.out.println(">> " + manifestRevision); | 361 System.out.println(">> " + manifestRevision); |
364 } | 362 } |
365 public void dir(Path p) { | 363 public void dir(Path p) { |
366 System.out.println(p); | 364 System.out.println(p); |
367 } | 365 } |
368 public void file(FileRevision fileRevision) { | 366 public void file(HgFileRevision fileRevision) { |
369 System.out.print(fileRevision.getRevision());; | 367 System.out.print(fileRevision.getRevision());; |
370 System.out.print(" "); | 368 System.out.print(" "); |
371 System.out.println(fileRevision.getPath()); | 369 System.out.println(fileRevision.getPath()); |
372 } | 370 } |
373 | 371 |