X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 10 Sep 2008 16:02:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Feature Request: bzr package only works within cygwin Message-ID: <20080910200227.GB22653@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, Sep 10, 2008 at 04:27:30PM +0200, Phillip Lord wrote: >The cygwin package of bzr works only within cygwin bash. This is not >true to cvs or svn which work outside; for example, within a dos shell, >"bzr" gives "No such program" errors. > >Likewise, cygwin bzr doesn't work properly with Emacs vc-bzr.el -- >again, with no such program errors. If bzr is a script it will work correctly with any Cygwin program. >The reason for this is that bzr is a python script and uses the magic ! >line to find it's interpreter. Neither DOS nor Emacs vc-bzr.el interpret >this correctly. The alternative which is a windows native bzr works >fine, but doesn't do symlinks properly. > >One solution to this would be to put a bzr.bat command into >c:/cygwin/bin which launches python explicitly. I've tried this with the >script below and it seems to work fine. It doesn't interfere with cygwin >because the bzr script (in the same directory) gets called in preference >when bash is running. > >Would it be possible to get this added to the cygwin package? No. We don't add .bat files to Cygwin. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/