Mercurial > jhg
diff src/com/tmate/hgkit/console/Status.java @ 59:b771e94a4f7c
Introduce Internals to keep LocalHgRepo casts and alike in a single place. WCSC optionally to reuse SC data
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 18 Jan 2011 00:08:15 +0100 |
parents | 4cfc47bc14cc |
children |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/console/Status.java Mon Jan 17 23:01:19 2011 +0100 +++ b/src/com/tmate/hgkit/console/Status.java Tue Jan 18 00:08:15 2011 +0100 @@ -12,6 +12,7 @@ import com.tmate.hgkit.fs.RepositoryLookup; import com.tmate.hgkit.ll.HgDataFile; import com.tmate.hgkit.ll.HgRepository; +import com.tmate.hgkit.ll.Internals; import com.tmate.hgkit.ll.LocalHgRepo; import com.tmate.hgkit.ll.Nodeid; import com.tmate.hgkit.ll.StatusCollector; @@ -32,7 +33,8 @@ return; } System.out.println(hgRepo.getLocation()); - ((LocalHgRepo) hgRepo).loadDirstate().dump(); + Internals debug = new Internals(hgRepo); + debug.dumpDirstate(); final StatusDump dump = new StatusDump(); dump.showIgnored = false; dump.showClean = false;