On Thursday, August 31, 2017 at 11:18:14 AM UTC-7, Richard wrote:
>
> Hello Martin,
>
> And sorry if I hurt feels (community), but it only me thinking...
>
> If I was you, I would avoid rely to such web2py feature (I am thinking to 
> web2py upgrade button in admin here)... First the versioning feature limit 
> you to linear change history (no branches) and to mercurial... Mercurial is 
> nice, but if I start all over I would pick git over mercurial except for 
> tortoise-ng which I would miss a lot. Git is so much more widespread than 
> mercurial and mastering it allow you to contribute to many open source 
> software on github (ex.: web2py).
>
>
There is the hg-git extension to allow access to git repos from mercurial.  
I haven't gotten around to using it yet, so I can't give specific advice.  
(I've used hg-convert to make local copies of SVN repos, but not to update 
the SVN repos.  hg-convert can also be used to turn a branch into a 
project, and other housekeeping tasks.)

I have limited experience with git and github (see web2py book), but that 
looks to change.

If you are alone in a project, linear commit history is workable, but at 
> some point you will want to branch to focus on a bug while developping a 
> feature so you will be force to do it, and then you not anymore can 
> appreciate your whole history in web2py, so...
>

I like branches even when working alone.  That's one reason why my tuit 
isn't round ... my itch takes me to the command line.

 

>
> Richard
>
>
/dps
 

> On Thu, Aug 31, 2017 at 1:26 AM, Martin Weissenboeck <[email protected] 
> <javascript:>> wrote:
>
>> Thank you for your fast response.
>> I think if "versioning" does not work in web2py the button and the 
>> chapter from the book should be removed. It is frustrating to try 
>> something, which does not work. I always think that I have made a mistake.
>>
>> Regards Martin
>>
>> 2017-08-30 22:32 GMT+02:00 Dave S <[email protected] <javascript:>>:
>>
>>>
>>>
>>> On Wednesday, August 30, 2017 at 12:11:01 PM UTC-7, mweissen wrote:
>>>>
>>>> Now another instance of web2py and another ticket.
>>>> It seems that web2py does not match this version of mercurial.
>>>> Who uses "versioning" with success?
>>>>
>>>>
>>> It's an interface issue.  web2py uses an internal interface that's 
>>> subject to change, and which indeed did change for at least one of the 
>>> commands web2py uses.  I've been meaning to work up using the command 
>>> server (an official mercurial interface), but haven't filed my tuit very 
>>> round yet.
>>>
>>> (I use mercurial in my project, but since I use branches and the web2py 
>>> usage didn't include that, I just use command-line mercurial.  If you're 
>>> looking for a mercurial gui, TortoiseHg is the best known, and has been 
>>> ported to Linux as well as Windows.  I'm not sure what to use on Macs, but 
>>> that's probably listed in the wiki at mercurial-scm.org)
>>>
>>> /dps
>>>
>>>  
>>>
>>>> ​
>>>> Error ticket for "admin"Ticket ID
>>>>
>>>> 62.46.34.69.2017-08-30.18-52-32.0686f969-19c0-4400-9e6c-2f79cec2c962
>>>> <type 'exceptions.TypeError'> addremove() takes at least 3 arguments (1 
>>>> given)Version
>>>> web2py™ Version 2.15.3-stable+timestamp.2017.08.07.12.51.45
>>>> Python Python 2.7.12: /usr/local/bin/uwsgi (prefix: /usr)Traceback
>>>>
>>>> 1.
>>>> 2.
>>>> 3.
>>>> 4.
>>>> 5.
>>>> 6.
>>>> 7.
>>>> 8.
>>>> 9.
>>>> 10.
>>>>
>>>> Traceback (most recent call last):
>>>>   File "/home/www-data/web2py/gluon/restricted.py", line 219, in restricted
>>>>     exec(ccode, environment)
>>>>   File "/home/www-data/web2py/applications/admin/controllers/mercurial.py" 
>>>> <https://noez.infosms.org/admin/default/edit/admin/controllers/mercurial.py>,
>>>>  line 87, in <module>
>>>>   File "/home/www-data/web2py/gluon/globals.py", line 409, in <lambda>
>>>>     self._caller = lambda f: f()
>>>>   File "/home/www-data/web2py/applications/admin/controllers/mercurial.py" 
>>>> <https://noez.infosms.org/admin/default/edit/admin/controllers/mercurial.py>,
>>>>  line 50, in commit
>>>>     addremove(repo)
>>>> TypeError: addremove() takes at least 3 arguments (1 given)
>>>>
>>>> Error snapshot [image: help] 
>>>> <https://noez.infosms.org/admin/default/ticket/admin/62.46.34.69.2017-08-30.18-52-32.0686f969-19c0-4400-9e6c-2f79cec2c962#>
>>>> <type 'exceptions.TypeError'>(addremove() takes at least 3 arguments (1 
>>>> given))​
>>>>
>>>> 2017-08-30 13:20 GMT+02:00 Martin Weissenboeck <[email protected]>:
>>>>
>>>>> I want to try the admin versioning.
>>>>> mercurial is installed, hg --version shows 2.8.2
>>>>>
>>>>> And a click on versioning gives "Sorry, could not find mercurial 
>>>>> installed"
>>>>>
>>>>> What is wrong - any ideas?
>>>>> Regards, Martin
>>>>>
>>>>>
>>>>
>>>> -- 
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to