##// END OF EJS Templates
dirstate: stop using `_normallookup` in the adddrop extension...
marmoute -
r48807:eb1f8d6e default
parent child Browse files
Show More
@@ -17,7 +17,13 b''
17 > try:
17 > try:
18 > for file in pats:
18 > for file in pats:
19 > if opts.get('normal_lookup'):
19 > if opts.get('normal_lookup'):
20 > repo.dirstate._normallookup(file)
20 > with repo.dirstate.parentchange():
21 > repo.dirstate.update_file(
22 > file,
23 > p1_tracked=True,
24 > wc_tracked=True,
25 > possibly_dirty=True,
26 > )
21 > else:
27 > else:
22 > repo.dirstate._map.dropfile(file)
28 > repo.dirstate._map.dropfile(file)
23 > repo.dirstate._dirty = True
29 > repo.dirstate._dirty = True
General Comments 0
You need to be logged in to leave comments. Login now