##// END OF EJS Templates
largefile: use `set_untracked` in the `forget` override...
marmoute -
r48454:2af9709e default
parent child Browse files
Show More
@@ -1380,10 +1380,7 b' def cmdutilforget('
1380 with repo.wlock():
1380 with repo.wlock():
1381 lfdirstate = lfutil.openlfdirstate(ui, repo)
1381 lfdirstate = lfutil.openlfdirstate(ui, repo)
1382 for f in forget:
1382 for f in forget:
1383 if lfdirstate[f] == b'a':
1383 lfdirstate.set_untracked(f)
1384 lfdirstate.drop(f)
1385 else:
1386 lfdirstate.remove(f)
1387 lfdirstate.write()
1384 lfdirstate.write()
1388 standins = [lfutil.standin(f) for f in forget]
1385 standins = [lfutil.standin(f) for f in forget]
1389 for f in standins:
1386 for f in standins:
General Comments 0
You need to be logged in to leave comments. Login now