Show More
@@ -44,11 +44,12 b' def reposetup(ui, repo):' | |||
|
44 | 44 | return [lfutil.splitstandin(f) or f for f in filenames] |
|
45 | 45 | def manifest(self): |
|
46 | 46 | man1 = super(lfilesctx, self).manifest() |
|
47 |
|
|
|
48 | def __contains__(self, filename): | |
|
49 |
|
|
|
50 |
|
|
|
51 | man1.__contains__ = __contains__.__get__(man1) | |
|
47 | class lfilesmanifest(man1.__class): | |
|
48 | def __contains__(self, filename): | |
|
49 | orig = super(lfilesmanifest, self).__contains__ | |
|
50 | return (orig(filename) or | |
|
51 | orig(lfutil.standin(filename))) | |
|
52 | man1.__class__ = lfilesmanifest | |
|
52 | 53 | return man1 |
|
53 | 54 | def filectx(self, path, fileid=None, filelog=None): |
|
54 | 55 | orig = super(lfilesctx, self).filectx |
General Comments 0
You need to be logged in to leave comments.
Login now