[08:59] sort of morning === mmrazik is now known as mmrazik|lunch === mmrazik|lunch is now known as mmrazik === mmrazik is now known as mmrazik|otp === mmrazik|otp is now known as mmrazik [15:38] Hi All. I have bzr installed on a windows box and trying to get post-commit emails working. I think I have everything in place but no mails are being sent. [15:39] I thought I'd look in the trace (log?) but can't find it. [15:39] If I do a "bzr help commands" at the command prompt I am getting "failed to open trace file [Errno: 13] Permission denied". [15:39] Is this trace file == the log file? [15:40] ...and where should it be? [15:40] If I don't know where to look I can't check the permissions :-( [15:41] I set the BZR_LOG environment variable (with "SET BZR_LOG=") and now get "failed to open trace file [Errno: 22] Invalid argument". [16:00] euphogeeza: `bzr version` will tell you where the log file resides [16:01] euphogeeza: look for the 'Bazaar log file' line [16:05] LarstiQ: OK Thanks. I'll go look... [16:08] LarstiQ: OK I see the path "D:\Server Data\BZR" is listed... [16:08] euphogeeza: that's a slightly weird path for the log [16:09] euphogeeza: is BZR_HOME set? [16:09] because that might influence the path [16:11] LarstiQ: yes and BZR_LOG. I tried to force bzr to write to a location which I knew. [16:11] LarstiQ: both set to "D:\Server Data\BZR" [16:12] LarstiQ: ...no log file created though. [16:12] euphogeeza: so if you're setting BZR_LOG, try "D:\Server Data\BZR\.bzr.log" [16:14] LarstiQ: trying it now... [16:19] LarstiQ: :-( still no log file created. Where is the default location that the log file, if BZR_LOG is not set? [16:23] euphogeeza: home = osutils._get_home_dir(); return os.path.join(home, '.bzr.log') [16:23] which on windows is *looks up* [16:24] pff [16:25] euphogeeza: quite a bit of code [16:25] euphogeeza: if you unset BZR_LOG and BZR_HOME, what does it show? [16:28] we wrote this – http://paste.ubuntu.com/1372760/ – to figure out the timestamp of the first commit made in a branch that then got merged into trunk. [16:28] is there a faster way of doing it? === deryck is now known as deryck[lunch] [16:30] LarstiQ: I unset BZR_LOG only, then bzr version => "D:\Server Data\"\.bzr.log ??? [16:31] I unset BZR_HOME also, and bzr version now returns: d:\local_data\My Documents\.bzr.log [16:31] euphogeeza: aha to the latter [16:31] euphogeeza: to the former, wait, are the " included? [16:31] euphogeeza: that would be problematic [16:32] LarstiQ: yes. I have now found the .bzr.log. Yey! [16:32] euphogeeza: good :) [16:33] LarstiQ: I now have something to look at while trying to find the reason for post commit emails not being sent. Some thing for tomorrow. Many thanks for your help. [16:33] euphogeeza: np [16:45] http://paste.ubuntu.com/1372793/ <- two versions of getting the timestamp of the first revno of a branch [16:46] I wonder which is faster / better [16:46] james_w: ^^ [16:47] it cheats [16:54] jml, cunning [16:54] no idea which is better [16:58] I wonder if any of the experts in bzr internals monitor this channel any more. [17:01] they do, but not as intensively as in the past === yofel_ is now known as yofel [17:05] jml: Graph.find_lca? === r0bby is now known as robbyoconnor [17:07] LarstiQ: I want the non-leftmost revision immediately after the lca, I think [17:07] * LarstiQ nods [17:07] Ideally, if there were some way of retrieving when 'bzr branch' were run, that would be even better. [17:08] jml: something with a pre_command hook? [17:09] LarstiQ: yeah, maybe that might be a good thing to do in future. [17:16] jml: I'm too exhausted to come up with a better response, sorry :/ [17:16] LarstiQ: no worries [17:16] LarstiQ: thanks for the help === deryck[lunch] is now known as deryck === milleja46_ is now known as milleja46 [20:23] I have a repo on a server I own which I push to via ssh. What's the easiest way that I can, on that server, when a new rev is pushed to trunk, automatically export trunk to a folder? (for deployment) I don't need jenkins or other super-complex stuff like that just yet :) === mmrazik is now known as mmrazik|afk