Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Log.java @ 198:33a7d76f067b
Performance optimization: reduce memory to keep revlog cached info
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 20 Apr 2011 05:40:14 +0200 |
parents | 3a7696fb457c |
children | 63c9fed4369e |
comparison
equal
deleted
inserted
replaced
197:3a7696fb457c | 198:33a7d76f067b |
---|---|
45 return; | 45 return; |
46 } | 46 } |
47 final Dump dump = new Dump(hgRepo); | 47 final Dump dump = new Dump(hgRepo); |
48 dump.complete = cmdLineOpts.getBoolean("--debug"); | 48 dump.complete = cmdLineOpts.getBoolean("--debug"); |
49 dump.verbose = cmdLineOpts.getBoolean("-v", "--verbose"); | 49 dump.verbose = cmdLineOpts.getBoolean("-v", "--verbose"); |
50 dump.reverseOrder = false; | 50 dump.reverseOrder = true; |
51 HgLogCommand cmd = new HgLogCommand(hgRepo); | 51 HgLogCommand cmd = new HgLogCommand(hgRepo); |
52 for (String u : cmdLineOpts.getList("-u", "--user")) { | 52 for (String u : cmdLineOpts.getList("-u", "--user")) { |
53 cmd.user(u); | 53 cmd.user(u); |
54 } | 54 } |
55 for (String b : cmdLineOpts.getList("-b", "--branches")) { | 55 for (String b : cmdLineOpts.getList("-b", "--branches")) { |