Hello Eric, pbreit is better palced then me for complete answer, but I don't thinke there is any repo on the prod server... You should just push without Hg file, so your prod app is not under VC anymore... I completly erase after backup my app and copy new app release in place without .hg app subdirectory...
I didn't try yet Fabric, so I can't help with how you could manage it with Fabric. Hope I get time to try it soon... Richard On Mon, Aug 8, 2011 at 2:21 PM, Eric Scott <erictransla...@gmail.com> wrote: > Thanks again to pbreit, Chris, Richard, and any others I'm missing for > answering my questions about web2py and mercurial. I'm rapidly > getting used to mercurial with web2py and its working great for > switching between computers. > > I do have a follow-up question about Fabric. Pbreit -- you're > absolutely correct that Fabric is very straight-forward and easy to > use. I just wanted to dig a little deeper on how you use it with > Mercurial, web2py, and a central repo (like Bitbucket). Are you > pulling from Bitbucket into a repo on the production server that is in > a separate directory than the web directory, then using Fabric to > deploy the necessary components to the web directory, minus the hg > files and other unneeded stuff (e.g., /home/me/myrepo to /home/www- > data/web2py/myapp)? > > I posted this same question to the list a few days ago, but it doesn't > look like it went through (but apologies if it did). > > Thanks again for your input. > > Eric > >