On Wed, Jun 14, 2023 at 08:54:23AM -0700, Steve Langasek wrote: > On Wed, Jun 14, 2023 at 03:29:11PM +0200, Paride Legovini wrote: > > What happens is that Breezy finds the lp: shorthand and resolves it to a > > Git URL, then fails if we were actually pointing it to a Bazaar repo. > > > For example this fails on my Mantic system if I use lp: for Git: > > > bzr branch lp:~ubuntu-core-dev/meta-release/ubuntu > > > I now use lpad: as a shorthand for Launchpad Git repos: > > > [url "ssh://par...@git.launchpad.net/"] > > insteadOf = lpad: > > I had encountered this behavior, but hadn't realized it was on account of my > own git config! > > For my part, I dug through the code and discovered that lp+bzr: > (undocumented AFAIK) works to force the use of bzr. Since I do a lot more > git checkouts that bzr from Launchpad these days (a trend that is only > likely to continue), this is what I'm sticking with, reserving the shorter > shortcut for git.
My hero! I also mostly use git these days, but I still need to use bzr often enough that having to type out the full URL had become a noticeable annoyance. lp+bzr: definitely helps. -- Colin Watson (he/him) [cjwat...@ubuntu.com] -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel