changeset 899:c2a3e35cdc2f storage-ng

global_history revno for comment fixed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 27 Sep 2011 22:50:16 +0200
parents 32c57b84512f
children 24d7fb1b59c9
files MoinMoin/apps/frontend/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/frontend/views.py	Tue Sep 27 22:42:39 2011 +0200
+++ b/MoinMoin/apps/frontend/views.py	Tue Sep 27 22:50:16 2011 +0200
@@ -776,7 +776,7 @@
             comment = doc.get(COMMENT)
             if comment:
                 comment = "#%(revno)d %(comment)s" % {
-                          'revno': rev_no,
+                          'revno': revnos.index(rev_no),
                           'comment': comment
                           }
                 comments.append(comment)