Unclear login/password prompt when subrepo access is required.

Joël Lamotte avatarJoël Lamotte created an issue

When updating or pushing a repository that have subrepos which distant access requires a password, there is a prompt asking for a login and password of each one of these subrepos.

The problem is simply that this prompt don't tell which subrepo it is about, or even if it's about a subrepo or not (as it's the same prompt with non-subrepo push in distant repo that required password to be written in).

Reading the log don't helps identifying which repository it is. The "realm" name is not enough as several repos can be in the same "realm".

My suggestion is to simply add the name (or path or whatever) of the repo for which a login/password is asked in the prompt.

Comments (2)

  1. Steve Borho

    This would have to be fixed within Mercurial, since it is issuing the prompts. My suggestion is to enable mercurial_keyring and configure usernames for each hosting site.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.