Reputation: 34840
So I want to pass some extra parameters to VCS command (in my case HG) when pulling down source.
But the "Edit VCS Root" screen does not let me add extra parameters.
Upvotes: 1
Views: 1208
Reputation: 1293
There is no way to set this option in UI. You can write a wrapper for hg command and specify path to this wrapper in the Path to hg
option in VCS root settings. Wrapper can be something like this:
#!/bin/bash
case "$1" in
init|pull|clone)
command=$1;
shift;
hg $command --insecure $*
;;
*)
hg $*
;;
esac
If you use an agent-side checkout you will have to have this wrapper on both: TeamCity server and the agents. Also if you think it's useful to have this option in UI feel free to create an issue in the tracker.
Upvotes: 1