/srv/irclogs.ubuntu.com/2011/04/29/#bzr.txt

jelmervanguard: yep, there's "bzr log" and the release notes (doc/en/release-notes/*.txt)00:00
pooliethe release notes are the main forum for giving credit to people00:01
pooliewhat were you planning to work on?00:01
vanguardi18n00:01
poolieoh, hi00:01
poolieexcellent00:01
jelmervanguard: Are you Martin?00:01
vanguardjelmer: yep00:01
pooliealso, yet another martin :)00:01
poolieit may be one of those things that is actually less difficult than people have come to believe00:02
poolieor not :)00:02
vanguardI tried i18n on my own projects and found it pretty straightforward00:02
vanguardbut my biggest project was 10k LOC, so bzr is quite different I suppose00:02
jelmerpoolie: are you talking about i18n or the number of Martins ? :)00:04
vanguardhaving two people with the same name is not that difficult I guess :-)00:05
pooliei think there are now about 400:06
pooliejelmer, about 4 Martins (or more?) contributing to bzr00:06
poolieplus a couple commenting00:06
poolieit seems unusually rich00:07
pooliecounting gz and beuno00:07
beunoall the smart people are named Martin, yes00:07
vanguardit is the 234th most popular name in the US apparently (http://www.wolframalpha.com/input/?i=martin)00:09
vanguardyou use spaces in bzr codebase?00:11
poolierather than ^i tab characters, yes00:11
poolieand just generally following PEP800:11
vanguardokay, I use tabs everywhere, I just wondered why python did not like my indent :)00:12
jelmerpoolie: I've started using the "bazaar" superproject in Launchpad more and it's been working quite well. The main problem is that there are some subprojects that are inactive, and they clutter up the superproject views.00:19
jelmerpoolie: Do you know if there's anything we could do about that?00:19
jelmerremoving subprojects from the superproject is possible, but probably also suboptimal (makes it harder to find them back later)00:20
* jelmer gets some sleep00:25
vanguardmaybe create a subsuperproject where the abandoned projects go?00:26
=== sidnei_ is now known as sidnie
=== sidnie is now known as sidnei
bignosejelmer: my trunk branch, bound to the Subversion repository, doesn't have a ‘subversion.conf’ file.00:50
jelmerbignose: ~/.bazaar/subversion.conf00:50
bignoseoh, it's a *global* setting? :-(00:50
jelmerno, that file has per-repository settings00:51
bignoseokay. confusing, but I'll manage00:51
bignosejelmer: to confirm my interpretation:00:52
jelmerbignose: you can also set it in ~/.bazaar/locations.conf I think00:52
bignosejelmer: if I set ‘push_merged_revisions=True’ for the particular repository,00:52
bignoseand then merge and commit in that repository,00:53
bignosethe Subversion repository will get the merged revisions in automatically-created Subversion branches?00:53
jelmerbignose: yep00:53
jelmerbignose: (but again, the version in sid is too old for this to work well)00:54
bignosejelmer: and then, when I remove the branches from svn, the history will show the same afterward?00:54
jelmerbignose: yep00:54
=== bob2_ is now known as bob2
bignosejelmer: sounds like a winner. I'll try it today.01:09
bignosejelmer: ‘push_merged_revisions’, or ‘push-merged-revisions’? or are both spellings equivalent?01:10
jelmerbignose: push_merged_revisions01:11
bignoseoh, I just saw you saying that it won't work well?01:12
bignosebzr-svn 1.0.3-101:13
jelmerbignose: that's too old, you'll need something from at most 10 days ago01:13
bignosegah01:13
jelmer1.1.0 is due out later this week, if that helps01:13
bignoseI'll need to wait for the next OS release then.01:14
bignose(the machine where this is being done is pinned at Ubuntu Maverick)01:23
pooliethe next os release after maverick?01:27
pooliethat happened yesterday01:27
bignosegoodie01:27
bignosebut is the ‘bzr-svn’ that jelmer refers to included in that?01:28
poolie   bzr-svn | 1.0.4+bzr3475-1 | natty/universe | source, all01:29
pooliei don't know if that's new enough-01:29
pooliei doubt they updated only 10 days ago01:29
=== medberry is now known as med_out
=== TuxIce is now known as Guest10940
=== Guest10940 is now known as AdamDV-iPad
=== TuxIce is now known as Guest45896
=== Guest45896 is now known as AdamDV2
KombuchaKipHow do I add a user to the list of people that have write access to my launchpad hosted bzr branch?05:10
spivKombuchaKip: write access on Launchpad is determined by the owner of the branch05:23
spivKombuchaKip: so have the branch be owned by a team, and have that user be a member of that team05:23
KombuchaKipspiv: Right. But if I want to give some others write access?05:23
KombuchaKipspiv: Hmm, I created a branch already so I would have to move it to the teams...05:24
KombuchaKipspiv: I have a feeling this is going to create a headache.05:24
spivKombuchaKip: If you follow the 'Change branch details' link on the branch's page you can change its owner05:25
KombuchaKipspiv: You're right! That was easy!05:25
spiv:)05:26
pooliehi spiv, i'm back06:22
spivpoolie: hi, welcome back06:40
vilahi all, I'm back too ;)06:52
pooliehi spiv, vila06:56
pooliespiv does https://bugs.launchpad.net/bzr/+bug/772935 ring any bells for you?07:01
ubot5Ubuntu bug 772935 in Bazaar "ErrorFromSmartServer: Absent factory for StaticTuple" [High,Confirmed]07:01
poolieyou commented earlier on one that looks a lot like a dupe07:01
poolieand generally speaking it looks a bit like some bugs that were thought to be fixed07:01
spivpoolie: lifeless was asking me about that on #launchpad07:14
spivpoolie: no particular bells rung.  It's worrying, but it doesn't ring bells more specific than "stacking, maybe?"07:15
jamhey vila, I just saw this: http://babune.ladeuil.net:24842/job/selftest-windows/413/testReport/10:39
jamBut, it works just fine here on Windows10:39
jamI wonder if it is an NTFS vs FAT thing?10:39
vilajam: :) You should revise your belief that "it works on windows because if works on *my* windows" ;)10:39
vilajam: but, yes, it has failed twice in a row so it's probably an indication that something is wrong10:40
jamvila: I've never claimed because something works here it works everywhere.10:40
jamI have the feeling it is something *specific to your machine* that I cannot reproduce10:40
jamso it isn't strictly that the test is at fault, I'm hesitant to just remove/disable the test10:41
vilaI was wondering if you were able to reproduce it locally but I'm upgrading babune to natty and didn't think it was an urgent one10:41
jamcan you do "os.utime" or your machine and see if it allows anything?10:41
vilanot right now10:41
vilabut10:41
vilaif race conditions in file system accesses... that's something that ring so many bells on babune that I can't even hear you anymore ;)10:42
vilantfs vs fat could also be a good lead10:44
vilajam: can't you just create some fat fs on either an external HD or even USB stick ?10:44
jamvila: faster for me to just wait for you to upgrade your machine :)10:45
vilajam: with the upgrade announcing still 1 hour to download the packages, I doubt it10:46
vila1h33 even10:46
vilaIs ubuntu.com so heavily loaded that it can't provide more bandwidth ?10:47
jamvila: less of my personal time, since I can perfectly happily ignore this until next week10:47
* vila too ;)10:49
jamvila: so in this case "a" is a directory. and I imagine FAT can't set mtime for dirs. I'm happy enough with a try/except OSError there and just skip it on babune11:11
vilajam: you mean a try/except in the test ?11:15
jamvila: yep11:16
jamvila: sending to pqm now unless you object11:16
vilaoh, right, I see the code now11:16
vilawell, if I had objections it would be about using some sort of test feature instead of catching the exception in the test, but I think it's an edge case so, just land11:17
jamvila: if we have more of these, I'd go for it11:18
jambut right now, for just 1 test, it isn't worth a Feature11:18
* vila nods11:18
vilaI haven't looked in detail and didn't realize it was a single test11:18
jamvila: yeah, 1 test permuted 4 times11:19
vilayup11:19
vilaon the other hand, there may be other ways to update the dir mtime in more portable ways, but again, probably not worth the trouble in this case11:20
jamvila: I don't know what FAT is giving for mtime anyway, and putting a 10s sleep in there is much worse11:21
vilayeah, evil++ ;)11:21
jam(well, a 2+s sleep for FAT granularity)11:21
* jam is thinking we should just go with a 1s timeout to our hash cache, and let FAT people live with the fallout.11:22
jamIt won't be often that they update content 2x in a 2s window from commit11:22
jamthey can always touch things if they need ot11:22
jamto11:22
vanguardI am just reading the i18n specs in the wiki and I see _() everywhere. Isn't using the _ as a function against the use of _ as the "last return value" causing problems in the debugger?12:01
vilavanguard: I don't remember the details but: 1) you're right, that caused problems 2) they were fixed for bzr-gtk12:04
vanguardso it is save to use _() or should one use something else instead()12:07
vanguards/()/?12:07
vilawell... IIRC, the issue was that gettext was injecting '_' aggressively in some dicts, so the issue could come back12:11
vilaand the workaround was to fix it in a way that only modules that needed it were fixed12:12
vilafrom a usability pov for devs, I don't have enough experience there to comment12:12
* vila goes for lunch12:12
vanguardcan I somehow set the commit --strict option as a default?13:39
knighthawkhow do I "unbound" a branch?14:12
=== zyga is now known as zyga-afk
spivknighthawk: 'bzr unbind', or alternatively 'bzr reconfigure' to the state you want instead.14:51
knighthawkthanks spiv14:51
=== zyga-afk is now known as zyga
hrwhi15:26
hrw  parent branch: bzr+ssh://bazaar.launchpad.net/~linaro-maintainers/linaro-images/hwpack.natty.linaro-panda/15:27
hrw16:26 hrw@home:hwpacks$ bzr push lp:~hrw/linaro-images/hwpack.natty.linaro-panda/use-ubuntu-kernel15:27
hrwbzr: ERROR: Permission denied: "~hrw/linaro-images/hwpack.natty.linaro-panda/use-ubuntu-kernel/": : Cannot create branch at '/~hrw/linaro-images/hwpack.natty.linaro-panda/use-ubuntu-kernel'15:27
hrwwhat I am doing wrong?15:27
jelmerhrw: there's a slash too many in there as far as I can tell15:27
james_w`hrw, linaro-images is the project name15:27
james_w`there can only be one path segment after that15:27
jelmerhrw: ~username/projectname/branchname is the standard form15:28
james_w`i.e. replace the last / with a - or something15:28
hrwok15:28
hrwthx15:29
jelmerjam: still there?15:30
rryan`hmm, our launchpad repository is now throwing errors on checkout and branch for bazaar 2.1.115:40
rryan`http://pastebin.com/Kud2MsqQ15:40
rryan`should I file a bug as the output suggests or is this something you think is already fixed in a newer version ?15:40
rryan`(or alternatively, is our repository broken somehow now? it works fine for existing checkouts/branches)15:41
jelmerI'll give it a try with 2.4, one sec..15:45
=== med_out is now known as med
=== med is now known as medberry
=== medberry is now known as med_out
spivrryan`, jelmer: there's already a bug filed, https://bugs.launchpad.net/bzr/+bug/77293516:04
ubot5Ubuntu bug 772935 in Bazaar "ErrorFromSmartServer: Absent factory for StaticTuple" [High,Confirmed]16:04
jelmerspiv: hey spiv16:16
jelmerthanks16:16
rryan`spiv: thanks -- right hand not talking to the left :)16:24
pmatuliswhat's the easiest way to change a commit message?16:35
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
mdkehi there. is there a way to make "bzr revert" delete unknown files?18:48
vanguardyou can use bzr clean-tree for that18:48
vanguardtry it with `bzr clean-tree --dry-run` if you like18:48
mdkevanguard: can I give it a path?18:49
vanguardbzr clean-tree --help offers a list of options, you can delete ignored files, backup files, etc18:49
vanguardmdke: not sure, try a dry-run in the directory that you want cleaned18:49
mdkevanguard: doesn't look like it. Still a useful tool though, thanks18:51
vanguardyou can file a bug against it on launchpad.net/bzr if you want that feature added18:51
mdkevanguard: do you think that it is a sensible feature to request? perhaps it is a design choice18:52
vanguardmdke: well, you might want to use that to clean out build files, the tree is not really affected by unversioned files, so I think adding this option does not hurt19:17
=== Ursinha-afk is now known as Ursinha
=== nixness is now known as foocraft
mhall119is this a good place to ask questions about the bzrlib api?22:27
mhall119I want to be able to clear the revision history of a local branch22:28
mhall119basically I branch from a remote source, then I want to start with a clean revision history, but keep all the files that were under version control22:28
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
glyphmhall119: why bother with a plugin for that?  you can just 'bzr export; bzr init; bzr add; bzr commit'22:43
=== Ursinha is now known as Ursinha-afk
mhall119I'm not writing a plugin, just a cli program, and I wanted to use bzrlib instead of subprocess.call()22:55

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