[BUG] bzr mkdir subdir fails... -> patch: test+fix

Alexander Belchenko bialix at ukr.net
Fri Nov 11 22:11:20 GMT 2005


John A Meinel пишет:
> Actually, there should be a simpler fix:
> 
> if not b:
>     b, dd = Branch.open_containing(d)
> else:
>     dd = b.working_tree().relpath(d)
> 
> b.add([dd])
> print 'added', dd

Probably there is should be more complicated test for your variant
because this mkdir implementation have two different ways of execution
for first maked directory and next directories.

Alexander





More information about the bazaar mailing list