786 force = "--force" in opts or noDialog |
786 force = "--force" in opts or noDialog |
787 noignore = "--no-ignore" in opts |
787 noignore = "--no-ignore" in opts |
788 client = self.getClient() |
788 client = self.getClient() |
789 if not noDialog: |
789 if not noDialog: |
790 dlg = SvnDialog( |
790 dlg = SvnDialog( |
791 self.tr("Adding files/directories to the Subversion" " repository"), |
791 self.tr("Adding files/directories to the Subversion repository"), |
792 "add --non-recursive{0}{1} {2}".format( |
792 "add --non-recursive{0}{1} {2}".format( |
793 force and " --force" or "", |
793 force and " --force" or "", |
794 noignore and " --no-ignore" or "", |
794 noignore and " --no-ignore" or "", |
795 " ".join(names), |
795 " ".join(names), |
796 ), |
796 ), |
932 opts = self.options["global"] + self.options["remove"] |
932 opts = self.options["global"] + self.options["remove"] |
933 force = "--force" in opts or noDialog |
933 force = "--force" in opts or noDialog |
934 client = self.getClient() |
934 client = self.getClient() |
935 if not noDialog: |
935 if not noDialog: |
936 dlg = SvnDialog( |
936 dlg = SvnDialog( |
937 self.tr("Removing files/directories from the Subversion" " repository"), |
937 self.tr("Removing files/directories from the Subversion repository"), |
938 "remove{0} {1}".format(force and " --force" or "", " ".join(name)), |
938 "remove{0} {1}".format(force and " --force" or "", " ".join(name)), |
939 client, |
939 client, |
940 ) |
940 ) |
941 QApplication.processEvents() |
941 QApplication.processEvents() |
942 try: |
942 try: |