( )⚙ D4712 lfs: don't add extension to hgrc after clone or share (BC)

This is an archive of the discontinued Mercurial Phabricator instance.

lfs: don't add extension to hgrc after clone or share (BC)
ClosedPublic

Authored by indygreg on Sep 24 2018, 12:12 PM.

Details

Summary

Now that repository loading in core supports automatically loading
the lfs extension when the "lfs" requirement is present, we no
longer need to update the .hg/hgrc of newly-created repos to load
the lfs extension!

I'm marking this as BC because it is a change in behavior. But users
should not notice unless they create an LFS repo with new Mercurial
and then attempt to use it with an old versions that doesn't support
automatic extension loading.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Sep 24 2018, 12:12 PM
mharbison72 accepted this revision.Sep 25 2018, 12:28 AM
mharbison72 added a subscriber: mharbison72.

LGTM, thanks.

hgext/lfs/wrapper.py
211

The convert wrapper updates .hgrc too.

This revision was automatically updated to reflect the committed changes.