Mercurial > hg4j
diff src/org/tmatesoft/hg/core/Nodeid.java @ 125:26ad21b250e4
Explicit op to tell merge revisions
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 15 Feb 2011 06:40:36 +0100 |
parents | a3a2e5deb320 |
children | 1a7a9a20e1f9 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/Nodeid.java Tue Feb 15 06:30:05 2011 +0100 +++ b/src/org/tmatesoft/hg/core/Nodeid.java Tue Feb 15 06:40:36 2011 +0100 @@ -62,7 +62,7 @@ @Override public boolean equals(Object o) { if (o instanceof Nodeid) { - return Arrays.equals(this.binaryData, ((Nodeid) o).binaryData); + return this == o || equalsTo(((Nodeid) o).binaryData); } return false; }