This was only used in the newer APIs, all of which have been rewritten in Rust
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
This was only used in the newer APIs, all of which have been rewritten in Rust
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/dirstatemap.py (6 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
eecdf9fe47c8 | 141254fe522c | Raphaël Gomès | Mar 28 2022, 12:30 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare |
f = {} | f = {} | ||||
normcase = util.normcase | normcase = util.normcase | ||||
for name in self._map.tracked_dirs(): | for name in self._map.tracked_dirs(): | ||||
f[normcase(name)] = name | f[normcase(name)] = name | ||||
return f | return f | ||||
### code related to manipulation of entries and copy-sources | ### code related to manipulation of entries and copy-sources | ||||
def _refresh_entry(self, f, entry): | |||||
if not entry.any_tracked: | |||||
self._map.drop_item_and_copy_source(f) | |||||
else: | |||||
self._map.addfile(f, entry) | |||||
def set_tracked(self, f): | def set_tracked(self, f): | ||||
return self._map.set_tracked(f) | return self._map.set_tracked(f) | ||||
def set_untracked(self, f): | def set_untracked(self, f): | ||||
return self._map.set_untracked(f) | return self._map.set_untracked(f) | ||||
def set_clean(self, filename, mode, size, mtime): | def set_clean(self, filename, mode, size, mtime): | ||||
self._map.set_clean(filename, mode, size, mtime) | self._map.set_clean(filename, mode, size, mtime) |