Upgrading Repository Formats for a whole Launchpad Project

Asked by Alex Harrington

Hi

I'm working on the Xibo project which is hosted in Launchpad (https://code.launchpad.net/xibo).

The development work is done cross-platform so we're constantly having problems with line endings, both when building release files and when looking at diffs.

We want to upgrade all the development team to using the 1.14 format so that we can use the line endings conversion tool. I've written up a rules file and put it in my .bazaar folder. You can see a copy I've checked in to the repo here for the other devs to use:
http://bazaar.launchpad.net/~alexharrington/xibo/line-end-test/annotate/head%3A/rules

Next I branched lp:xibo/1.0, fixed up all the line endings so that the use Unix style, and committed the changes. I then did bzr upgrade --1.14 to pull the branch up to working format 5 as per the documentation. I then pushed that up to lp:~alexharrington/xibo/line-end-test

If I now branch that on a Windows PC using 1.17 with the same rules file in %APPDATA%/Bazaar/2.0/rules I don't seem to get the line end conversion, and if I do bzr info -v, I see it's using working format 4 again.

What sequence of events do I need to go through to convert lp:xibo/1.0 to the new format, so that the developers branching that will use the new format, and hence loose the line endings issues we've had till now?

Cheers

Alex

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

Hi,

As an immediate workaround you can try upgrading the checkout after
you've made it. It's a bit surprising that it's not working
automatically, but I think this may be a bug.

--
Martin <http://launchpad.net/~mbp/>

Can you help with this problem?

Provide an answer of your own, or ask Alex Harrington for more information if necessary.

To post a message you must log in.