broken handling of properly quoted relative paths

Martin Steigerwald Martin at lichtvoll.de
Fri Jun 22 09:44:52 BST 2007


Hi!

I am a new subcriber to this list... I have written a Bazaar article for 
german Linux-Magazin. I posted about it here some time ago. I use Bazaar 
regularily and really like it.

However today I found a slight problem:

martin at shambala:~> find -type d -and -name ".bzr" -printf "%h\n" | 
xargs -n1 -i{} echo bzr check \"{}\"
bzr check "./Geburtstag 2007"
bzr check "./.crm114"
bzr check "./Computer/Mondschein/Konfiguration/etc"
bzr check "./Linux/LUSC/WorkshopWeekend2006/Automatische 
Netzwerk-Konfiguration"
[...]

IMHO should not lead to:

martin at shambala:~> find -type d -and -name ".bzr" -printf "%h\n" | 
xargs -n1 -i{} bzr check \"{}\"
bzr: ERROR: Not a branch: /home/martin/"./Geburtstag 2007"/
bzr: ERROR: Not a branch: /home/martin/"./.crm114"/
bzr: ERROR: Not a 
branch: /home/martin/"./Computer/Mondschein/Konfiguration/etc"/
bzr: ERROR: Not a 
branch: /home/martin/"./Linux/LUSC/WorkshopWeekend2006/Automatische 
Netzwerk-Konfiguration"/

When expanding path names Bazaar should take quotes into respect. Without 
Quotes it won't work here, cause some directory names contains spaces.

Will work around this now... and tell you why I actually want to check all 
my Bazaar repos...

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070622/a3111803/attachment.pgp 


More information about the bazaar mailing list