diff --git a/mercurial/repair.py b/mercurial/repair.py --- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -237,7 +237,7 @@ def rebuildfncache(ui, repo): if 'fncache' not in repo.requirements: ui.warn(_('(not rebuilding fncache because repository does not ' - 'support fncache\n')) + 'support fncache)\n')) return lock = repo.lock() diff --git a/tests/test-fncache.t b/tests/test-fncache.t --- a/tests/test-fncache.t +++ b/tests/test-fncache.t @@ -308,7 +308,7 @@ debugrebuildfncache does nothing unless $ hg --config format.usefncache=false init nofncache $ cd nofncache $ hg debugrebuildfncache - (not rebuilding fncache because repository does not support fncache + (not rebuilding fncache because repository does not support fncache) $ cd ..