diff mercurial/debugcommands.py @ 33154:4e30168d7939

obsutil: move the 'marker' class to the new modules We have a new 'obsutil' module now. We move high level utility there to bring 'obsolete.py' back to a more reasonable size.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 27 Jun 2017 01:51:40 +0200
parents 4f49810a1011
children a14e2e7f7d1f
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Tue Jun 27 01:48:41 2017 +0200
+++ b/mercurial/debugcommands.py	Tue Jun 27 01:51:40 2017 +0200
@@ -307,7 +307,7 @@
         ui.write(msg)
         fm = ui.formatter('debugobsolete', opts)
         for rawmarker in sorted(markers):
-            m = obsolete.marker(None, rawmarker)
+            m = obsutil.marker(None, rawmarker)
             fm.startitem()
             fm.plain(indent_string)
             cmdutil.showmarker(fm, m)