diff --git a/mercurial/commands.py b/mercurial/commands.py index 406181ee335fe42dd2d5d1e6c5a310b5b8b7a10a_bWVyY3VyaWFsL2NvbW1hbmRzLnB5..e6d01239f77969a8452bbaefc8093be7315352e9_bWVyY3VyaWFsL2NvbW1hbmRzLnB5 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2363,7 +2363,7 @@ finally: l.release() else: - for m in obsolete.allmarkers(repo): + for m in obsolete.getmarkers(repo): cmdutil.showmarker(ui, m) @command('debugpathcomplete', diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py index 406181ee335fe42dd2d5d1e6c5a310b5b8b7a10a_bWVyY3VyaWFsL29ic29sZXRlLnB5..e6d01239f77969a8452bbaefc8093be7315352e9_bWVyY3VyaWFsL29ic29sZXRlLnB5 100644 --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -494,8 +494,8 @@ finally: lock.release() -def allmarkers(repo): - """all obsolete markers known in a repository""" +def getmarkers(repo): + """returns markers known in a repository""" for markerdata in repo.obsstore: yield marker(repo, markerdata)