bzr command limited to one file

Bug #174389 reported by HPO
2
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Triaged
Wishlist
Unassigned

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...

Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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)

Regards,

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.