# HG changeset patch # User Matt Harbison # Date 2017-11-23 06:21:10 # Node ID 4abfe416925978cce11c0a131801c818d2fd67ba # Parent f8f939a2926c64963a47f58845acca3022ee2a0e largefiles: explicitly set the source and sink types to 'hg' for lfconvert I stumbled into this prior to adding the type indicator on the source and sink, but there's no reason to try to infer the types for this conversion. diff --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py +++ b/hgext/largefiles/lfcommands.py @@ -177,7 +177,7 @@ def lfconvert(ui, src, dest, *pats, **op convcmd.converter = converter try: - convcmd.convert(ui, src, dest) + convcmd.convert(ui, src, dest, source_type='hg', dest_type='hg') finally: convcmd.converter = orig success = True