I have the following configured in Kiln:
Project: Apps / Group: Platform / repo: Platform / subrepo: Domain
My local directory stucture is the same, with the Platform directory (with .hg, .hgsub, .hgsubstate) and a sub-directory, Domain, containing a bunch of .cs files.
I created a repository for Domain (hg init | hg add * | hg commit), then created a repo for Platform and added the subrepo config (hg init | echo Domain = Domain > .hgsub | hg add .hgsub | hg commit).
Then I pushed the Platform repo (to be sure I got the .hgsub file), but the files that were commited to Domain never appeared in Kiln.
Here is my log, with some of the output:
C:\Code\Hg\Platform>hg init Domain
C:\Code\Hg\Platform>cd Domain
C:\Code\Hg\Platform\Domain>hg add *.cs [adds one file, User.cs]
C:\Code\Hg\Platform\Domain>hg commit -m "domain commit"
[added a default-push entry for Domain to https://willow.kilnhg.com/Repo/Apps/Platform/Domain]
C:\Code\Hg\Platform>hg init
C:\Code\Hg\Platform>echo Domain = Domain > .hgsub
C:\Code\Hg\Platform>hg add .hgsub
C:\Code\Hg\Platform>hg commit -m "commit from toplevel"
committing subrepository Domain
C:\Code\Hg\Platform>hg push https://willow.kilnhg.com/Repo/Apps/Platform/Platform
pushing to https://willow.kilnhg.com/Repo/Apps/Platform/Platform
pushing subrepo Domain
searching for changes
no changes found
searching for changes
remote: kiln: successfully pushed one changeset
Domain is still empty in Kiln (no User.cs). What did I do wrong that caused my subrepo to not be pushed correctly?