diff src/org/tmatesoft/hg/internal/ManifestRevision.java @ 538:dd4f6311af52

Commit: first working version
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 05 Feb 2013 22:30:21 +0100
parents 5a455624be4f
children 7743a9c10bfa
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/ManifestRevision.java	Tue Feb 05 20:06:22 2013 +0100
+++ b/src/org/tmatesoft/hg/internal/ManifestRevision.java	Tue Feb 05 22:30:21 2013 +0100
@@ -16,6 +16,8 @@
  */
 package org.tmatesoft.hg.internal;
 
+import static org.tmatesoft.hg.repo.HgRepository.NO_REVISION;
+
 import java.util.Collection;
 import java.util.TreeMap;
 
@@ -36,8 +38,8 @@
 	private final TreeMap<Path, HgManifest.Flags> flagsMap;
 	private final Convertor<Nodeid> idsPool;
 	private final Convertor<Path> namesPool;
-	private Nodeid manifestRev;
-	private int changelogRevIndex, manifestRevIndex;
+	private Nodeid manifestRev = Nodeid.NULL;
+	private int changelogRevIndex = NO_REVISION, manifestRevIndex = NO_REVISION;
 
 	// optional pools for effective management of nodeids and filenames (they are likely
 	// to be duplicated among different manifest revisions