bzr repository upgraded to 2a format and restructured

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 13 Sep 2012 00:25:12 +0200

As per prior discussions the bzr repository have now been upgraded to 2a
format.

New master repository layout is a flat layout with branches

   trunk
   3.2
   3.1
   3.0

more branches will be migrated over on a need basis.

There is also branches/... symlinks in place so old branch URLs continue
to work as well for those branches.

Unfortunately upgrading to 2a means you need to upgrade your local
repository as well if you haven't already or you won't be able to pull
changes from the master repository. There is a couple of methods for
doing that depending on if you are impatient or lazy

The simple but slow method is by running

  bzr upgrade --2a

this will upgrade your repository in-place to 2a format, but due to the
fairly long history of Squid it takes a while as it replays the whole
history to the new format.

A somewhat faster method is to create a new repository branching from
the master 2a repository, and then migrate over your branches there. An
example of that follows

  bzr init-repo squid-new

  bzr branch bzr+ssh://bzr.squid-cache.org/bzr/squid3/trunk squid-new/trunk

  bzr branch bzr+ssh://bzr.squid-cache.org/bzr/squid3/3.2 squid-new/3.2

  [repeat for each version you need]

  bzr branch path/to/local-branch-1 squid-new/local-branch-1

  [repeat for each local branch]

exact details differ slightly depending on what kind of local repository
& branch model you use. Feel free to grab me (or perhaps
Robert/lifeless?) on irc if there is any doubt.

Note: if you already have some 2a tree but not all then you can branch
that into the repository first to speed up the initial download.

Regards
Henrik
Received on Wed Sep 12 2012 - 22:25:28 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 13 2012 - 12:00:06 MDT