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

login
register
mail settings
Submitter Siddharth Agarwal
Date May 29, 2014, 11:19 p.m.
Message ID <c8b554d5951988222aea.1401405557@dev1738.prn1.facebook.com>
Download mbox | patch
Permalink /patch/4898/
State Accepted
Commit a96a3d1261c600265e91dbb53d20b6bf5f3a8453
Headers show

Comments

Siddharth Agarwal - May 29, 2014, 11:19 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@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

Patch

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)