Show More
@@ -74,8 +74,14 b' have this method available in narrowhg p' | |||||
74 | > narrowspec.copytoworkingcopy(repo) |
|
74 | > narrowspec.copytoworkingcopy(repo) | |
75 | > newmatcher = narrowspec.match(repo.root, includes, excludes) |
|
75 | > newmatcher = narrowspec.match(repo.root, includes, excludes) | |
76 | > added = matchmod.differencematcher(newmatcher, currentmatcher) |
|
76 | > added = matchmod.differencematcher(newmatcher, currentmatcher) | |
|
77 | > with repo.dirstate.parentchange(): | |||
77 | > for f in repo[b'.'].manifest().walk(added): |
|
78 | > for f in repo[b'.'].manifest().walk(added): | |
78 |
> repo.dirstate. |
|
79 | > repo.dirstate.update_file( | |
|
80 | > f, | |||
|
81 | > p1_tracked=True, | |||
|
82 | > wc_tracked=True, | |||
|
83 | > possibly_dirty=True, | |||
|
84 | > ) | |||
79 | > |
|
85 | > | |
80 | > def reposetup(ui, repo): |
|
86 | > def reposetup(ui, repo): | |
81 | > class expandingrepo(repo.__class__): |
|
87 | > class expandingrepo(repo.__class__): |
General Comments 0
You need to be logged in to leave comments.
Login now