[Distutils] mercurial update problem with pip

Fabian Sturm f at rtfs.org
Tue Oct 19 13:19:54 CEST 2010


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:


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
   File "/usr/lib/python2.6/dist-packages/pip.py", line 1486, in  
   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  
     % (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,

This message was sent using IMP, the Internet Messaging Program.

More information about the Distutils-SIG mailing list