Breezy 2019 summer sprint report
jelmer at jelmer.uk
Mon Aug 19 21:21:37 UTC 2019
On Mon, Aug 19, 2019 at 07:24:24PM +0100, Sam Bull wrote:
> On Mon, 2019-08-12 at 22:55 +0000, Jelmer Vernooĳ wrote:
> > This is not a valid URL; the bit in the netloc after the : should have
> > a part, you'd want to replace the second : with a / so the URL is:
> > brz branch git+ssh://email@example.com/atlassian/python-bitbucket.git
> That works. As most people are accustomed to just copying the command from
> bitbucket or github, it would be nice to catch this kind of user error and
> present an example of the correct format for a Git repository.
Does bitbucket suggest that specific URL anywhere though? If you use a
non-specific rsync-style URL like
git at bitbucket.org:atlassian/python-bitbucket.git, Bazaar says:
brz: ERROR: Unsupported protocol for url "ssh://firstname.lastname@example.org/atlassian/python-bitbucket.git": Use bzr+ssh for Bazaar operations over SSH, e.g. "bzr+ssh://email@example.com/atlassian/python-bitbucket.git". Use git+ssh for Git operations over SSH, e.g. "git+ssh://firstname.lastname@example.org/atlassian/python-bitbucket.git".
Which does have the right formatting.
> However, it would be great to have support for checkouts (in the Bazaar sense);
> is this infeasible to implement on a Git repo or does it just need some extra
This isn't easily possible since the Git format doesn't support it. In
theory you can have a Bazaar branch to a remote Git branch, but this
comes with all sorts of other issues converting back and forth.
> Also, is there any kind of shortcut to brz push a new branch to the origin. i.e.
> in Git I would:
> git checkout -b foo
> git push
> # Git then gives an error with a copy/paste command to push it correctly
> (this need to copy/paste is annoying, but better than nothing).
Not yet, but that's a good point. We're planning a larger overhaul of
the bookmarks/location aliases system, and that's definitely something
we should try and support.
Jelmer Vernooĳ <jelmer at jelmer.uk>
PGP Key: https://www.jelmer.uk/D729A457.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the bazaar