1422 comparing the working directory against its parent, which is to skip |
1422 comparing the working directory against its parent, which is to skip |
1423 building a new manifest if self (working directory) is not comparing |
1423 building a new manifest if self (working directory) is not comparing |
1424 against its parent (repo['.']). |
1424 against its parent (repo['.']). |
1425 """ |
1425 """ |
1426 s = self._dirstatestatus(match, listignored, listclean, listunknown) |
1426 s = self._dirstatestatus(match, listignored, listclean, listunknown) |
|
1427 # Filter out symlinks that, in the case of FAT32 and NTFS filesytems, |
|
1428 # might have accidentally ended up with the entire contents of the file |
|
1429 # they are susposed to be linking to. |
|
1430 s[0] = self._filtersuspectsymlink(s[0]) |
1427 if other != self._repo['.']: |
1431 if other != self._repo['.']: |
1428 s = super(workingctx, self)._buildstatus(other, s, match, |
1432 s = super(workingctx, self)._buildstatus(other, s, match, |
1429 listignored, listclean, |
1433 listignored, listclean, |
1430 listunknown) |
1434 listunknown) |
1431 # Filter out symlinks that, in the case of FAT32 and NTFS filesytems, |
|
1432 # might have accidentally ended up with the entire contents of the file |
|
1433 # they are susposed to be linking to. |
|
1434 s[0] = self._filtersuspectsymlink(s[0]) |
|
1435 self._status = scmutil.status(*s) |
1435 self._status = scmutil.status(*s) |
1436 return s |
1436 return s |
1437 |
1437 |
1438 def _matchstatus(self, other, match): |
1438 def _matchstatus(self, other, match): |
1439 """override the match method with a filter for directory patterns |
1439 """override the match method with a filter for directory patterns |