bzr init bug

James Blackwell jblack at merconline.com
Sun Feb 5 10:05:28 GMT 2006


On Sat, Feb 04, 2006 at 11:10:15PM +0200, Nir Soffer wrote:
> 
> mkdir foo
> cd foo
> bzr init
> mkdir bar
> cd bar
> bzr init
> 
> Do you get a versioned directory inside a versioned directory?

When in doubt, I test it out. =)

According to the bzr I'm running one can always init a previous uninitted
directory regardless of whether its been added to a parent branch.

The behaviour gets confusing pretty quickly; files in the subbranch are
listed as unknown in the parent branch. At the same time, add
subbranch/file doesn't report that the file wasn't added, instead
returning with no output.

For just a moment I almost became convinced that a directory could be a
part of two branches at the same time. That would be rather odd behaviour
that I can actually see use cases for if I squint hard enough. :)


> 
> 
> Best Regards,
> 
> Nir Soffer
> 

-- 
My home page:   <a href="http://jblack.linuxguru.net">James Blackwell</a>
Gnupg 06357400  F-print AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060205/09f7c1f1/attachment.pgp 


More information about the bazaar mailing list