On Dec 14, 5:51 am, DenesL <denes1...@yahoo.ca> wrote:
> About uploads folder, is the problem that hg does not allow empty
> folders?
> None of the apps in the hg repository (including welcome) have an
> uploads folder.
>
... the problem is that web2py assumed the existence of these folders,
and did not handle it if they didn't because it depended on them being
there.

bzr & svn version empty folders;
cvs, hg, git (and many, many others) do not - historically,
directories are not typically "first class" objects in version control
systems.

Right now, Massimo's solution is to brute force this (just creates all
these directories in gluon/main.py); a more general "open" procedure
which collects all special handling of file opening / file creation
would be better, robust.   As it is web2py is back-filling its old
assumptions.

- Yarko

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to