changeset 14594:3752b5e1f4c4

mq: rename write_list to writelist
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 13 Jun 2011 13:47:21 +0200
parents 599a72895c0d
children f2c9d4091e0e
files hgext/mq.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Mon Jun 13 13:45:48 2011 +0200
+++ b/hgext/mq.py	Mon Jun 13 13:47:21 2011 +0200
@@ -490,17 +490,17 @@
                           self.series[idx])
 
     def savedirty(self):
-        def write_list(items, path):
+        def writelist(items, path):
             fp = self.opener(path, 'w')
             for i in items:
                 fp.write("%s\n" % i)
             fp.close()
         if self.applieddirty:
-            write_list(map(str, self.applied), self.statuspath)
+            writelist(map(str, self.applied), self.statuspath)
         if self.seriesdirty:
-            write_list(self.fullseries, self.seriespath)
+            writelist(self.fullseries, self.seriespath)
         if self.guardsdirty:
-            write_list(self.activeguards, self.guardspath)
+            writelist(self.activeguards, self.guardspath)
         if self.added:
             qrepo = self.qrepo()
             if qrepo: