Hi Dave, I am a mercurial-cli very addicted user. In my very very very personal opinion mercurial is better than git for my projects, but now I'm not looking for a flame mercurial vs git or hg-cli vs hg-api.
I have an engineering problem. Can I base my next project on hg api? Now I know that hg api server does not have the promise of stability and this partly answers my question. In spite of all I would like to use mercurial and web2py and, if necessary, to produce a patch to make sure that web2py functions with an updated version of hg server api. I'm sorry for my silly question but can you tell me where to find the documents relating to api server and preferably with code snippet explain how to use it? help(mercurial.scmutil.addremove()) is not enought for me I need to learn more about the API server After that everybody wins, mercurial, web2py and also my project may be more popular! ;-) Many thanks Fabrizio P.S. Anyone can answer the question, do not be shy! ;-) [...snip...] > The Mercurial command server is a way of using commands without repeatedly > shelling out, but for the amount of use needed from Web2Py, shelling out > is probably good enough. > > /dps > > [...snip...] > >> On Friday, 17 July 2015 08:16:53 UTC-5, [email protected] wrote: >>> >>> 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.

