Mercurial > jhg
comparison src/com/tmate/hgkit/ll/LocalHgRepo.java @ 24:d4fdd1845b3f
Nodeid with array of exactly 20 bytes
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 04:42:15 +0100 |
parents | 603806cd2dc6 |
children | f1db8610da62 |
comparison
equal
deleted
inserted
replaced
23:6f9aca1a97be | 24:d4fdd1845b3f |
---|---|
61 Nodeid nidR1 = collect.idsMap.remove(fname); | 61 Nodeid nidR1 = collect.idsMap.remove(fname); |
62 String flagsR1 = collect.flagsMap.remove(fname); | 62 String flagsR1 = collect.flagsMap.remove(fname); |
63 if (nidR1 == null) { | 63 if (nidR1 == null) { |
64 inspector.added(fname); | 64 inspector.added(fname); |
65 } else { | 65 } else { |
66 if (nidR1.compareTo(nid) == 0 && ((flags == null && flagsR1 == null) || flags.equals(flagsR1))) { | 66 if (nidR1.equals(nid) && ((flags == null && flagsR1 == null) || flags.equals(flagsR1))) { |
67 inspector.clean(fname); | 67 inspector.clean(fname); |
68 } else { | 68 } else { |
69 inspector.modified(fname); | 69 inspector.modified(fname); |
70 } | 70 } |
71 } | 71 } |