911 from .SvnCopyDialog import SvnCopyDialog |
911 from .SvnCopyDialog import SvnCopyDialog |
912 dlg = SvnCopyDialog(name, None, True, "--force" in opts) |
912 dlg = SvnCopyDialog(name, None, True, "--force" in opts) |
913 accepted = (dlg.exec_() == QDialog.Accepted) |
913 accepted = (dlg.exec_() == QDialog.Accepted) |
914 if accepted: |
914 if accepted: |
915 target, force = dlg.getData() |
915 target, force = dlg.getData() |
|
916 if not target: |
|
917 return False |
916 |
918 |
917 if not rx_prot.exactMatch(target): |
919 if not rx_prot.exactMatch(target): |
918 isDir = os.path.isdir(name) |
920 isDir = os.path.isdir(name) |
919 else: |
921 else: |
920 isDir = False |
922 isDir = False |