Cannot check out Carpet non-anonymously

Issue #440 closed
Erik Schnetter created an issue

Whenever I try to check out Carpet non-anonymously using the standard thorn list, I receive the error message

$ ./bin/GetComponents --update --root=. manifest/einsteintoolkit.th

Error: The URL for Carpet/doc has changed, please perform a clean checkout.

(This is not a helpful error message, because the urls are not shown.)

I find that, for Mercurial, GetComponents always sets $url = $component{"URL"}, using the anonymous url. Later it compares this url to the url actually used to check out the repository, which is in my case different, since I used the non-anonymous, authorized url. This leads to an unconditional error.

The file $HOME/.crl/users does not enter, since I never enter a password for this repository.

The only way to circumvent this problem is to modify the URL in the thorn list to make it identical to the AUTH_URL.

Keyword:

Comments (6)

  1. Frank Löffler
    • removed comment

    The attached patch should not only fix that by matching against either URL or AUTH_URL, it also enables checkouts using AUTH_URL.

    The patch does not apply cleanly to the current repository, but should succeed anyway. It applies cleanly after applying the patch in ticket:548

  2. anonymous
    • removed comment

    Replying to [comment:2 knarf]: I was able to reproduce the problem and confirm that the patch fixed it.

  3. Peter Diener
    • removed comment

    Replying to [comment:3 anonymous]:

    Replying to [comment:2 knarf]: I was able to reproduce the problem and confirm that the patch fixed it.

    anonymous above was me....

  4. Log in to comment