[Distutils] mercurial update problem with pip
Fabian Sturm
f at rtfs.org
Tue Oct 19 13:19:54 CEST 2010
Hi,
I am using pip version 0.3.1 on Ubuntu Linux 9.10 to install django-piston
in a virtualenv.
Since I need a specific version of django-piston I have the following
entry in the requirements.txt file:
-e
hg+http://bitbucket.org/jespern/django-piston@dc0ee00d3bfc#egg=django-piston
The first time the install works fine with pip but on the second time
I get the following error:
Command hg fetch -q failed with error code 255
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
self.run(options, args)
File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
requirement_set.install_files(finder, force_root_egg_info=self.bundle)
File "/usr/lib/python2.6/dist-packages/pip.py", line 1741, in install_files
req_to_install.update_editable()
File "/usr/lib/python2.6/dist-packages/pip.py", line 1486, in
update_editable
version_control(self.url).obtain(self.source_dir)
File "/usr/lib/python2.6/dist-packages/pip.py", line 2942, in obtain
call_subprocess(['hg', 'fetch', '-q'], cwd=dest)
File "/usr/lib/python2.6/dist-packages/pip.py", line 3543, in
call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command hg fetch -q failed with error code 255
If I run "hg fetch -q" manually in the django-piston repository I get:
abort: working dir not at branch tip (use "hg update" to check out branch tip)
mercurial is at version 1.3.1.
Any ideas what is wrong and how I get it to work?
Thanks a lot,
Fabian
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the Distutils-SIG
mailing list