842 from .SvnCopyDialog import SvnCopyDialog |
842 from .SvnCopyDialog import SvnCopyDialog |
843 dlg = SvnCopyDialog(name, None, True, force) |
843 dlg = SvnCopyDialog(name, None, True, force) |
844 accepted = (dlg.exec_() == QDialog.Accepted) |
844 accepted = (dlg.exec_() == QDialog.Accepted) |
845 if accepted: |
845 if accepted: |
846 target, force = dlg.getData() |
846 target, force = dlg.getData() |
|
847 if not target: |
|
848 return False |
847 |
849 |
848 if not rx_prot.exactMatch(target): |
850 if not rx_prot.exactMatch(target): |
849 isDir = os.path.isdir(name) |
851 isDir = os.path.isdir(name) |
850 else: |
852 else: |
851 isDir = False |
853 isDir = False |