diff MoinMoin/action/SyncPages.py @ 1262:16bed977b054

Added support for underlay page ignore and prefix filtering in getAllPagesEx, transmit the page list filtered by prefix. Ignore underlay pages in general.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sat, 12 Aug 2006 22:53:48 +0200
parents ae9eb32b6899
children e313c2187271
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sat Aug 12 22:30:49 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Sat Aug 12 22:53:48 2006 +0200
@@ -139,11 +139,11 @@
 
         m_pages = [elem.add_missing_pagename(local, remote) for elem in SyncPage.merge(l_pages, r_pages)]
 
-        print "Got %i local, %i remote pages, %i merged pages" % (len(l_pages), len(r_pages), len(m_pages))
-        
+        print "Got %i local, %i remote pages, %i merged pages" % (len(l_pages), len(r_pages), len(m_pages)) # XXX remove
+
         if params["pageMatch"]:
             m_pages = SyncPage.filter(m_pages, params["pageMatch"].match)
-        print "After filtering: Got %i merges pages" % (len(m_pages), )
+        print "After filtering: Got %i merges pages" % (len(m_pages), ) # XXX remove
 
         on_both_sides = list(SyncPage.iter_local_and_remote(m_pages))
         remote_but_not_local = list(SyncPage.iter_remote_only(m_pages))