hgkw/kwutil.py
branchdecodefilter
changeset 16 e29cf107baf2
parent 14 b60345141aa5
--- a/hgkw/kwutil.py	Fri Dec 15 01:14:58 2006 +0100
+++ b/hgkw/kwutil.py	Fri Dec 15 01:21:56 2006 +0100
@@ -8,14 +8,14 @@
 
     # get hex
     if tip:
-        parent1 = repo.changelog.tip()
+        p = repo.changelog.tip()
     else:
-        parent1 = repo.dirstate.parents()[0]
+        p = repo.dirstate.parents()[0]
 
     if not node:
-        node = repo.changectx(parent1)
+        node = repo.changectx(p)
 
-    user, date = repo.changelog.read(parent1)[1:3]
+    user, date = repo.changelog.read(p)[1:3]
     user = util.shortuser(user)
     date = util.datestr(date=date, format=util.defaultdateformats[0])
                                                # %Y-%m-%d %H:%M:%S