diff hglib/context.py @ 99:2b36619ec0a0

client: add date field to revision
author Idan Kamara <idankk86@gmail.com>
date Tue, 17 Jan 2012 22:36:48 +0200
parents 4da6bb8abfcc
children 6e423f7c784f
line wrap: on
line diff
--- a/hglib/context.py	Tue Jan 17 22:24:24 2012 +0200
+++ b/hglib/context.py	Tue Jan 17 22:36:48 2012 +0200
@@ -1,6 +1,6 @@
 import client, util, templates
 
-_nullcset = ['-1', '000000000000000000000000000000000000000', '', '', '', '']
+_nullcset = ['-1', '000000000000000000000000000000000000000', '', '', '', '', '']
 
 class changectx(object):
     """A changecontext object makes access to data related to a particular
@@ -26,7 +26,7 @@
             cset = cset[0]
 
         self._rev, self._node, self._tags = cset[:3]
-        self._branch, self._author, self._description = cset[3:]
+        self._branch, self._author, self._description, self._date = cset[3:]
 
         self._rev = int(self._rev)