Unknown bzrdir format: 'Bazaar-NG meta directory, format 1\r\n'

Asked by Ricardo Soares de Lima

I've just installed bazaar version 2.3.4. Copied the a directory contanining a bazaar repo from another machine where bazaar version 2.2.0 was installed. Now I'm getting this error message for every single command sent:
bzr: ERROR: Unknown bzrdir format: 'Bazaar-NG meta directory, format 1\r\n'

Apparently the repo's format is the same, how can I fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Ricardo Soares de Lima
Solved:
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

I don't think it should be \r\n. It sh ould be just \n. Which means however
you copied the reply, you changed line endings. Since much of .bzr is in
binary form, I'm pretty sure other files will be corrupted. You'll want to
redo the copy without changing line endings. (If using ftp, that means
"binary" mode)

John
=:->
On Sep 18, 2011 7:32 AM, "Ricardo Soares de Lima" <
<email address hidden>> wrote:
> New question #171523 on Bazaar:
> https://answers.launchpad.net/bzr/+question/171523
>
> I've just installed bazaar version 2.3.4. Copied the a directory
contanining a bazaar repo from another machine where bazaar version 2.2.0
was installed. Now I'm getting this error message for every single command
sent:
> bzr: ERROR: Unknown bzrdir format: 'Bazaar-NG meta directory, format
1\r\n'
>
> Apparently the repo's format is the same, how can I fix this?
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.

Revision history for this message
Ricardo Soares de Lima (ricardo-soaresdelima) said :
#2

Thank you John! I retransfered the directory and in binary mode and it worked.