3 Replies Last post: Feb 7, 2013 2:26 PM by Dmitry Neverov  
slolife Newbie 6 posts since
Jun 15, 2007
Currently Being Moderated

Jan 31, 2013 10:05 PM

Mercurial project with subrepository

I have a project checked into Mercurial and it has a subrepository:

 

MyProject

|

|----CommonCode

 

When I set up a VCS root, to check out from MyProject, it doesn't get the CommonCode files, so my build breaks.  How can I get TeamCity to checkout the subrepo at the same time?  From a command line, if I do an hg clone http://hg/myproject, it gets both the myproject files AND CommonCode files.  What is going on with the checkout in TeamCity (7.1.3)?

Dmitry Neverov JetBrains 236 posts since
Mar 29, 2010
Currently Being Moderated
Feb 4, 2013 3:20 PM in response to: slolife
Re: Mercurial project with subrepository

Hello,

 

mercurial subrepos are fully only with agent-side checkout. Please switching to agent-side checkout. Let me know if helps.

Dmitry Neverov JetBrains 236 posts since
Mar 29, 2010
Currently Being Moderated
Feb 7, 2013 2:26 PM in response to: slolife
Re: Mercurial project with subrepository

The problem is that during an incremental server-side checkout TeamCity detects only changes in .hgsub/.hgsubstate and doesn't try to build a patch for subrepos. But with agent-side checkout we build a correct patch. Please watch/vote for http://youtrack.jetbrains.com/issue/TW-11229 for subrepos support.

More Like This

  • Retrieving data ...