Hi Ashit,

On 02/20/09 10:35, ashit kumar nayak wrote:
> When am trying to set the path I am getting the following massage. I have 
> added SUNWmercurial. I have also sunstudioexpress.
>
> ashit at opensolaris:/#PYTHONPATH=$(hg root)/proto/root_$(uname 
> -p)/usr/lib/python2.4/vendor-packages
>
> abort: There is no Mercurial repository here (.hg not found)!
>
> can u plz tell me why is it showing like this?

You need to invoke this command from within the IPS source tree -
e.g. from subdir where you ran 'make' to import packages into IPS repo:

# pwd
/
# hg root
abort: There is no Mercurial repository here (.hg not found)!

# cd /export/home/dambi/ws/gate/src/util/distro-import
# pwd
/export/home/dambi/ws/gate/src/util/distro-import
# hg root
/export/home/dambi/ws/gate

# PYTHONPATH=$(hg root)/proto/root_$(uname 
-p)/usr/lib/python2.4/vendor-packages
# echo $PYTHONPATH
/export/home/dambi/ws/gate/proto/root_i386/usr/lib/python2.4/vendor-packages
# export PYTHONPATH

Cheers,
Jan


Reply via email to