re 0.15rc3/win32: bug report, suggestion and question
Andrew Voznytsa
andrew.voznytsa at gmail.com
Mon Apr 2 13:42:06 BST 2007
John Arbash Meinel wrote:
> 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.
>
>
>
Story continues.
I've PC, let's name it 'host'. There, on disk E, I did:
mkdir e:\repository
started sshd,
in cygwin mapped/mounted e:\repository on /repository
init-repo --no-trees sftp://username@host/repository
init sftp://username@host/repository/module
imported some struff
did a lot checkins, checkouts, etc; in two words - worked without any
problems
After some time I dropped sshd.
shared e:\repository as \\host\repository
now I'm trying
co --lightweight \\host\repository\module somewhere on disk D
works
After that changed something and
ci
and I'm getting
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/.
NOTE:
- There was no manual editing any of .bzr files
- Chekouts were done on the same PC ('host') but in dofferent place.
- Heavy checkout was in progress some time and failed with
'bzr: ERROR: [Errno 22] Invalid argument'
I guess it was between 1/4 and 2/4 stages
- Situation is common for 0.14 and 0.15
Could anyone tell me what's wrong?
Best regards,
Andrew Voznytsa
More information about the bazaar
mailing list