##// END OF EJS Templates
largefiles: reduce indentation by dropping 'else' block after 'return'
Martin von Zweigbergk -
r22515:b4e251b7 default
parent child Browse files
Show More
@@ -86,7 +86,7 b' def reposetup(ui, repo):'
86 if not self.lfstatus:
86 if not self.lfstatus:
87 return super(lfilesrepo, self).status(node1, node2, match,
87 return super(lfilesrepo, self).status(node1, node2, match,
88 listignored, listclean, listunknown, listsubrepos)
88 listignored, listclean, listunknown, listsubrepos)
89 else:
89
90 # some calls in this function rely on the old version of status
90 # some calls in this function rely on the old version of status
91 self.lfstatus = False
91 self.lfstatus = False
92 ctx1 = self[node1]
92 ctx1 = self[node1]
@@ -228,8 +228,7 b' def reposetup(ui, repo):'
228 normals = [[fn for fn in filelist
228 normals = [[fn for fn in filelist
229 if not lfutil.isstandin(fn)]
229 if not lfutil.isstandin(fn)]
230 for filelist in result]
230 for filelist in result]
231 lfiles = (modified, added, removed, missing, [], [],
231 lfiles = (modified, added, removed, missing, [], [], clean)
232 clean)
233 result = [sorted(list1 + list2)
232 result = [sorted(list1 + list2)
234 for (list1, list2) in zip(normals, lfiles)]
233 for (list1, list2) in zip(normals, lfiles)]
235 else:
234 else:
General Comments 0
You need to be logged in to leave comments. Login now