Closed GoogleCodeExporter closed 8 years ago
To reproduce:
hg update -r <prev-rev>
java oth.console.Status
Modifications are reported unless any other native mercurial client command
runs (i.e. no time interval)
'hg debugstate' suggests
n 666 14812 2011-04-14 10:41:30 src/org/tmatesoft/hg/repo/HgBundle.java
n 0 -1 unset src/org/tmatesoft/hg/repo/HgChangelog.java
the reason might be in processing of certain dirstate fields.
Original comment by tikhomir...@gmail.com
on 25 Aug 2011 at 2:21
There are few bugs:
a) HgWorkingCopyStatusCollector didn't respect dirstate may point to anything
but tip
b) dirstate entries with size == -1 shall not be automatically treated as
modified
c) fileNode.length() gives incorrect results for first revision of a file that
is a copy (returned value includes size of the copy metadata). With incorrect
revision length, false Modified status is reported then.
Original comment by tikhomir...@gmail.com
on 25 Aug 2011 at 3:28
fileNode.length now respects metadata, HgWCStatusCollector respects dirstate
parents.
Original comment by tikhomir...@gmail.com
on 25 Aug 2011 at 7:39
Original issue reported on code.google.com by
tikhomir...@gmail.com
on 11 Aug 2011 at 3:33