Support for largefiles extension

Create issue
Issue #333 new
Ben Challenor created an issue

Issue #278 mentions bfiles and it was closed as wontfix, but this was before the largefiles extension was chosen to be distributed with hg.

Currently I can of course pull from svn into hg and then run lfconvert, but the repo can no longer be updated with hgsubversion. Presumably this is because the commit hashes are different to what hgsubversion expects.

Are there any plans to support the largefiles extension in hgsubversion?


Comments (3)

  1. Augie Fackler repo owner

    There are no plans. I'd be open to well-tested patches, but I don't use hgsubversion on a daily basis anymore other than for one-shot conversions or small OSS projects, so I'm not going to feel this pain.

  2. maugustin

    Hi Augie,

    How about this hack? I just checked in hggit the implementation of gitrepo.heads and tested this in hgsubversion. It's working but what are the problems comming with this change? I don't know much about the architecture and functionality of mercurial extensions and the heads function.

    # HG changeset patch
    # Parent a834f36982337810a9ac5a01b0a5fb7987ff8046
    allow push also with largefile ext enabled
    diff --git a/hgsubversion/ b/hgsubversion/
    --- a/hgsubversion/
    +++ b/hgsubversion/
    @@ -175,7 +175,8 @@
             Whenever this function is hit, we abort. The traceback is useful for
             figuring out where to intercept the functionality.
    -        raise hgutil.Abort('command unavailable for Subversion repositories')
    +        return []
    +        #raise hgutil.Abort('command unavailable for Subversion repositories')
         def pushkey(self, namespace, key, old, new):
             return False
  3. Log in to comment