re 0.15rc3/win32: bug report, suggestion and question

John Arbash Meinel john at arbash-meinel.com
Sun Apr 1 16:24:39 BST 2007


Andrew Voznytsa wrote:
> John Arbash Meinel wrote:
>> (If you want to get your hands dirty, you could just edit
>> .bzr/branch/location directly, but it isn't something I would recommend)
>>
>>
>>   
> Actually I did it already (a few files were modified there) and after
> 
> bzr add
> bzr commit
> 
> got
> 
> 
> bzr: ERROR: Cannot commit to branch
> BzrBranch5('file://host/repository/module/'). It is bound to
> BzrBranch5('file://host/repository/module/'), which is bound to
> file://host/repository/module/.
> 
> 
> bzr log or status works OK.
> 
> 
> Do you have an idea of what should I do to make it working?
> 
> 
> (If it takes to long to give advice/explain/etc don't bother - I'll just
> restore backup and do 'bzr switch')
> 
> 
> Thanks,
> Andrew Voznytsa
> 
> 

Unless I miss my guess, you pointed a lightweight checkout at itself. It
is hard to say for sure, since I don't know how you replaced strings.

If it was just how you replaced the strings, then point your local
(lightweight) checkout at the original branch.

As an example you seem to have:

C:\mywork\.bzr\branch\location => file:///C:/mywork

But I would hope that you would at least have:

C:\mywork\.bzr\branch\location => file:///M:/sharedwork

But M:\sharedwork is actually a heavy checkout of M:\repo\sharedwork

So you need to change

C:\mywork\.bzr\branch\location => file:///M:/repo/sharedwork.

I hope that is more helpful than confusing.

John
=:->



More information about the bazaar mailing list