[PATCH 2 of 5 V2] parsers: remove no longer used dirstate_unset

Siddharth Agarwal sid0 at fb.com
Thu May 29 18:19:17 CDT 2014


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1401229343 25200
#      Tue May 27 15:22:23 2014 -0700
# Node ID c8b554d5951988222aeab65ef56eaf291c2ec930
# Parent  2c2127948317ee1615b4d3f2bbd458937b2bc08a
parsers: remove no longer used dirstate_unset

diff --git a/mercurial/parsers.c b/mercurial/parsers.c
--- a/mercurial/parsers.c
+++ b/mercurial/parsers.c
@@ -253,8 +253,6 @@
 	return 0;
 }
 
-static PyObject *dirstate_unset;
-
 /*
  * Efficiently pack a dirstate object into its on-disk format.
  */
@@ -2037,8 +2035,6 @@
 				  -1, -1, -1, -1, nullid, 20);
 	if (nullentry)
 		PyObject_GC_UnTrack(nullentry);
-
-	dirstate_unset = Py_BuildValue("ciii", 'n', 0, -1, -1);
 }
 
 static int check_python_version(void)


More information about the Mercurial-devel mailing list