I have project files in Dropbox, VC-ed with Mercurial. This way I can work on the same code in Windows at work and in Linux at home. The central repository is on our institute Samba file server, which I have mounted in Linux (as /mnt/server/) and in Windows (as a network drive Z:). Now, Mercurial stores the location of the central repo (for push/pull) in .hg/hgrc. And the path there is, of course, either the Linux or the Windows one. As a result, I should always edit the file or pull/push only in one OS.
Is there a better practice/way to go? I wouldn't like having two branches for two operating systems since I already have a few branches according to what I am working on.