Changeset 9736501e4df3…
Parent a86175eb1e02…
by
Changes to one file · Browse files at 9736501e4df3 Showing diff from parent a86175eb1e02 Diff from another changeset...
@@ -206,6 +206,16 @@ dest = os.path.basename(src)
destQ = QString(hglib.tounicode(dest))
+ if not dest.startswith('ssh://'):
+ if not os.path.exists(dest):
+ try:
+ os.mkdir(dest)
+ except EnvironmentError:
+ qtlib.ErrorMsgBox(_('TortoiseHg Clone'),
+ _('Error creating destination folder'),
+ _('Please specify a different path.'))
+ return False
+
if srcQ:
l = list(self.shist)
if srcQ in l:
|
Loading...