Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgStatus.java @ 418:528b6780a8bd
A bit of FIXME cleanup (mostly degraded to TODO post 1.0), comments and javadoc
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Mar 2012 21:02:20 +0100 |
parents | 5f9073eabf06 |
children | 9c9c442b5f2e |
comparison
equal
deleted
inserted
replaced
417:ccd7d25e5aea | 418:528b6780a8bd |
---|---|
89 if (cset == null) { | 89 if (cset == null) { |
90 File localFile = new File(logHelper.getRepo().getWorkingDir(), path.toString()); | 90 File localFile = new File(logHelper.getRepo().getWorkingDir(), path.toString()); |
91 if (localFile.canRead()) { | 91 if (localFile.canRead()) { |
92 return new Date(localFile.lastModified()); | 92 return new Date(localFile.lastModified()); |
93 } | 93 } |
94 // FIXME check dirstate and/or local file for tstamp | 94 // TODO post-1.0 find out what to do in this case, perhaps, throw an exception? |
95 return new Date(); // what's correct | 95 // perhaps check dirstate and/or local file for tstamp |
96 return new Date(); // what's correct? | |
96 } else { | 97 } else { |
97 return cset.date(); | 98 return cset.date(); |
98 } | 99 } |
99 } | 100 } |
100 } | 101 } |