changeset 167:cb5beb432e78

nicer and more descriptive comment
author Scott Chacon <schacon@gmail.com>
date Mon, 01 Jun 2009 15:15:43 -0700
parents 405a915bf352
children 8bfa8aa6b68f
files hgrepo.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgrepo.py	Mon Jun 01 15:10:01 2009 -0700
+++ b/hgrepo.py	Mon Jun 01 15:15:43 2009 -0700
@@ -38,7 +38,9 @@
             tr = self.transaction()
             trp = weakref.proxy(tr)
 
-            # retarded.  this is retarded.
+            # looking for files that have not actually changed content-wise,
+            # but have different nodeids because they were changed and then
+            # reverted, so they have changed in the revlog.
             for f in m1:
                 if (f in m2) and (not f in commit) and (not m1[f] == m2[f]):
                     commit.append(f)