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

KombuchaKippoolie: Hey poolie. Question for you and everyone.00:41
pooliehey00:42
KombuchaKipAs bzr bundles go, does anyone suggest a file extension, such as .bundle? Or is .patch or .diff fine, even though they are more than vanilla unified diffs?00:42
pooliei'd say either .bundle or .diff00:42
KombuchaKippoolie: Ok.00:42
=== pikkachu is now known as pikkachuAway
=== pikkachuAway is now known as pikkachu
vilahi all06:53
mgrandihi06:53
vilablast, I almost fall for the freenode/acta announcement, time for another coffee ;)07:19
=== vila changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jelmer
mgzmorning all08:11
LarstiQhi mgz08:20
mgzhey LarstiQ08:20
poolieo/ mgz,larstiq08:49
mgzhey poolie08:49
=== bigjools-afk is now known as bigjools
ams_csjelmer: ping09:09
jelmerams_cs: pong09:14
ams_csjelmer: did you make any progress on the lp:gcc/4.7 merge problem?09:14
ams_csit is now getting urgent09:15
LarstiQheya poolie :)09:15
jelmerams_cs: no, not much unfortunately09:16
jelmeralso hi LarstiQ, poolie, mgz09:17
ams_csjelmer: hmm, if I were to take a diff from the upstream branch, and apply it to the local branch as a manual merge, would that be a problem when the problem is solved?09:21
* ams_cs is looking for work-arounds09:22
lifelessams_cs: as long as it doesn't add files, that should be fine09:25
ams_cslifeless: hmm, it almost certainly will add files09:26
lifelessits more complex if it does, because of file ids09:26
ams_cslifeless: if I revert the manual merge before doing the automatic merge, that would be ok as long as none of the new files had local modifications?09:27
jelmeryou should be able to create consistent file ids by using 'bzr add --file-ids-from'09:27
ams_csso, "bzr diff -r m..n lp:gcc/4.7 | patch -p1 && bzr add --file-ids-from" should DTRT?09:38
mgzyou need to supply a tree to take the file ids from, but yes, probably.09:39
mgz*branch09:40
mgz...or is it tree09:40
ams_csmgz: if I do the wrong one (tree v. branch), will it say so, or will it just silently fail?09:55
jelmerams_cs: it will just say "adding FILE" rather than "adding FILE w/ fileids from other tree" (or something along those lines)09:58
jelmervila: ping?11:34
vilajelmer: pong11:35
mgz...this query stuff is silly, most of what vila and I have been discussing this morning should just have been in a public channel11:37
jmlmgz: this is what you meant by defining __unicode__ to return something consistent? http://paste.ubuntu.com/911396/12:12
jmlmgz: context: https://code.launchpad.net/~frankban/testrepository/encoding-error/+merge/9820712:12
mgzah, yes, was going to respond to that today12:12
mgzjml: exactly12:13
jmlmgz: thanks.12:13
jmlmgz: I really appreciate your help with this.12:13
mgzand the reasoning is that then we don't need to worry about if the formatting of the exception *already* did the replacement of bytes, thereby invalidating the test12:13
mgzthe same test, with a stream that has an encoding attribute, would then match u"...MyError: \u201c"12:15
mgz.encode(stream.encoding)12:15
jmlright.12:16
mgzbzr-grep is one of the plugins that needed a relative import fix, right?14:11
jelmeryes14:12
=== yofel_ is now known as yofel
mgzis this build (test) failure on arm something spurious we have a bug for?15:29
mgz<https://launchpad.net/ubuntu/+archive/test-rebuild-20120328/+build/3328150>15:29
jelmermgz: isn't that just the normal spurious failure?15:30
mgzit's not the one I normally see, but it may well be the normal one for the bots15:31
jelmerI've seen this one regularly15:32
mgzdoes seem to be bug 874153 indeed15:32
ubot5Launchpad bug 874153 in bzr (Ubuntu) "Spurious per_interrepository.test_fetch.TestInterRepository. test_fetch_parent_inventories_at_stacking_boundary_smart_old failures" [High,Triaged] https://launchpad.net/bugs/87415315:32
=== deryck is now known as deryck[lunch]
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
=== deryck[lunch] is now known as deryck
=== zyga is now known as zyga-afk
pikkachuhi, is it possible to deactivate bazaar log or change its path?19:43
jelmerpikkachu: you can set the BZR_LOG environment variable19:44
pikkachujelmer: that's the only option? ok19:55
pikkachuI'd like to ideally disable it...19:55
pikkachuI should set it to 'NUL' http://doc.bazaar.canonical.com/development/en/release-notes/bzr-1.3rc1.html20:11
pikkachuthanks!20:11
=== mnepton is now known as mneptok
=== s1aden is now known as sladen
mgrandidoes anyone know where the code in bzr-fastimport where the stuff for 'fast-export-from-X' is? i cant seem to find it21:43
jelmermgrandi: it's been removed21:52
mgrandireally?21:52
mgrandiso then why do i still have access to those commands21:53
mgrandio.o21:53
jelmeryou have an old version of bzr-fastimport installed I think21:53
jelmerwe removed it because it didn't really seem useful to ship outdated (and thus buggy) exporters for other version control systems21:53
jelmerwhile there are better ways to get the current exporters21:54
mgrandiwell they wern't really buggy since they used other sources, but yeah the command line args21:54
mgrandiwere wrong =P21:54
jelmermgrandi: they used exporters shipped with bzr-fastimport itself (except for git-fastexport)21:54
mgrandiwell fast-export-from-cvs required cvs2svn/bzr21:54
mgrandiand seemed to just call that21:54
jelmerthe other thing is that the 'bzr fast-export-from-X' code was a really trivial wrapper around the actual fastexport tool, but didn't provide all functionality21:55
mgrandiah ok.21:56
wgzwhat time should I wake up tomorrow morning?22:04
lifelesswgz: wat time do you want to wake up tomorrow?22:07
mgrandi8am?22:07
fullermdBefore noon?!  What kind of sadist are you?22:09
mgrandihaha22:10
mgrandione with school at 9 am :>22:10
jelmerwgz: how long do you usually eat breakfast ? :)22:10
jelmerthough I am kind of curious about timezones and stuff too22:12
wgzhugs all round :)22:13
wgzokay, I'll go for starting at 08:00+01 and eat breakfast very slowly if no one else is around yet22:19
jelmerwgz: so that's the same time you guys met up as last week?22:20
jelmerbut one hour before our scheduled call?22:20
pooliehi all22:23
pooliei currently have it for, um22:23
poolie7pm22:23
poolieoh, i have a conflict22:23
poolie11h from now22:24
pooliebut i might push it back a bit22:24
pooliewgz, 11:30 uk, 12:30 cet22:25
jelmerhi poolie22:26
jelmerthanks for confirming22:26
poolieno what22:26
poolie:/22:27
pooliethis app is confused22:27
pooliebut those times are correct22:27
poolielate enough you oughta be awake anyhow22:27
wgzokay, I'll set a less punishing alarm22:28
pooliewgz, i think i'm now +9h from you22:28
jelmerpoolie: yeah, that's 3.5 hours later than two weeks ago I think :)22:28
KombuchaKipIs there any way to have bzr ensure that a file has an executable bit set?23:18
poolieKombuchaKip, even if someone else tries to turn it off?23:19
poolienot built in23:19
poolieiguess you could write a hook that forces it23:19
pooliei would probably do it from the eg makefile23:19
KombuchaKippoolie: The reason I'm asking is there is a script my makefile calls, both under bzr, and the script needs to have its executable bit set.23:19
pooliecouldn't the makefile chmod it?23:20
poolieor, run it directly through '$(SH) script'23:20
mgrandidoesn't bzr make sure that the executable bit is set? (as in that it versions that attribute)23:22
poolieit does23:22
pooliei assumed he was talking about cases where someone intentionally or accidentally unset it23:22
KombuchaKippoolie: No, I just mean as in ensuring that when they checkout their working copy, the files are executable that had the attribute set when they were first commit.23:23
KombuchaKippoolie: Do you happen to know off hand how users check to see what bzr knows of a file's attributes in a branch?23:30
pooliei think bzr ls will show you23:30
poolie"when they checkout their working copy, the files are executable that had the attribute set when they were first commit."23:31
pooliethis should happen automatically23:31
KombuchaKippoolie: So changing a file's attributes, via whatever the platform's interface may be, without changing the file's contents, should flag the file as modified?23:34
poolieyes23:34
* KombuchaKip experiments23:34
* KombuchaKip confirms poolie's claim. Files are listed under modified with an asterisk after their name in bzr status.23:35
poolienice when that happens23:35
KombuchaKippoolie: ;)23:35
dakirahi.. maybe someone can help me working with launchpad. I just checked out lp:compiz and used add-patch to add a patch. I pushed it to a branch in my userspace: https://code.launchpad.net/~mniess/ubuntu/precise/compiz/fix-screenshot23:47
dakiraNow when I propose this for merging a lot more than my simple patch is chown in the diff. Why is that? Where did I go wrong?23:47
mgrandia link to the patch you applied and the merge proposal (where it shows the diff) would be good23:48
dakiramgrandi: I deleted the merge-proposal as I didn't want anyone bothering with such a huge diff. the patch is here: http://pastebin.com/bNtzZKky23:49
mgrandido you have the diff that it was creating?23:50
dakirahttp://bazaar.launchpad.net/~mniess/ubuntu/precise/compiz/fix-screenshot/revision/766#debian/patches/fix-screenshots.patch23:50
dakiramgrandi: no, sorry.. should I propose it for merging again?23:51
mgrandiyou can probably generate it without doing that23:51
mgrandiby trying to merge your branch into lp:compiz23:51
mgrandii think you do this by cding to your branch of lp:compiz and then doing bzr merge <path to your branch>23:52
dakiramgrandi: I'm on it23:53
mgrandiit might be that addpatch is doing something weird23:54
dakiramgrandi: looks just as expected: http://pastebin.com/2N2UxHsG23:54
mgrandiso that diff you just pasted is what you expect, but not what launchpad gave you?23:55
dakiramgrandi: yep. but fortunately launchpad just send me a mail with the review-diff which I'll upload in a second ;)23:56
dakirahttp://dl.dropbox.com/u/79339/review-diff.txt23:57
mgrandi.bzr-builddeb/default.conf23:59
mgrandisome things you accidentally added23:59
mgrandii think23:59

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