comparison cmdline/org/tmatesoft/hg/console/Status.java @ 157:d5268ca7715b

Merged branch wrap-data-access into default for resource-friendly data access. Updated API to promote that friendliness to clients (channels, not byte[]). More exceptions
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 09 Mar 2011 05:22:17 +0100
parents b9700740553a
children 23e3ea855097
comparison
equal deleted inserted replaced
156:643ddec3be36 157:d5268ca7715b
46 System.err.printf("Can't find repository in: %s\n", hgRepo.getRepository().getLocation()); 46 System.err.printf("Can't find repository in: %s\n", hgRepo.getRepository().getLocation());
47 return; 47 return;
48 } 48 }
49 // 49 //
50 HgStatusCommand cmd = hgRepo.createStatusCommand(); 50 HgStatusCommand cmd = hgRepo.createStatusCommand();
51 if (cmdLineOpts.getBoolean("-A", "-all")) { 51 if (cmdLineOpts.getBoolean("-A", "--all")) {
52 cmd.all(); 52 cmd.all();
53 } else { 53 } else {
54 // default: mardu 54 // default: mardu
55 cmd.modified(cmdLineOpts.getBoolean(true, "-m", "--modified")); 55 cmd.modified(cmdLineOpts.getBoolean(true, "-m", "--modified"));
56 cmd.added(cmdLineOpts.getBoolean(true, "-a", "--added")); 56 cmd.added(cmdLineOpts.getBoolean(true, "-a", "--added"));