Patchwork D7174: largefiles: delete obsolete and unushed repo.push()

login
register
mail settings
Submitter phabricator
Date Oct. 25, 2019, 3:38 a.m.
Message ID <09e55e210fe3eefbe3f504b5b0e7bc12@localhost.localdomain>
Download mbox | patch
Permalink /patch/42586/
State Not Applicable
Headers show

Comments

phabricator - Oct. 25, 2019, 3:38 a.m.
Closed by commit rHGfb5c72501de2: largefiles: delete obsolete and unushed repo.push() (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7174?vs=17398&id=17407

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7174/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7174

AFFECTED FILES
  hgext/largefiles/reposetup.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py
+++ b/hgext/largefiles/reposetup.py
@@ -360,20 +360,6 @@ 
                 )
                 return result
 
-        def push(self, remote, force=False, revs=None, newbranch=False):
-            if remote.local():
-                missing = set(self.requirements) - remote.local().supported
-                if missing:
-                    msg = _(
-                        b"required features are not"
-                        b" supported in the destination:"
-                        b" %s"
-                    ) % (b', '.join(sorted(missing)))
-                    raise error.Abort(msg)
-            return super(lfilesrepo, self).push(
-                remote, force=force, revs=revs, newbranch=newbranch
-            )
-
         # TODO: _subdirlfs should be moved into "lfutil.py", because
         # it is referred only from "lfutil.updatestandinsbymatch"
         def _subdirlfs(self, files, lfiles):