Inconvenient behaviour difference between bazaar on linux and windows(MinGW/Msys)

Eli Zaretskii eliz at gnu.org
Fri Apr 6 09:51:14 UTC 2012


> Date: Fri, 06 Apr 2012 11:59:37 +0300
> From: Alexander Belchenko <bialix at ukr.net>
> Cc: Bazaar <bazaar at lists.canonical.com>
> 
> David Ingamells пишет:
> > I have a branch in a filesystem that is shared between ubuntu (NFS 
> > mount) and windows machines (CIFS/Samba mount).
> > The repository was created on the ubuntu machine, but when I go to the 
> > windows machine and call (e.g.) 'bzr revno' I get an error:
> > 
> >    bzr: ERROR: Invalid url supplied to transport:
> >    "file:///data/id/CmsRoot/repos/MScms/Admin/": Win32 file urls start
> >    with file:///x:/, where x is a valid drive letter
> > 
> >    $ ls -a /data/id/CmsRoot/repos/MScms/Admin
> >    .  ..  .bzr
> >    $ uname -a
> >    MINGW32_NT-6.1 WIN7VM03 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
> > 
> > 
> > This may well be because the standard pre-built windows Bazaar installer 
> > has been used, but the windows terminal is using MinGW and Msys; bzr was 
> > called from MSys using 'cmd'.
> > If so does anyone have any advice for installing Bazaar (and by 
> > implication python) in this MinGW+Msys environment?
> 
> Cygwin?

Not exactly, but similar: MSYS is a fork of (an old version of)
Cygwin, and one of the main things it does is support Unix style
/foo/bar file names.

If I were the OP, I would simply refrain from invoking bzr from the
MSYS Bash or from other MSYS tools.




More information about the bazaar mailing list