hgext/convert/convcmd.py
changeset 6976 b072266a83d1
parent 6956 12472a240398
child 7053 209ef5f3534c
equal deleted inserted replaced
6975:5e1a867e5d65 6976:b072266a83d1
    51         except (NoRepo, MissingTool), inst:
    51         except (NoRepo, MissingTool), inst:
    52             exceptions.append(inst)
    52             exceptions.append(inst)
    53     if not ui.quiet:
    53     if not ui.quiet:
    54         for inst in exceptions:
    54         for inst in exceptions:
    55             ui.write("%s\n" % inst)
    55             ui.write("%s\n" % inst)
    56     raise util.Abort(_('%s: unknown repository type') % path)
    56     raise util.Abort(_('%s: missing or unsupported repository') % path)
    57 
    57 
    58 def convertsink(ui, path, type):
    58 def convertsink(ui, path, type):
    59     for name, sink in sink_converters:
    59     for name, sink in sink_converters:
    60         try:
    60         try:
    61             if not type or name == type:
    61             if not type or name == type: