[PATCH 1 of 2 STABLE] largefiles: fix a traceback in lfconvert if a largefile is missing (issue3519)

Matt Mackall mpm at selenic.com
Tue Oct 16 15:00:11 CDT 2012


On Sun, 2012-10-14 at 20:40 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1350240248 14400
> # Branch stable
> # Node ID 7511497ca804329869060fa2b37262e41640a8d8
> # Parent  605fe310691fbe1579ca8458f9f640d921ce3f1e
> largefiles: fix a traceback in lfconvert if a largefile is missing (issue3519)
> 
> The largefile may be missing for various reasons, including that a remote
> repository was cloned without the --all-largefiles option.  Therefore, it seems
> reasonable to attempt to download the missing files and failing that, abort and
> indicate the affected file and revision so the user can manually fix the
> problem.

> --- a/hgext/largefiles/lfcommands.py
> +++ b/hgext/largefiles/lfcommands.py
...
> -import lfutil
> +import lfutil, lfcommands

LOLWUT.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list