sapling/hgext3rd/lfs
Jun Wu a82574317b lfs: upload blobs during 'hg bundle'
Summary:
When a bundle is created, the bundle could be exchanged via copy and possibly
eventually reach to a publishing repo. If we don't upload LFS blobs, hg server
could have revisions that can never be checked out or verified.

So let's just assume bundles generated by `hg bundle` will be public, and
upload LFS blobs automatically, without depending on other code review tooling.

Note: there is a `preoutgoing` hook which will be triggered in this case,
however it's not useful since it does not have the `outgoing` information.

Test Plan: Will add a new test

Reviewers: davidsp, #mercurial, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5050945

Signature: t1:5050945:1494958648:0c46ab1d85755838ba189bbb1e0673882922bb58
2017-05-16 15:49:32 -07:00
..
__init__.py lfs: upload blobs during 'hg bundle' 2017-05-16 15:49:32 -07:00
blobstore.py lfs: cleanup file headers 2017-05-16 15:44:06 -07:00
pointer.py lfs: cleanup file headers 2017-05-16 15:44:06 -07:00
wrapper.py lfs: upload blobs during 'hg bundle' 2017-05-16 15:49:32 -07:00