##// END OF EJS Templates
status: pre-indent the dirstate status code...
marmoute -
r51028:21b6ce3a default
parent child Browse files
Show More
@@ -1899,25 +1899,26 b' class workingctx(committablectx):'
1899 1899 subrepos = []
1900 1900 if b'.hgsub' in self:
1901 1901 subrepos = sorted(self.substate)
1902 cmp, s, mtime_boundary = self._repo.dirstate.status(
1903 match, subrepos, ignored=ignored, clean=clean, unknown=unknown
1904 )
1905
1906 # check for any possibly clean files
1907 fixup = []
1908 if cmp:
1909 modified2, deleted2, clean_set, fixup = self._checklookup(
1910 cmp, mtime_boundary
1902 if True:
1903 cmp, s, mtime_boundary = self._repo.dirstate.status(
1904 match, subrepos, ignored=ignored, clean=clean, unknown=unknown
1911 1905 )
1912 s.modified.extend(modified2)
1913 s.deleted.extend(deleted2)
1914
1915 if clean_set and clean:
1916 s.clean.extend(clean_set)
1917 if fixup and clean:
1918 s.clean.extend((f for f, _ in fixup))
1919
1920 self._poststatusfixup(s, fixup)
1906
1907 # check for any possibly clean files
1908 fixup = []
1909 if cmp:
1910 modified2, deleted2, clean_set, fixup = self._checklookup(
1911 cmp, mtime_boundary
1912 )
1913 s.modified.extend(modified2)
1914 s.deleted.extend(deleted2)
1915
1916 if clean_set and clean:
1917 s.clean.extend(clean_set)
1918 if fixup and clean:
1919 s.clean.extend((f for f, _ in fixup))
1920
1921 self._poststatusfixup(s, fixup)
1921 1922
1922 1923 if match.always():
1923 1924 # cache for performance
General Comments 0
You need to be logged in to leave comments. Login now