changeset 5438:bac3d5e9ffb9

moin maint globaledit: Added support of master-revision special comment (patch by MoinMoin:RenatoSilva)
author Eugene Syromyatnikov <evgsyr@gmail.com>
date Sat, 16 Jan 2010 18:14:32 +0300
parents 2c025e231b5f
children 282276752499
files MoinMoin/script/maint/globaledit.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/maint/globaledit.py	Sat Jan 16 07:01:45 2010 +0300
+++ b/MoinMoin/script/maint/globaledit.py	Sat Jan 16 18:14:32 2010 +0300
@@ -58,6 +58,8 @@
                 elif l.startswith('##master-page:'):
                     masterpage = l.split(':', 1)[1].strip()
                     master_lines.append(l)
+                elif l.startswith('##master-revision:'):
+                    master_lines.append(l)
                 elif l.startswith('##master-date:'):
                     master_lines.append(l)
                 elif l.startswith('##'):