"bzr ignore" behavoir

Alexander Belchenko bialix at ukr.net
Fri Dec 9 14:33:53 UTC 2011


I have a question: is there any difference for bzr between "./foo" and 
"./foo/" in the .bzrignore file?

At least `bzr ignore` behaves strange IMHO:

C:\Temp\2>bzr init
Created a standalone tree (format: 1.14)

C:\Temp\2>bzr ignore "./foo/"

C:\Temp\2>bzr diff
=== added file '.bzrignore'
--- .bzrignore  1970-01-01 00:00:00 +0000
+++ .bzrignore  2011-12-09 14:32:25 +0000
@@ -0,0 +1,1 @@
+./foo


Why has it been added to .bzrignore without trailing slash? Is it 
something win32-specific and related to custom command-line parsing code 
with glob expanding?




More information about the bazaar mailing list