Take the tour ×  We recently moved from Perforce to Mercurial
and love it!  One little problem: after much research we can't
figure out how to map a special directory in the repository to
some special place on the client. Here is an example of our hg
repo:  /foo/source files /bar/source files     /macosx/mac make
files     /win/windows make files  With Perforce, we were using
client spec mappings to map //depot/build/macosx/... to just
/build/... on the Mac client, and //depot/build/win/... to
/build/... on the Windows dev box. Directories foo and bar are
synced as is. Makefiles in /foo and /bar assume that our build
makefiles are located in /build and we would like to keep them
as is. The final client set of files should look like this:
/foo/source files /bar/source files /build/client specific make
files  I've read about subrepos, but this solution does not seem
to be client specific.  Any idea how to solve this problem will
be very much appreciated!  share|improve this question add
comment  3 Answers  You