##// END OF EJS Templates
largefiles: fix addremove when no largefiles are specified
Na'Tosha Bard -
r15967:295f8aea stable
parent child Browse files
Show More
@@ -900,9 +900,10 b' def override_addremove(orig, ui, repo, *'
900 # to have handled by original addremove. Monkey patching here makes sure
900 # to have handled by original addremove. Monkey patching here makes sure
901 # we don't remove the standin in the largefiles code, preventing a very
901 # we don't remove the standin in the largefiles code, preventing a very
902 # confused state later.
902 # confused state later.
903 repo._isaddremove = True
903 if missing:
904 remove_largefiles(ui, repo, *missing, **opts)
904 repo._isaddremove = True
905 repo._isaddremove = False
905 remove_largefiles(ui, repo, *missing, **opts)
906 repo._isaddremove = False
906 # Call into the normal add code, and any files that *should* be added as
907 # Call into the normal add code, and any files that *should* be added as
907 # largefiles will be
908 # largefiles will be
908 add_largefiles(ui, repo, *pats, **opts)
909 add_largefiles(ui, repo, *pats, **opts)
General Comments 0
You need to be logged in to leave comments. Login now