/srv/irclogs.ubuntu.com/2021/08/17/#bzr.txt

gtristanAny idea how to get around this error "ERROR: Unable to determine your name." without invoking `bzr whoami` and contaminating the user's preferences/configuration ?06:06
gtristanIt seems that BZR_EMAIL environment variable doesnt achieve this :-S06:07
gtristanverified that this is not an instance of https://bugs.launchpad.net/brz/+bug/1869178 (spelling error BRZ_EMAIL) - this seems particular to fedora 32, though :-S06:12
gtristanI see, I'm dealing with this other thing called "breezy"06:26
gtristanWhich also seems to use BRZ_EMAIL but that doesn't appear to fix anything06:27
gtristanoh scratch that, I was feeding in the env vars to the command invocation incorrectly it seems, fixed06:34
pabs3I'm trying to figure out how to do a merge, while preserving the commits from the contributor's branch, rather than having me as the committer/author06:34
pabs3bzr merge+commit doesn't do that 06:34
gtristanoh no it didn't, I had a breezy.conf while testing, still borked06:36
gtristan(Unfortunately I can't really help regarding the right merge command, I'm only marginally using bzr in a plugin for a build orchestration tool :-S)06:37
* pabs3 wishes git-remote-bzr was working06:39
gtristaneek this really seems broken :-S06:41
gtristanEven if I create ~/TEST/.bazaar/bazaar.conf and ~/TEST/.bazaar/breezy.conf giving a stand-in email configuration, `BZR_HOME="${HOME}/TEST" bzr whoami` still bails06:42
gtristan(with, or without the .bazaar/ subdir present, same result)06:43
gtristanI can work around this with `HOME="${HOME}/TEST" bzr whoami`, that's pretty dirty but should essentially work06:45
pabs3aha, I wanted bzr merge --pull06:59
gtristanOk I solved my confusion07:29
gtristanThe BZR_EMAIL / BRZ_EMAIL indeed *do* work as I expected them to, however they are only required (logically) at *write* time (when generating commits)07:30
gtristanI was observing problems in my test cases, and focusing on the plugin code which clones/checks out from bzr, but this part does not require the email...07:31
gtristanThe test scaffolding setting up the test repo however was only using BZR_EMAIL and not BRZ_EMAIL for breezy07:31
gtristanSolved :)07:31
=== tristan__ is now known as gtristan

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!