diff mercurial/parsers.c @ 18567:194e63c1ccb9

dirstate: move pure python dirstate packing to pure/parsers.py
author Siddharth Agarwal <sid0@fb.com>
date Thu, 17 Jan 2013 23:46:08 -0800
parents d1d5fdcc2d46
children 02ee846b246a
line wrap: on
line diff
--- a/mercurial/parsers.c	Tue Feb 05 16:22:53 2013 -0800
+++ b/mercurial/parsers.c	Thu Jan 17 23:46:08 2013 -0800
@@ -326,7 +326,8 @@
 		if (getintat(v, 3, &mtime) == -1)
 			goto bail;
 		if (*s == 'n' && mtime == (uint32_t)now) {
-			/* See dirstate.py:write for why we do this. */
+			/* See pure/parsers.py:pack_dirstate for why we do
+			 * this. */
 			if (PyDict_SetItem(map, k, dirstate_unset) == -1)
 				goto bail;
 			mode = 0, size = -1, mtime = -1;