comparison hgext/largefiles/reposetup.py @ 43586:d77e8800790b

largefiles: delete unused repo.status_nolfiles() Differential Revision: https://phab.mercurial-scm.org/D7142
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 18 Oct 2019 22:08:20 -0700
parents 99b881195abf
children 7f4d58c21aec
comparison
equal deleted inserted replaced
43585:99b881195abf 43586:d77e8800790b
36 class lfilesrepo(repo.__class__): 36 class lfilesrepo(repo.__class__):
37 # the mark to examine whether "repo" object enables largefiles or not 37 # the mark to examine whether "repo" object enables largefiles or not
38 _largefilesenabled = True 38 _largefilesenabled = True
39 39
40 lfstatus = False 40 lfstatus = False
41
42 def status_nolfiles(self, *args, **kwargs):
43 return super(lfilesrepo, self).status(*args, **kwargs)
44 41
45 # When lfstatus is set, return a context that gives the names 42 # When lfstatus is set, return a context that gives the names
46 # of largefiles instead of their corresponding standins and 43 # of largefiles instead of their corresponding standins and
47 # identifies the largefiles as always binary, regardless of 44 # identifies the largefiles as always binary, regardless of
48 # their actual contents. 45 # their actual contents.