Mercurial > hg4j
comparison cmdline/org/tmatesoft/hg/console/Main.java @ 481:a458f9fb00ce
Access to user-supplied message of last commit
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 07 Aug 2012 14:02:28 +0200 |
parents | 59b7c817bc4d |
children | e31e85cf4d4c |
comparison
equal
deleted
inserted
replaced
480:f3fab7a20841 | 481:a458f9fb00ce |
---|---|
107 System.out.println("REPO:" + hgRepo.getLocation()); | 107 System.out.println("REPO:" + hgRepo.getLocation()); |
108 } | 108 } |
109 | 109 |
110 public static void main(String[] args) throws Exception { | 110 public static void main(String[] args) throws Exception { |
111 Main m = new Main(args); | 111 Main m = new Main(args); |
112 m.dumpCommitLastMessage(); | |
112 // m.buildFileLog(); | 113 // m.buildFileLog(); |
113 // m.testConsoleLog(); | 114 // m.testConsoleLog(); |
114 // m.testTreeTraversal(); | 115 // m.testTreeTraversal(); |
115 // m.testRevisionMap(); | 116 // m.testRevisionMap(); |
116 // m.testSubrepos(); | 117 // m.testSubrepos(); |
126 // m.testStatusInternals(); | 127 // m.testStatusInternals(); |
127 // m.catCompleteHistory(); | 128 // m.catCompleteHistory(); |
128 // m.dumpCompleteManifestLow(); | 129 // m.dumpCompleteManifestLow(); |
129 // m.dumpCompleteManifestHigh(); | 130 // m.dumpCompleteManifestHigh(); |
130 // m.bunchOfTests(); | 131 // m.bunchOfTests(); |
132 } | |
133 | |
134 private void dumpCommitLastMessage() throws Exception { | |
135 System.out.println(hgRepo.getCommitLastMessage()); | |
131 } | 136 } |
132 | 137 |
133 private void buildFileLog() throws Exception { | 138 private void buildFileLog() throws Exception { |
134 final long start = System.nanoTime(); | 139 final long start = System.nanoTime(); |
135 HgLogCommand cmd = new HgLogCommand(hgRepo); | 140 HgLogCommand cmd = new HgLogCommand(hgRepo); |