##// END OF EJS Templates
largefile: use `set_tracked` in the `hg add` overwrite...
marmoute -
r48448:093b1df4 default
parent child Browse files
Show More
@@ -150,10 +150,7 b' def addlargefiles(ui, repo, isaddremove,'
150 executable=lfutil.getexecutable(repo.wjoin(f)),
150 executable=lfutil.getexecutable(repo.wjoin(f)),
151 )
151 )
152 standins.append(standinname)
152 standins.append(standinname)
153 if lfdirstate[f] == b'r':
153 lfdirstate.set_tracked(f)
154 lfdirstate.normallookup(f)
155 else:
156 lfdirstate.add(f)
157 lfdirstate.write()
154 lfdirstate.write()
158 bad += [
155 bad += [
159 lfutil.splitstandin(f)
156 lfutil.splitstandin(f)
General Comments 0
You need to be logged in to leave comments. Login now