Issue #87 resolved

Repository Registry: Multiple select during "Add repository..." fails

Anonymous created an issue

To replicate, go to "Add repository..." and select multiple directories. No error message, but no repos are added either.

Using version tortoisehg-1.9.1-hg-1.7.3+f3058dd05281-x64

Comments (5)

  1. Steve Borho

    I investigated this for a short bit. It is only reproducible on Windows because here Qt will use the native file dialogs and when you make multiple selections in the native window Qt returns '' for the output path. There doesn't appear to be a way to prevent multi-selection in the native dialog using the Qt QFileDialog.getExistingDirectory() API.

    If I add the QFileDialog::DontUseNativeDialog, the Qt dialog does not allow multi-selection and thus has no problems. See also:

    So the Qt file open dialog fixes this, but I don't think it's worth the trouble.

  2. Commtech Inc.

    This is still present in Workbench in Tortoise 2.0.

    It still allows you to select multiple folders but it silently fails when you try to add them. For my two cents this would be extremely useful when you need to add several repositories to the Workbench.

  3. Log in to comment