Show More
@@ -162,36 +162,18 b' class largefilesdirstate(dirstate.dirsta' | |||
|
162 | 162 | _large_file_dirstate = True |
|
163 | 163 | _tr_key_suffix = b'-large-files' |
|
164 | 164 | |
|
165 | def __getitem__(self, key): | |
|
166 | return super(largefilesdirstate, self).__getitem__(unixpath(key)) | |
|
165 | # XXX: why are there overrides to fix the path, if the path should already | |
|
166 | # be in unix form for the superclass? | |
|
167 | 167 | |
|
168 | def set_tracked(self, f): | |
|
169 |
return super(largefilesdirstate, self).set_tracked( |
|
|
168 | def set_tracked(self, f, reset_copy=False): | |
|
169 | return super(largefilesdirstate, self).set_tracked( | |
|
170 | unixpath(f), reset_copy=reset_copy | |
|
171 | ) | |
|
170 | 172 | |
|
171 | 173 | def set_untracked(self, f): |
|
172 | 174 | return super(largefilesdirstate, self).set_untracked(unixpath(f)) |
|
173 | 175 | |
|
174 | def normal(self, f, parentfiledata=None): | |
|
175 | # not sure if we should pass the `parentfiledata` down or throw it | |
|
176 | # away. So throwing it away to stay on the safe side. | |
|
177 | return super(largefilesdirstate, self).normal(unixpath(f)) | |
|
178 | ||
|
179 | def remove(self, f): | |
|
180 | return super(largefilesdirstate, self).remove(unixpath(f)) | |
|
181 | ||
|
182 | def add(self, f): | |
|
183 | return super(largefilesdirstate, self).add(unixpath(f)) | |
|
184 | ||
|
185 | def drop(self, f): | |
|
186 | return super(largefilesdirstate, self).drop(unixpath(f)) | |
|
187 | ||
|
188 | def forget(self, f): | |
|
189 | return super(largefilesdirstate, self).forget(unixpath(f)) | |
|
190 | ||
|
191 | def normallookup(self, f): | |
|
192 | return super(largefilesdirstate, self).normallookup(unixpath(f)) | |
|
193 | ||
|
194 | def _ignore(self, f): | |
|
176 | def _dirignore(self, f): | |
|
195 | 177 | return False |
|
196 | 178 | |
|
197 | 179 | def write(self, tr): |
General Comments 0
You need to be logged in to leave comments.
Login now