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

login
register
mail settings
Submitter Siddharth Agarwal
Date May 28, 2014, 5:05 a.m.
Message ID <bd159c3071e91c5764e2.1401253518@dev1738.prn1.facebook.com>
Download mbox | patch
Permalink /patch/4877/
State Superseded
Headers show

Comments

Siddharth Agarwal - May 28, 2014, 5:05 a.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@fb.com>
# Date 1401229343 25200
#      Tue May 27 15:22:23 2014 -0700
# Node ID bd159c3071e91c5764e255253e2cec1eb703006f
# Parent  56c3003308932542cb37fc905aade2d489712162
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)