/srv/irclogs.ubuntu.com/2012/10/02/#bzr.txt

=== mmrazik is now known as mmrazik|otp
mgzmorning!07:58
jelmermoin08:15
=== mmrazik|otp is now known as mmrazik
christiankmgz: I will be in this channel today in case you have further questions regarding the bug we discussed yesterday.08:58
=== mmrazik is now known as mmrazik|lunch
mgzchristiank: thanks. I won't be able to do anything else on it till this evening.09:23
christiankmgz: Thanks for letting me know. I will try to be on this channel tomorrow as well then.09:57
=== mmrazik|lunch is now known as mmrazik
* christiank is away: Lunch10:40
* christiank is back (gone 01:04:14)11:44
mark06why has bzr set a wrong time for my commit? http://bazaar.launchpad.net/~renatosilva/pidgin/windev/revision/1213:40
mark06right time was 1h earlier, 23h39 GMT-313:40
delinquentmehttps://gist.github.com/ff315efc13d0582ed809  <, I've got this guy and I was assuming that bzr would make a fast forward commit here14:11
delinquentmebut it didint14:11
delinquentmeSO14:11
delinquentmeOK another user has branched my redesign branch ... they've made edits .. and pushed up14:16
delinquentmei had subsequenly made another commit14:16
delinquentmewe're both on revno 15014:16
delinquentmebzr merge gives me "Nothing to do."14:17
mgzmark06: I wouldn't trust bzr for an alibi, but I'd be surprised if it was an issue there rather than with your system time14:22
mgzmark06: pastebin the section of your .bzr.log (find it with `bzr version`) that corresponds to the commit?14:22
mgzdelinquentme: are you trying to merge the right thing?14:23
mgzcreate a local copy of his version of your branch, merge that into your branch, then push the result14:24
delinquentmemgz, so i should branch his branch14:25
delinquentmemerge14:25
delinquentmeand then push to mine?14:25
mgzyup, though you can do the merge in either direction14:26
delinquentmeok so mgz im a bit confused here ... so I'm running a merge between two branches right?14:27
mgzyes.14:27
delinquentmehowever I thought with bzr branches correspond to file14:27
delinquentmefiles*14:27
delinquentmeright?14:27
delinquentmeso if there are two branches .. there then would be two files?14:27
mgz...that doesn't mean anything to me14:27
delinquentmeI mean that if you've got a project14:28
delinquentmethat project has a primary branch ( canonically named trunk ) as well as b1 b2 b314:28
mgzright, but that's just convention14:29
mgzthere's nothing special about any of those14:29
mgzif I have a change on trunk, someone else pushes a change to trunk, I can merge his change and push my branch with:14:29
mgz`bzr merge -d trunk lp:PROJECT && bzr commit trunk && bzr push -d trunk lp:trunk` (with 'trunk' being my copy of the branch in the cwd)14:31
mgzlp:PROJECT in both places, rather14:35
fullermdAnd then he can show up on #bzr wondering why bzr lost his commit  ;p14:36
mgzwell, yes, but the merge should be pretty obvious :)14:37
mgzI'm not going into append_revisions_only fun14:37
drostieI don't know the technical term for this, maybe 'underlying object structure' or so -- can anyone point me to a doc on the 'physics' of how bazaar conceptualizes versions/branches and stores them and so on?14:52
drostieI'm trying to build an accurate mental model of what's going on 'behind the scenes' in various revision control systems.14:52
mark06mgz: I'll need to do some test as I don't use .bzr.log, but this is later as the PC with problem is not at hands14:59
mgzdrostie: see <http://doc.bazaar.canonical.com/bzr.2.5/en/user-guide/core_concepts.html> and the bits under <http://doc.bazaar.canonical.com/bzr.2.5/developers/> and the docstrings in the source as needed15:00
mark06mgz: that was bzr in windows + mingw msys, any clue? even if date command mistakenly swicthed to DST, I wouldn't think bzr would reply on it15:01
mark06mgz: or is bzr sensitive to TZ env var?15:01
mgzmark06: .bzr.log happens automatically, or do you mean you redirect it to /dev/null15:01
mark06s/reply/rely15:02
mgzprobably windows knew the correct tz adjustment then but mingw was confused, I'd guess15:02
mark06mgz: yes, BZR_LOG=nul (under Windows)15:02
mark06mingw is not confused15:02
mark06everything is allright, only bzr is doing abd things here15:02
mgzbzr uses whatever the python gets from the system, which is different on native windows an emulated nix15:03
mark06the only exception would be some mistake in TZ so that DST has been activated earlier (which I need to check later), but even so it's crazy bzr relying directly on TZ or even date, no?15:04
drostiemgz: thanks, will look at it! :D15:04
mgzif `python -c "import datetime;print datetime.datetime.now()"` prints the right thing, I think that's what we go from15:05
mgzor, specifically, look at local_time_offset/format_date in bzrlib.osutils15:06
mark06I'll check later mgz, thanks15:10
diddlyhi, i'm trying to set up a centralized repo following http://wiki.bazaar.canonical.com/SharedRepositoryTutorial but I don't think the SGID part is working, directories don't inherit the g+w bit15:25
fullermdsgid doesn't make them inherit g+w, it makes [SysV-ish filesystems] inherit the group ownership.15:26
diddlythen i'm misunderstanding the instructions I think?15:27
fullermdNo, you're probably more stepping outside of them.15:28
fullermdAnd/or you're hitting the bug where bzr doesn't propagate perms on newly created branches.15:29
diddlyfullermd: so i'll need to manually set it when branches are created?15:30
diddly(ie on the server-side)?15:30
fullermdSimplest solution.  In some cases you can also get away with playing umask games, etc.15:31
diddlyyea, I want to avoid that, it would probably make worse issues :)15:31
diddlywhat bug id# are you referring to?15:31
fullermdDunno.  Lemme see if there's one filed.15:32
diddlyfullermd: ohh, no thats ok I thought you had already looked it up15:32
fullermdOnly insofar as it's a long-standing shortcoming that I know about.15:33
fullermdbug 403250 talks about it, looks like.15:34
ubot5Launchpad bug 403250 in Bazaar "branching in a shared repo doesn't inherit permissions" [Medium,Confirmed] https://launchpad.net/bugs/40325015:34
diddlyfullermd: wow thank you much for helping me with this!15:36
=== mmrazik is now known as mmrazik|otp
delinquentmeget the last commited version of a file?16:43
delinquentmeIE undo the edits made in the working tree?16:44
mgz`bzr revert file`16:44
mgz`bzr cat file` if you just want to look at it16:44
=== mmrazik|otp is now known as mmrazik
=== yofel_ is now known as yofel
zygavila: ping22:44
zygaanyone around, could I get a pair of eyeballs on https://code.launchpad.net/~zkrynicki/bzr/find_ancestors/+merge/12761023:14

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