834 from .SvnCopyDialog import SvnCopyDialog |
834 from .SvnCopyDialog import SvnCopyDialog |
835 dlg = SvnCopyDialog(name, None, True, force) |
835 dlg = SvnCopyDialog(name, None, True, force) |
836 accepted = (dlg.exec_() == QDialog.Accepted) |
836 accepted = (dlg.exec_() == QDialog.Accepted) |
837 if accepted: |
837 if accepted: |
838 target, force = dlg.getData() |
838 target, force = dlg.getData() |
|
839 if not target: |
|
840 return False |
839 |
841 |
840 if not rx_prot.exactMatch(target): |
842 if not rx_prot.exactMatch(target): |
841 isDir = os.path.isdir(name) |
843 isDir = os.path.isdir(name) |
842 else: |
844 else: |
843 isDir = False |
845 isDir = False |