Show More
@@ -162,36 +162,18 b' class largefilesdirstate(dirstate.dirsta' | |||||
162 | _large_file_dirstate = True |
|
162 | _large_file_dirstate = True | |
163 | _tr_key_suffix = b'-large-files' |
|
163 | _tr_key_suffix = b'-large-files' | |
164 |
|
164 | |||
165 | def __getitem__(self, key): |
|
165 | # XXX: why are there overrides to fix the path, if the path should already | |
166 | return super(largefilesdirstate, self).__getitem__(unixpath(key)) |
|
166 | # be in unix form for the superclass? | |
167 |
|
167 | |||
168 | def set_tracked(self, f): |
|
168 | def set_tracked(self, f, reset_copy=False): | |
169 |
return super(largefilesdirstate, self).set_tracked( |
|
169 | return super(largefilesdirstate, self).set_tracked( | |
|
170 | unixpath(f), reset_copy=reset_copy | |||
|
171 | ) | |||
170 |
|
172 | |||
171 | def set_untracked(self, f): |
|
173 | def set_untracked(self, f): | |
172 | return super(largefilesdirstate, self).set_untracked(unixpath(f)) |
|
174 | return super(largefilesdirstate, self).set_untracked(unixpath(f)) | |
173 |
|
175 | |||
174 | def normal(self, f, parentfiledata=None): |
|
176 | def _dirignore(self, f): | |
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): |
|
|||
195 | return False |
|
177 | return False | |
196 |
|
178 | |||
197 | def write(self, tr): |
|
179 | def write(self, tr): |
General Comments 0
You need to be logged in to leave comments.
Login now