##// END OF EJS Templates
scmutil.addremove: remove redundant directory and symlink checks...
Siddharth Agarwal -
r18862:6de8cd5c default
parent child Browse files
Show More
@@ -686,8 +686,7 def addremove(repo, pats=[], opts={}, dr
686 686 if repo.ui.verbose or not m.exact(abs):
687 687 rel = m.rel(abs)
688 688 repo.ui.status(_('adding %s\n') % ((pats and rel) or abs))
689 elif (dstate != 'r' and (not st or
690 (stat.S_ISDIR(st.st_mode) and not stat.S_ISLNK(st.st_mode)))):
689 elif dstate != 'r' and not st:
691 690 deleted.append(abs)
692 691 if repo.ui.verbose or not m.exact(abs):
693 692 rel = m.rel(abs)
General Comments 0
You need to be logged in to leave comments. Login now