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