diff hgext/convert/__init__.py @ 7231:8e7130a10f3b

convert: ignore hg source errors with hg.ignoreerrors (issue 1357) This flag makes missing revlog errors to be ignored which allow broken repositories to be fixed by converting them from and to Mercurial.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 21 Oct 2008 21:24:47 +0200
parents aff204c9bdd6
children db6fbb785800
line wrap: on
line diff
--- a/hgext/convert/__init__.py	Thu Oct 23 14:56:16 2008 -0500
+++ b/hgext/convert/__init__.py	Tue Oct 21 21:24:47 2008 +0200
@@ -85,6 +85,10 @@
     Mercurial Source
     -----------------
 
+    --config convert.hg.ignoreerrors=False (boolean) 
+        ignore integrity errors when reading. Use it to fix Mercurial
+        repositories with missing revlogs, by converting from and to
+        Mercurial.
     --config convert.hg.saverev=True          (boolean)
         allow target to preserve source revision ID
     --config convert.hg.startrev=0            (hg revision identifier)