Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGd77e8800790b: largefiles: delete unused repo.status_nolfiles()
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
pulkit |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/largefiles/reposetup.py (3 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
ee736a53517a | 204b81d83935 | Martin von Zweigbergk | Oct 19 2019, 1:08 AM |
Status | Author | Revision | |
---|---|---|---|
Abandoned | martinvonz | ||
Abandoned | martinvonz | ||
Abandoned | martinvonz | ||
Abandoned | martinvonz | ||
Closed | martinvonz | ||
Closed | martinvonz | ||
Closed | martinvonz | ||
Closed | martinvonz | ||
Closed | martinvonz | ||
Closed | martinvonz |
return | return | ||||
class lfilesrepo(repo.__class__): | class lfilesrepo(repo.__class__): | ||||
# the mark to examine whether "repo" object enables largefiles or not | # the mark to examine whether "repo" object enables largefiles or not | ||||
_largefilesenabled = True | _largefilesenabled = True | ||||
lfstatus = False | lfstatus = False | ||||
def status_nolfiles(self, *args, **kwargs): | |||||
return super(lfilesrepo, self).status(*args, **kwargs) | |||||
# When lfstatus is set, return a context that gives the names | # When lfstatus is set, return a context that gives the names | ||||
# of largefiles instead of their corresponding standins and | # of largefiles instead of their corresponding standins and | ||||
# identifies the largefiles as always binary, regardless of | # identifies the largefiles as always binary, regardless of | ||||
# their actual contents. | # their actual contents. | ||||
def __getitem__(self, changeid): | def __getitem__(self, changeid): | ||||
ctx = super(lfilesrepo, self).__getitem__(changeid) | ctx = super(lfilesrepo, self).__getitem__(changeid) | ||||
if self.lfstatus: | if self.lfstatus: | ||||