comparison src/com/tmate/hgkit/console/Status.java @ 57:8b0d6f1bd6b4

Local status is back
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 17 Jan 2011 05:54:25 +0100
parents 576d6e8a09f6
children 4cfc47bc14cc
comparison
equal deleted inserted replaced
56:576d6e8a09f6 57:8b0d6f1bd6b4
46 sortAndPrint('A', r.getAdded()); 46 sortAndPrint('A', r.getAdded());
47 sortAndPrint('R', r.getRemoved()); 47 sortAndPrint('R', r.getRemoved());
48 // 48 //
49 System.out.println("\n\nTry hg status --change <rev>:"); 49 System.out.println("\n\nTry hg status --change <rev>:");
50 sc.change(0, dump); 50 sc.change(0, dump);
51 // System.out.println("\nStatus against working dir:"); 51 System.out.println("\nStatus against working dir:");
52 // ((LocalHgRepo) hgRepo).statusLocal(TIP, dump); 52 ((LocalHgRepo) hgRepo).statusLocal(TIP, dump);
53 // System.out.println(); 53 System.out.println();
54 // System.out.printf("Manifest of the revision %d:\n", r2); 54 System.out.printf("Manifest of the revision %d:\n", r2);
55 // hgRepo.getManifest().walk(r2, r2, new Manifest.Dump()); 55 hgRepo.getManifest().walk(r2, r2, new Manifest.Dump());
56 // System.out.println(); 56 System.out.println();
57 // System.out.printf("\nStatus of working dir against %d:\n", r2); 57 System.out.printf("\nStatus of working dir against %d:\n", r2);
58 // ((LocalHgRepo) hgRepo).statusLocal(r2, dump); 58 ((LocalHgRepo) hgRepo).statusLocal(r2, dump);
59 } 59 }
60 60
61 private static void sortAndPrint(char prefix, List<String> ul) { 61 private static void sortAndPrint(char prefix, List<String> ul) {
62 ArrayList<String> sortList = new ArrayList<String>(ul); 62 ArrayList<String> sortList = new ArrayList<String>(ul);
63 Collections.sort(sortList); 63 Collections.sort(sortList);