Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Log.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 | 41a778e3fd31 | 
| children | 45dc79e545f5 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 248:3fbfce107f94 | 249:4c3b9f679412 | 
|---|---|
| 16 */ | 16 */ | 
| 17 package org.tmatesoft.hg.console; | 17 package org.tmatesoft.hg.console; | 
| 18 | 18 | 
| 19 import java.util.List; | 19 import java.util.List; | 
| 20 | 20 | 
| 21 import org.tmatesoft.hg.core.HgFileRevision; | |
| 21 import org.tmatesoft.hg.core.HgLogCommand; | 22 import org.tmatesoft.hg.core.HgLogCommand; | 
| 22 import org.tmatesoft.hg.core.HgLogCommand.FileRevision; | |
| 23 import org.tmatesoft.hg.repo.HgDataFile; | 23 import org.tmatesoft.hg.repo.HgDataFile; | 
| 24 import org.tmatesoft.hg.repo.HgRepository; | 24 import org.tmatesoft.hg.repo.HgRepository; | 
| 25 import org.tmatesoft.hg.util.CancelSupport; | 25 import org.tmatesoft.hg.util.CancelSupport; | 
| 26 import org.tmatesoft.hg.util.ProgressSupport; | 26 import org.tmatesoft.hg.util.ProgressSupport; | 
| 27 | 27 | 
| 121 | 121 | 
| 122 public Dump(HgRepository hgRepo) { | 122 public Dump(HgRepository hgRepo) { | 
| 123 super(hgRepo); | 123 super(hgRepo); | 
| 124 } | 124 } | 
| 125 | 125 | 
| 126 public void copy(FileRevision from, FileRevision to) { | 126 public void copy(HgFileRevision from, HgFileRevision to) { | 
| 127 System.out.printf("Got notified that %s(%s) was originally known as %s(%s)\n", to.getPath(), to.getRevision(), from.getPath(), from.getRevision()); | 127 System.out.printf("Got notified that %s(%s) was originally known as %s(%s)\n", to.getPath(), to.getRevision(), from.getPath(), from.getRevision()); | 
| 128 } | 128 } | 
| 129 } | 129 } | 
| 130 } | 130 } | 
