Ciao,
I want to use https://kallithea-scm.org/ as mercurial repository web
interface.
Everything works fine except one last step in web2py web interface.
When I click on the "Versioning" web interface button I get the error:
Versione web2py™ Version 2.11.2-stable+timestamp.2015.05.30.11.29.46
Python Python 2.7.5: /usr/bin/python (prefix: /usr) Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Traceback (most recent call last):
File "/var/www/devel/web2py/gluon/restricted.py", line 227, in restricted
exec ccode in environment
File "/var/www/devel/web2py10/applications/admin/controllers/mercurial.py"
<https://devel.zenzeromod.com/admin/default/edit/admin/controllers/mercurial.py>,
line 87, in <module>
File "/var/www/devel/web2py/gluon/globals.py", line 412, in <lambda>
self._caller = lambda f: f()
File "/var/www/devel/web2py10/applications/admin/controllers/mercurial.py"
<https://devel.zenzeromod.com/admin/default/edit/admin/controllers/mercurial.py>,
line 50, in commit
addremove(repo)
TypeError: addremove() takes at least 3 arguments (1 given)
Is there anyone who uses the creation of the repository via the web using the
"addremove" method new signature?
Can you suggest a piece of code to pass the correct parameters?
Because I can not understand from the documentation of the method "
mercurial.scmutil.addremove()" what are the right ones.
Fabrizio
P.S. Mercurial Distributed SCM (version 3.3.3), Centos (7) OS,
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.