Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 12 #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Issue 12 #13

wants to merge 2 commits into from

Conversation

putermancer
Copy link

This patch addresses issue 12 described here: https://github.com/termie/git-bzr-ng/issues/#issue/12

There may be a better way of doing this. For example, storing it along with the other config options and passing it along to init_repo based on the desired branch, a la:
[bzr "master"]
bzr = bzr/master
format = pack-0.92

However, this did not look trivial, as init_repo seems to be frequently called without reference to a specific branch just to make sure directories are created. It could be that I missed something.

With this patch, you can do git bzr clone --format=pack-0.92 PATH_TO_BZR_REPO and then directly do git bzr push without specifying the format again -- though the push, sync, etc commands do also take a --format option if one desires to pass it for when init_repo is called to make sure the directory exists. I assume that the directory should only NOT exist if the user has done something weird / manual, thus being able to specify it manually for the other calls seemed to make sense.

…h older-style repos (ie pack-0.92) on newer versions of bzr that default to something else (ie 2a)
@termie
Copy link
Owner

termie commented Dec 16, 2010

awesome, i'll take a look

@rbrito
Copy link

rbrito commented Jan 4, 2013

@termie, did you have a time already to look at the pending pull requests? For instance, this comment of yours is 2 years old now...

@TimothyGu
Copy link

@termie seriously did you really look at the patch? If you are not really working on git-bzr-ng just say it!

@termie
Copy link
Owner

termie commented Jun 3, 2013

i haven't spent much time looking at these pull requests, no, i was working on fixing an old bug and eventually got demotivated by having to continue to work with bzr (i wrote this thing because i hate bzr), i am okay giving somebody else access to the repo if they want to go through a bit and merge comment on things, and can look into transferring maintainerness if somebody is interested

@bloveridge @rbrito @TimothyGu

@arvidjaar
Copy link

Current GIT includes bzr remote helper which allows to use native git interface (git pull/git push) with bzr repo. It has its share of issues, of course. May be it makes sense to try to improve it.

@rbrito
Copy link

rbrito commented Jun 4, 2013

Hi.

On Mon, Jun 3, 2013 at 3:34 PM, Andrey Borzenkov
[email protected] wrote:

Current GIT includes bzr remote helper which allows to use native git interface (git pull/git push) with bzr repo. It has its share of issues, of course. May be it makes sense to try to improve it.

For all intents and purposes, git's version of bzr allows me to clone
repos that I couldn't with git-bzr-ng. It would be best if the best
features of this project could be transplanted to git, so that we
could have "one tool to rule them all".

Regards,

Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

@TimothyGu
Copy link

Agreed with @rbrito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants