##// END OF EJS Templates
treemanifests: skip extraneous check for item before calling _loadlazy...
spectral -
r40019:3cacb74c default
parent child Browse files
Show More
@@ -817,7 +817,6 class treemanifest(object):
817 817 self._load()
818 818 dir, subpath = _splittopdir(f)
819 819 if dir:
820 if dir in self._lazydirs:
821 820 self._loadlazy(dir)
822 821
823 822 if dir not in self._dirs:
@@ -831,7 +830,6 class treemanifest(object):
831 830 self._load()
832 831 dir, subpath = _splittopdir(f)
833 832 if dir:
834 if dir in self._lazydirs:
835 833 self._loadlazy(dir)
836 834
837 835 if dir not in self._dirs:
@@ -844,7 +842,6 class treemanifest(object):
844 842 self._load()
845 843 dir, subpath = _splittopdir(f)
846 844 if dir:
847 if dir in self._lazydirs:
848 845 self._loadlazy(dir)
849 846
850 847 return self._dirs[dir].__getitem__(subpath)
@@ -855,7 +852,6 class treemanifest(object):
855 852 self._load()
856 853 dir, subpath = _splittopdir(f)
857 854 if dir:
858 if dir in self._lazydirs:
859 855 self._loadlazy(dir)
860 856
861 857 if dir not in self._dirs:
@@ -870,7 +866,6 class treemanifest(object):
870 866 self._load()
871 867 dir, subpath = _splittopdir(f)
872 868 if dir:
873 if dir in self._lazydirs:
874 869 self._loadlazy(dir)
875 870
876 871 return self._dirs[dir].find(subpath)
@@ -881,7 +876,6 class treemanifest(object):
881 876 self._load()
882 877 dir, subpath = _splittopdir(f)
883 878 if dir:
884 if dir in self._lazydirs:
885 879 self._loadlazy(dir)
886 880
887 881 self._dirs[dir].__delitem__(subpath)
@@ -899,7 +893,6 class treemanifest(object):
899 893 self._load()
900 894 dir, subpath = _splittopdir(f)
901 895 if dir:
902 if dir in self._lazydirs:
903 896 self._loadlazy(dir)
904 897 if dir not in self._dirs:
905 898 self._dirs[dir] = treemanifest(self._subpath(dir))
@@ -921,7 +914,6 class treemanifest(object):
921 914 self._load()
922 915 dir, subpath = _splittopdir(f)
923 916 if dir:
924 if dir in self._lazydirs:
925 917 self._loadlazy(dir)
926 918 if dir not in self._dirs:
927 919 self._dirs[dir] = treemanifest(self._subpath(dir))
@@ -993,7 +985,6 class treemanifest(object):
993 985 self._load()
994 986 topdir, subdir = _splittopdir(dir)
995 987 if topdir:
996 if topdir in self._lazydirs:
997 988 self._loadlazy(topdir)
998 989 if topdir in self._dirs:
999 990 return self._dirs[topdir].hasdir(subdir)
General Comments 0
You need to be logged in to leave comments. Login now