Commits

Anonymous committed aa2e589

NPE in HgWCStatusCollector:initDirstateParentManifest (aka AssertionError in HgDirstate:parents())

  • Participants
  • Parent commits a2341e7

Comments (0)

Files changed (1)

File src/org/tmatesoft/hg/repo/HgDirstate.java

 
 	/*package-local*/ void read() throws HgInvalidControlFileException {
 		normal = added = removed = merged = Collections.<Path, Record>emptyMap();
+		parents = new Pair<Nodeid,Nodeid>(Nodeid.NULL, Nodeid.NULL);
 		if (canonicalPathRewrite != null) {
 			canonical2dirstateName = new HashMap<Path,Path>();
 		} else {