comparison src/org/tmatesoft/hg/repo/WorkingCopyStatusCollector.java @ 91:c2ce1cfaeb9e

ignore file with regex and 'honest' glob support
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 27 Jan 2011 06:06:42 +0100
parents a95c700408a9
children d55d4eedfc57
comparison
equal deleted inserted replaced
90:a95c700408a9 91:c2ce1cfaeb9e
67 return dirstate; 67 return dirstate;
68 } 68 }
69 69
70 // may be invoked few times 70 // may be invoked few times
71 public void walk(int baseRevision, StatusCollector.Inspector inspector) { 71 public void walk(int baseRevision, StatusCollector.Inspector inspector) {
72 final HgIgnore hgIgnore = repo.loadIgnore(); 72 final HgIgnore hgIgnore = repo.getIgnore();
73 TreeSet<String> knownEntries = getDirstate().all(); 73 TreeSet<String> knownEntries = getDirstate().all();
74 final boolean isTipBase; 74 final boolean isTipBase;
75 if (baseRevision == TIP) { 75 if (baseRevision == TIP) {
76 baseRevision = repo.getManifest().getRevisionCount() - 1; 76 baseRevision = repo.getManifest().getRevisionCount() - 1;
77 isTipBase = true; 77 isTipBase = true;