The path of hgproc.py is read from an environment variable or hard coded
in nautilus-thg.py.
New approach: place hgproc.py in the python path. Import a small module
which is in the same place. Get the path of this module by calling its
__file__ property. Replace the filename with hgproc.py.
The current behaviour can be used as a fallback.

There is currently no tortoise module which must be imported by
nautilus-thg. But I hope there will be soon. I think it would be an
advantage to share code between linux and Windows. I try to extract the
os independent parts for menu creation and caching. So everybody would
profit from menu improvements.
Maybe hgproc should be in the same directory as this new ones. What name
do you suggest? tortoise is used for windows. Is thgcommon suitable?

Any feedback to those topics? Shall I go on?

Greetings
simohe


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to