Changeset 1246c1753318…
Parent ab5594bd4b81…
by
Changes to one file · Browse files at 1246c1753318 Showing diff from parent ab5594bd4b81 Diff from another changeset...
@@ -195,6 +195,8 @@ def browse_clicked(self, button):
"""Select the destination directory or file"""
dest = hglib.fromutf(self.destentry.get_text())
+ if not os.path.exists(dest):
+ dest = os.path.dirname(dest)
select = self.get_selected_archive_type()
if select['type'] == 'files':
response = gtklib.NativeFolderSelectDialog(
|
Loading...