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