bzr command limited to one file

Bug #174389 reported by HPO on 2007-12-06
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse

Bug Description

In the settings, I have to define the bzr command to execute. However, the entry is limited to ONE FILE.

I may however like to start bzr with a more complex command, like:
/usr/bin/python bzr

As this string does not denote a single file, the plugin reports an error. The line (and attached commands) are executable CLI, though...

Guillermo Gonzalez (verterok) wrote :

Thanks for reporting this.
To solve this you can write a script that execute the complex command to start Bazaar and put this script in the "Executable" field.
I'll set this as a "wishlist", because I don't quite understand why a eclipse user should have to set a complex command to run bazaar. The bzr executable already have "/usr/bin/env python" at the top of it, so it'll choose the python interpreter installed system-wide.

Changed in bzr-eclipse:
importance: Undecided → Wishlist
status: New → Triaged
HPO (hpo) wrote :

It does - in a real os environment.... At work, however, I have to use a mixed windows/cygwin host. And as windows "scripts" are a PITA, I had to write a small executable wrapper... Still, calling the (executable) python interpreter with parameters is far easier.

Guillermo Gonzalez (verterok) wrote :

Thanks for further detailing the issue.
The library that bzr-eclipse uses under the hood, improved it handling of bzr.bat executable, so now just pointing the bzr.bat shipped with the bzr distribution for windows (or bzr.exe) should work ok.
This bug, possibly is going to be addressed as part of future work on supporting relative path in the executable field. (see Bug #275912)


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers