You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already have a "shared repository" at .. relative to the forest of Bazaar branches I have. This is a common pattern, and how you avoid having a full copy of the revisions inside each branch. So, we have a ["shared] Repository ["] at ~/src/project with
~/src/project/.bzr/repository/packs/*.pack
and then many Branches (with Working Trees), each with branch metadata:
So rather than pulling from a remote (ie launchpad) branch, I'm working locally where all the revisions are already present., Using git-bzr-ng to create a git mirror,
$ cd ~/src/project
$ git bzr clone mainline converted
works fine [awesome!], creating ~/src/project/converted with a Git tree in it as expected. However, your design for holding Bazaar revision info quietly inside its .git means that we have a second copy of the same information:
Would it be possible instead to use the existing information at:
~/src/project/.bzr/repository/packs/*.pack
? This would seem morally equivalent to git clone's --shared or --reference arguments; I'd be fine with having to manually specify the location, though bzr itself searches parent directories for a repo with the required revisions, so in a way I was surprised that your code overrode that. Fair enough, but if we could share revisions then it would save a lot of disk space.
AfC
The text was updated successfully, but these errors were encountered:
Doing conversions from Bazaar to Git locally.
I already have a "shared repository" at
..
relative to the forest of Bazaar branches I have. This is a common pattern, and how you avoid having a full copy of the revisions inside each branch. So, we have a ["shared] Repository ["] at~/src/project
withand then many Branches (with Working Trees), each with branch metadata:
and so on.
So rather than pulling from a remote (ie launchpad) branch, I'm working locally where all the revisions are already present., Using git-bzr-ng to create a git mirror,
works fine [awesome!], creating
~/src/project/converted
with a Git tree in it as expected. However, your design for holding Bazaar revision info quietly inside its.git
means that we have a second copy of the same information:Would it be possible instead to use the existing information at:
? This would seem morally equivalent to
git clone
's--shared
or--reference
arguments; I'd be fine with having to manually specify the location, though bzr itself searches parent directories for a repo with the required revisions, so in a way I was surprised that your code overrode that. Fair enough, but if we could share revisions then it would save a lot of disk space.AfC
The text was updated successfully, but these errors were encountered: