Kiln Mercurial subrepositories

Josh Noe's Avatar

Josh Noe

07 Feb, 2019 04:40 PM

We're been using Mercurial on Kiln with AppVeyor for a few years now.

However, if we try to add a subrepository to any of our repos, AppVeyor hangs at the clone step.

What we've figured out so far:
* We suspect it's expecting user input for the username and password for some reason, but just a hunch because there's no relevant console info even when set to "Detailed".
* We've set up our Kiln integration through AppVeyor (years ago), which creates an access token and uses https:
https://help.manuscript.com/8375/access-tokens-and-continuous-integration-servers
* If we try to run a script on AppVeyor to pull the subrepo directly, it also hangs:
hg clone --verbose --debug <our repo address> $env:APPVEYOR_BUILD_FOLDER
* If we try to add the subrepo as a project in AppVeyor and build, we get this error: "Specify which project or solution file to use because the folder contains more than one project or solution file." We don't *think* this is related, but including for completeness.

  1. Support Staff 1 Posted by Owen McDonnell on 07 Feb, 2019 10:10 PM

    Owen McDonnell's Avatar

    What protocol is used when referencing the subrepo in the .hgsub file, https or ssh?

  2. 2 Posted by Josh on 08 Feb, 2019 04:08 PM

    Josh's Avatar

    https

    The odd thing is that, if we run this command (in AppVeyor) to clone the repo, it also hangs:

    hg clone --verbose --debug <our subrepo address> $env:APPVEYOR_BUILD_FOLDER
    
    ...but if we run this same command for a different repo which we've set up as an AppVeyor project, it works, showing this log:
    sending capabilities command
    [00:00:12] using auth.v6v2pps6.* for authentication
    [00:00:12] using auth.v6v2pps6.* for authentication
    [00:00:12] http auth: user <our token>, password ***
    [00:00:12] using auth.v6v2pps6.* for authentication
    

    So it seems like the hg client on AppVeyor is prompting for credentials for our subrepo only?

  3. Support Staff 3 Posted by Owen McDonnell on 08 Feb, 2019 05:21 PM

    Owen McDonnell's Avatar

    Can you confirm that via an RDP session?

  4. Ilya Finkelshteyn closed this discussion on 10 Apr, 2019 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM