.hgignore is a list of things you DO NOT want to be tracked.

If you look in the web2py directory for hidden files you will
find .hgignore

Fill .hgignore with all of the items that you DO NOT want to have
included in your repo / clone. The last time I checked the one that
comes with Web2py from source even included (I mean excluded, or
ignored...)
*.pyc files and other nix / OS X files that most people don't want to
track.

Oh wow, looks like it has been really nicely refined now. As far a the
applications directory stuff this is what is in a recent version:

applications/*/databases/*
applications/*/sessions/*
applications/*/errors/*
applications/*/cache/*
applications/*/uploads/*
applications/examples/static/epydoc
applications/examples/static/sphinx
applications/admin/cron/cron.master

Wow, almost missed this at the end of the .hgignore, that looks really
interesting....

syntax: re
^applications/(?!(admin|examples|welcome|__init__)).*$

Chris

On Feb 24, 2:45 pm, pbreit <[email protected]> wrote:
> Yes. I think what happens is that since your app folder is not in the web2py
> distro, it just leaves it alone. Unless you were to merge on your web2py
> folder which I doubt you're going to do.
>
> One thing you could consider if you have a few moments is just to play
> around with it. Put a copy of your app in a safe place and then just fiddle
> around. It can be very instructive.

Reply via email to