/srv/irclogs.ubuntu.com/2011/02/23/#bzr.txt

=== wgrant_ is now known as wgrant
=== BasicPRO is now known as BasicOSX
jonnydeehi, I'm just investigating the bzr-svn plugin features and associated worklflows...01:01
jonnydeenow I wonder how the workflow for dealing with svn branches is like...?01:02
jonnydeeI've seen blog posts telling to branch the 'trunk', then branch from the local 'trunk' branch, commit to the latter, and finally merge to the former01:03
jonnydeeBut how can I deal with branches tracked within svn? Will it be possible to work on a svn branch using bzr-svn, and finally merging that svn branch to trunk? will it look like I did a merge from a branch to trunk using svn?01:05
jelmerjonnydee: hi01:06
jonnydeehi jelmer :)01:07
jelmerjonnydee: they're much like "normal" bazaar branches, and you can pull from them merge into them and push into them as you would expect to with a regular bzr branch01:07
jonnydeeso it should be possible to emulate a branch-merge workflow of users using svn only?01:09
jonnydeeI'm asking because we have svn, but I would like to use Bazaar and this should completely be transparent to the other svn users01:10
jelmerjonnydee: yes, although bzr-svn does add revision properties with bzr metadata that can't be represented in svn natively01:11
jonnydeejelmer: I think that shouldn't be an issue... So I would co "trunk" using bzr, do my commits to a local branch of it, then I push to svn using an svn-url pointing to ../branches/my-branch01:13
jonnydeethen I merge my local my-branch into my local "trunk" checkout and push to svn "trunk"?01:14
jelmerjonnydee: there's no need for the local mirrors01:15
jonnydeesvn users will then see my branch commits for ../branches/my-branch, and they will realize that I merged that branch into "trunk"?01:15
jonnydeeno need for local mirrors?01:16
jelmerjonnydee: You'll have to push that branch into /branches/my-branch in svn manually01:16
jelmerjonnydee: otherwise it won't show up there in svn01:16
jelmerthere is an option in bzr-svn to do that for you, but it's experimental01:17
jonnydeeok, that's what I assumed, but will they somehow realize that I finally did a merge from /branches/my-branch to /trunk ?01:17
jelmernot anymore than they currently will01:18
jonnydeeAFAIK svn >1.5 does merge-tracking and I wonder if this information will be propagated when I push my merge to the svn /trunk01:18
jelmerbzr-svn does set svn:merge-info, but it won't use it for the bzr revision graph01:20
jonnydeeok, so that's good news. It means that svn users will be able to see, that I merged /branches/my-branch to /trunk, right?01:21
maxbyes, the metadata will be there if they care to look for it01:22
jonnydeejelmer,maxb: thank your very much for your fast and helpful feedback :)01:22
maxbI am toying with trying to get bzr-svn to build a bzr revision graph based on svn:mergeinfo01:26
maxbI don't think it'll ever be roundtrippable, but it would be a boon for people doing a one-time convert out of svn01:26
jonnydeemaxb: I think that would be really helpful in such cases01:27
jonnydeeI wish you good progress01:27
jonnydeeit's been a pleasure to talk to you! bye, and thanks once more for your attention :)01:28
maxbWhy does bzrlib.tag._merge_tags_if_possible exist?01:54
maxbI'm trying to see what functionality it provides over tags1.merge_to(tags2), and there doesn't seem to be any01:54
spivmaxb: it does wha tthe comment says01:58
spivmaxb: if you want to pass the ignore_master=True arg, but aren't sure the tags implementation supports that API (new in 2.3), then it will try pass the flag, but if it can't it emits a warning and just give the pre-2.3 behaviour (by not passing the flag).02:00
spivmaxb: it's backwards-compat paranoia, basically02:00
maxbspiv: ok..... but I know it existed before ignore_master did .... so why? Prescience? :-)02:01
spivmaxb: when I added the ignore_master param as part of a bug fix I added that function so that cmd_merge (and possibly other bits of bzrlib?) can use it to avoid breaking with e.g. bzr-svn branches if the user is running with an un-updated plugin.02:01
spivAre you sure?02:01
maxbYes, because I remember looking at its pre-ignore_master implementation, which was more obviously mystifyingly pointless02:02
spivI'm pretty sure I remember adding it :)02:02
maxbhm :-)02:02
spivOr, perhaps, updating it to be its current useful form ;)02:02
maxbright02:03
spivBut I think I added it.02:03
* spiv looks02:04
maxbno, it's existed since poolie first implemented tags in branches in 2007 :-)02:05
spivAh, well, probably a hangover from an early implementation of tags.02:05
spivI'm guessing it predates the merge_to method.02:05
spivAnyway, it serves a useful purpose in 2.3 :)02:06
maxbNow that's planning ahead :-)02:08
chxto roll bzr patches i am using  diff --diff-options -up so that i get @@ -136,6 +136,10 @@ function user_pass_reset($form, &$form_s now this is good but now I need patches suitable for patch -p1 and this created patch -p0 patches02:51
chxbzr diff -p1 gives me a patch -p1 but that does not do what diff -p does (--show-c-function)02:56
chxthere is a largely undocumented option to bzr diff: --format02:59
fullermdI think that's used by plugins.03:00
chxfullermd: hi. any solution? I am happy to hack a plugin if necessary :) just dont know where03:04
fullermdWell, my solution has been to point and laugh at people screaming for -p1 patches.  Not sure that helps you   ;)03:04
fullermdDoes bzr's -p take effect before --using?  That sounds like it would be possible...03:05
fullermdIf possible, it probably should, and would be a bug if it didn't.  And surely it's possible; where else is an external diff getting filenames but from trusting what bzr says?03:05
chxi am reading diff.py and external_diff has http://paste.pocoo.org/show/343131/  in it03:07
chxthis makes me suspect that the prefix is not taken into account03:07
fullermdAs if showing python code to me is gonna do anything   :p03:09
fullermdI woulda approached it by just trying it to see...03:09
spivYou could try passing the diff throught filterdiff03:09
spivIt's got a --addprefix option03:09
chxspiv: <3 you.03:10
chxspiv: now, how can i tell bzr that bzr diff is alias for bzr diff --options -up | filterdiff --addprefix a/03:11
chx(or more elegantly --addoldprefix a/ --addnewprefix b/ )03:11
spivchx: for that I think you need a shell alias :)03:11
chxspiv: sniff i need to figure out bash code that on bzr foo runs bzr foo but on bzr diff runs the aforementioned ugliness.03:12
fullermdNah, just make a 'bzrdiff' alias.03:13
chxAliases don't allow for control-flow, command line arguments, or additional trickery that makes the command line so useful.03:13
spivPersonally I'd go with fullermd's suggestion03:13
chxfullermd: i guess.03:13
* fullermd still says that -p should affect external diff...03:14
mwhudsonbzr () { if [ "$1" = "diff" ]; then shift; command bzr diff "$@" | diffstat; else command bzr "$@"; fi; }03:14
spivBecause as you say making bash treat 'bzr diff' differently to 'bzr foo' is going to be fiddly, and I'm fairly lazy.03:14
* mwhudson has been doing too much shell lately03:15
spivOr, just hang out for 3 minutes, either way.03:15
spiv:)03:15
* fullermd huddles mwhudson up in the corner with a blanket and a bowl of hot soup.03:15
chxthanks03:15
mwhudsonfullermd: thanks03:15
chxmwhudson: good god03:16
chxmwhudson: thanks03:16
chxoff to the gym03:16
=== chx is now known as chx_afk
=== chx_afk is now known as chx
=== chx is now known as chx_afk
=== chx_afk is now known as chx_sleep
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
montywivila: bzr check still running (laptop with 2 cores + flash disk)....09:08
vilamontywi: single core used, lots of CPU needed, did it output some progress (even flaky) ?09:09
vilamontywi: or something in .bzr.log (more likely)09:09
montywiyes, its progressing09:09
vilaha good, damn, I just realized I didn't recommend -'v' :-( /me bangs head09:10
vilastupid stupid stupid09:10
montywiit's now in 'checking graphs 42000/8500009:10
montywithis is increasing with 1 per 3 seconds09:11
vilahmm, I don't remember the order in which the checks are performed :-/09:11
vila1 out of the 85 000 ? O_o09:11
vila85.000 more or less correspond to the number of revisions ?09:12
vila(not the mainline revs, all the revisions I mean)09:12
montywii think so09:17
montywiso if it continues like now, it will take 43000*3 seconds more to do the check09:17
montywior 1.5 days09:17
montywi(for this stage)09:17
vilayeah, for this stage :-/09:18
vilaon the other hand, you haven't encounter issues while using this branch/repo since you started the check on a copy right ?09:19
vilamontywi: the format used is 2a right ?09:20
montywiyes09:23
vilaon both counts ?09:23
montywiboth counts ?09:23
vilaon the other hand, you haven't encounter issues while using this branch/repo since you started the check on a copy right ?09:23
montywino problem found with repro during the last 2 days09:24
vilak09:24
montywibut i will continue to do rsync backups to be able to repeat any problems that is found09:24
vilaof course 2 days (or even 3) is ridiculously too long for a check...09:24
vilathanks09:24
vilamontywi: before I forget and in case you need to re-run a check (cough, hopefully not) use BZR_LOG=<different-one> bzr check -v09:26
montywiok and thanks for tip09:26
vilamontywi: so we get a clean log with all collected data (-v shouldn't make it really slower ;-/)09:26
montywii would like to use the laptop after 2 weeks...09:27
vilaoh good, Apple will be announcing some new models tomorrow, you'll be able to buy a new one, no problem :-}09:28
vila<desperate sarcasm/>09:28
montywiApple? Why on earth would I want to buy an Apple?  I am using *real* machines ;)09:35
montywi(Machines which software I can use, modify and extend without having to talk with lawyers)09:36
vilaoh, but you can install Ubuntu on them :D09:36
Takactually, ubuntu is really nice on my macbook pro10:45
vilajelmer: make sure you always mentions bug numbers in news entries (how a veteran packager can miss that is beyond my understanding ;-D)11:54
* vila lunch11:54
jelmervila: *nod*11:55
jelmervila: did I miss one somewhere?11:55
vilajelmer: hmm, yes, but... I can't remember where right now :-( if you don't find it, don't worry, I'll fix it at release time anyway11:56
vilaI noticed it yesterday if that helps, may be already landed, not sure11:56
* vila really out :)11:57
jelmerbon appetit :)11:59
shakaranHi, Where I can delete the config for bazaar explorer with Windows XP?12:16
shakaranbzr: ERROR: bzrlib.util.configobj.configobj.ParseError: Invalid line at line "1" with bzr 2.3.0 and I need delete de .conf file or whatever file that store the corrupt file12:19
shakaransomebody?12:21
jelmershakaran: hi12:22
jelmershakaran: it's either the .bzr/branch/branch.conf file or the locations.conf or bazaar.conf in your bzr home directory12:22
shakaranI have a C:\Archivos de programa\Bazaar for bzr home directory12:25
shakaranI search *.conf files but it dont found any file with conf12:25
shakaranArchivos de programas = Program files (sorry for the spanish)12:26
shakaranI have all my local branch's with Eclipse on C:\workspace If I search .conf file there I get:12:27
shakarana branch.conf with:12:27
shakaranparent_location = ../../Earth%20Wars/12:28
shakaranpush_location = bzr+ssh://bazaar.launchpad.net/~davidgb-10/ea/spy/12:28
shakaransubmit_branch = file:///C:/workspace/Earth%20Wars/12:28
shakaran[commit_data]12:28
jelmerhmm, that all looks reasonable12:29
shakaranI have other 3 files with branch.conf12:29
shakaranparent_location = ../../Earth%20Wars/12:29
shakaranpush_location = bzr+ssh://bazaar.launchpad.net/~davidgb-10/ea/trunk/12:29
shakaran[commit_data]12:29
=== Ursinha-afk is now known as U
shakaranthird file:12:30
=== U is now known as Ursinha
shakaranbound_location = bzr+ssh://bazaar.launchpad.net/%2Bbranch/ea/12:30
shakaranbound = True12:30
shakaranparent_location = bzr+ssh://bazaar.launchpad.net/%2Bbranch/ea/12:30
shakaransubmit_branch = bzr+ssh://bazaar.launchpad.net/~davidgb-10/ea/spy/12:30
shakaran[commit_data]12:30
shakaranlast file:12:30
shakaranbound_location = bzr+ssh://bazaar.launchpad.net/~davidgb-10/ea/trunk/12:30
shakaranbound = True12:30
shakaran(sorry about the flooding)12:30
jelmershakaran: only the file in the branch you were working in should be relevant12:31
shakaranI dont see the problems on line 1 for the files. The problem is that bzr-explorer fails on start with a bug12:32
shakaranhttp://pastebin.com/azDjMfjm12:33
shakaranit dont show the invalid file, so I dont know what file is it bad parsed12:33
jelmershakaran: one sec, I'll look at the source12:41
jelmershakaran: do you have a qbzr.conf file anywhere?12:42
shakaranon whick folder should be? on bzr home?12:44
shakaranI report the bug too https://bugs.launchpad.net/bzr/+bug/72369112:44
shakarannot found a qbzr.conf (on all system)12:45
jelmershakaran: It seems like a qbzr issue, hopefully one of the qbzr folks can help out12:48
shakaranjelmer: I report the bug, I wait then, thanks for your great help13:08
vilajelmer: that one: https://code.launchpad.net/~jelmer/bzr/multiprocessing-cpu_count/+merge/5081213:47
jelmervila: Will fix - thanks for the reminder :)13:48
vilanp ;)13:52
=== chx_sleep is now known as chx
jmlhow can you tell what commands a plugin provides?13:59
jelmerjml: bzr help commands | grep plugin-name14:01
jelmerjml: I don't think we have anything fancier than that to discover it14:02
jmljelmer: thanks.14:02
jmljelmer: I have just discovered how awesome bzr-stats is.14:03
jelmerjml: :)14:06
jelmerit could be a lot more awesome though14:06
jmlYeah, agreed.14:06
jmlI was just thinking, wouldn't it be nice if I could run a command and have it tell me how actively developed this project is14:07
jelmerjml: Ohloh-style, e.g.:14:07
jelmer"Decreasing year-over-year activity." / "Large development team" / ... ?14:08
jmlyeah, maybe14:09
jmlwell, actually that would be pretty cool14:09
jmlbut also something like "6 commits to trunk in the last month"14:09
jmlor maybe a little ascii art graph of num commits per chunk of time14:10
jelmerah, hmm14:10
jelmerI quite like the (new?) blurb on the code.launchpad.net/PROJECT pages with that data14:10
jmlyeah14:12
jmlit's not that new, I think.14:12
jelmerjml: didn't launchpad also have tiny graphs with the branch activity for a while?14:13
jmljelmer: it did.14:13
jelmerjml: Do you know why that was removed?14:13
jmljelmer: we removed them because showing them on a branch listing for a project is generally uninteresting14:14
jmland that's where they were shown14:14
jmle.g. all of the branches for bzr will have almost exactly the same graph14:14
jmlbecause they are all short-lived branches of trunk.14:14
jmljelmer: and so rather than rehabilitate the feature, we killed it.14:14
jelmerah, ok14:15
vilajml: any feedback about bzrlib.transform.orphan_policy=move ?14:17
jmljelmer: do you know how to tell bzr-stats that two people are the same?14:17
jmlvila: no. I'm a loser.14:17
jmlvila: do I just add that line to my bazaar.conf?14:18
vilajml: yup14:18
vilabzr.transform.orphan_policy=move14:18
vilagrr don't paste !14:18
jelmerjml: it looks for similar email addresses/fullnames14:18
vila:)14:18
jmlvila: thanks. added, will let you know how it goes. (I have a couple of branches up that delete directories)14:19
jelmerjml: it doesn't support a rename map of any sort (yet)14:19
jmljelmer: ahh ok.14:19
vilajml: cool, will fix any related bug14:19
vilajml: especially the ones with reproducing recipes ;)14:20
jmlvila: heh. will do. :)14:20
jmljelmer: I have now filed many bugs on bzr-stats. I might actually try to fix them, but, you know how it is.14:22
=== Vorpal_ is now known as Vorpal
jelmerjml: :)14:30
jmljelmer: I also just filed a bug asking for reviewer stats. I think that's kind of a tough one that might require some kind of hook thing.14:30
jelmerjml: with regard to reviewers, I think it would be really nice if we can start sticking them in a revision property14:30
jml+114:30
jelmerjml: https://bugs.launchpad.net/bzr/+bug/72374014:37
chxjelmer: hi. Am I having the honor to talk to the author of bzr-git :) ? If yes, then https://bugs.launchpad.net/bzr-git/+bug/719238 what does this... mean? there is support for push now but it's experimental and shouldnt be...?14:38
jelmerchx: hi :)14:43
jelmerchx: looking..14:47
jelmerchx: so, there has been some initial work on proper push (as opposed to dpush) but it's not ready for prime time use yet14:48
jelmerchx: it should by default be disabled but doesn't appear to be14:48
chxah i see14:49
chxnext question, when i use bzr git-import http://git-testing.drupal.org/project/drupal.git it creates an empty directory with .bzr in it14:50
chxoh it created a repo?14:50
jhuntHi - can someone help me out with bug 723735? It's blocking me from submitting code prior to todays feature freeze.14:53
ubot5Bug 723735 on http://launchpad.net/bugs/723735 is private14:53
chxjelmer: http://web.dodds.net/~vorlon/wiki/blog/bzr-git_case_study.html from reading this i am under the impression that bzr git-import http://git-testing.drupal.org/project/drupal.git should actually download something but it dosnt.14:54
jelmerjhunt: I can't see that bug because it's private.14:55
jelmerchx: It should, but that URL is a bit strange (it gives me a 404)14:55
chxjelmer: weird. git clone works with it unless i am blind.14:55
chxjelmer: yeah it does14:56
chxAH ha!14:56
chxjelmer: that's a git:// url14:56
chxjelmer: it's just that git ... works with http14:57
chx bzr git-import git://git-testing.drupal.org/project/drupal.git is downloading.14:57
jelmerchx: can you file a bug against bzr-git?14:57
chxjelmer: https://bugs.launchpad.net/bzr-git/+bug/72375114:58
jelmerah, I think I see what's happening15:02
jhuntjelmer: yes - the bug was created as private by default, but I am unclear as to why.15:02
jelmerjhunt: can you make it public or pastebin the information you can make public?15:08
=== Ursinha is now known as Ursinha-lunch
vilajhunt: I often see bug created private when apport is involved...15:09
=== chx is now known as chx_afk
jhuntjelmer: bug 723735 is now public15:18
ubot5Launchpad bug 723735 in bzr (Ubuntu) "bzr crashed with NoSuchRevision in _translate_error()" [Undecided,New] https://launchpad.net/bugs/72373515:18
=== marienz_ is now known as marienz
jelmerjhunt: so, it seems like the "-v" is the bit that breaks15:26
jelmerjhunt: does it still break if you run without -v ?15:26
jhuntjelmer: well, I just pushed the same branch using "bzr push -v lp:~jamesodhunt/+junk/foo" and that was fine ?15:35
vilajhunt: no stacking involved in +junk15:36
jelmerjhunt: I guess it's stacking related.15:36
jelmerhmm, gmta :)15:36
jelmerjhunt: can you perhaps try with the latest bzr (2.3.0) ?15:37
=== deryck is now known as deryck[lunch]
vilajelmer: You haven't (yet) used the lazy registration of branch formats in the foreign plugins right ?15:56
vilajelmer: argh, gmta again, loom trunk: branches have diverged :D15:57
vilajelmer: additional tweak pushed16:01
jelmervila: I have, bzr-{hg,svn,git} use it16:01
jelmervila: it's not in any releases yet though, so changing things should be possible16:02
vilajelmer: while you're warmed up, care to use it for looms too ?16:02
vilajelmer: do you remember if jam is already moving today ?16:03
=== Ursinha-lunch is now known as Ursinha
jelmervila: sure, I'd be happy to16:08
jelmervila: I'm not sure16:08
bialixheya all16:08
vilaheya bialix16:09
jelmerhey bialix, how's your day?16:09
bialixjelmer: I wish something better16:09
vilajelmer: could you give your input on https://code.launchpad.net/~vila/bzr/config-expand-options/+merge/50355 ?16:09
bialixvila: if you have a minute to talk about configs and qbxt16:09
bialixqbzr16:09
viladon't ask to ask :)16:10
vilaPushed up to revision 404.16:11
vilaHuh ? What do you mean file not found ?16:11
vilaerrr16:11
vila:)16:11
bialixvila: currently qbzr/lib/util.py has its own Config object which is kinda caching object16:11
bialixit does not try to re-read the real config every time16:11
bialix*Config class16:12
bialixit's used to work with qbzr.conf16:12
bialixthis class is using to work with qbzr.conf16:12
jelmervila: sure16:12
bialixvila: what I need to switch to using bzrlib.config instead16:13
vilabialix: looking at it, it seems to have anticipated bzrlib.config.LockableConfig... except save is explicit16:13
vilahmm, and {set|get}_option here is {set|get}_user_option there :-/16:14
vilawow, and BOOKMARKS16:14
vilabialix: forget it, too early to migrate16:15
=== beuno is now known as beuno-lunch
bialixvila: forget what?16:24
bialixsorry, I had a call16:24
vilabialix: qbzr needs to save only once, this is not yet available (unless you don't want atomicity anymore)16:25
vilaso you can't migrate yet... unless16:25
bialixvila: I don't think it's the main goal16:25
vilaha, ok16:25
bialixit saves data here and there all the time16:25
bialixno atomicity, as I can see16:25
vilaanother point to consider:16:26
bialixI need to dig through the history of that code to understand why it written in the way it's written16:26
vilainstead of using a separate config file, you may want to prefix your options with 'qbzr.'16:26
bialix:-/16:27
vilaand use bazaar.conf or branch.conf16:27
bialixthat'd be bad16:27
bialixmaxb recently said against this16:27
jelmervila: I'll have a look at the expand options branch and your udd MPs when I get back16:27
vilathat would mean that in the future, some options may be defined in branch.conf, locations.conf, bazaar.conf16:27
bialixactually I don't like how it's designed today16:27
vilabialix: not for all variables16:27
vilajelmer: great16:27
bialixwe have a lot of runtime variables which is not user editable16:28
vilajelmer: err, back from what ? :D16:28
jelmervila: need to run some errands16:28
vilajelmer: np was kidding :)16:28
maxbThe thing I objected to was 'bzr viz' storing window sizes in pixels in bazaar.conf, thus making it impractical to version-control my bazaar.conf16:28
vilamaxb: yup, I understood that16:28
bialixmaxb: exactly16:28
bialixvila: ^ see16:28
vilabialix: see ^ :D16:29
bialixvila: I don't like how we store our data in qbzr.conf16:29
vilathat doesn't mean it applies to *all* qbzr config options ;)16:29
bialixyes, of course16:29
bialixthere are about 5-10 options which are not pixels16:29
maxbI think it's fine for plugins to rewrite bazaar.conf so long as they only do it in response to the user actually reconfiguring sometime16:29
maxb*something16:29
vilayeah, I'll go as far as saying that 'bzr config' should be almost the only one to modify config options16:30
bialixif we start talking about bzr-explorer then it has a ton of options grouped into subdir16:30
vilathe execptions being --remember, window sizes, bookmarks, aliases, but even bookmarks and aliases should be defined with 'bzr config' and just use special names16:31
vilabialix: I discovered that a couple of days ago, but most of them are in xml files16:31
vilathere is one horror there still, file extensions are associated with executables by using the list of extensions as the key and the application as the value...16:32
bialixvila: I'm very dislike code like that in the qbzr:16:32
vilaI wonder why it's not the reverse...16:32
bialix        config.set_option(name + "_window_size", "%dx%d" % size)16:33
bialix        config.set_option(name + "_window_maximized", is_maximized)16:33
bialix        size = config.get_option(name + "_window_size")16:33
bialixthose concatenations make me feel bad16:33
vilabialix: use helpers16:34
vilaand dots instead of _16:34
bialixno, I'm trying to say: why we haven't put them into subsections16:34
vilaif you start thinking about option names as python identifiers16:35
bialixor even into database16:35
bialixregistry16:35
vilaeeerk16:35
bialixand so on16:35
vilano subsections please16:35
bialixthat's bad16:35
vilaI don't think we need more than python identifiers here16:35
bialixI can't agree16:35
vilathat's far more user friendly than subsections with [[[[[very embbeded section]]]]]]16:36
bialixbzrlib.config has hidden ConfigObj too deeply16:36
vilanot enough obviously16:36
bialixI need only one layer down16:36
bialixevery q-window should have dedicated section16:36
bialixfor their pixel settings16:37
vilaqbzr.<window_name>.size16:37
bialixgreat! can I have one of this?16:37
vilajust do it !16:37
vilait works today !16:37
bialixreally?16:37
bialixin 2.3?16:37
vilain 2.0 even16:37
bialix???16:37
vila'.' has always been valid in an option name16:38
bialixI never seen it16:38
bialixha16:38
bialixyou again put me bacj16:38
bialixback16:38
vila?16:38
bialixone sec, I'm pastebining16:38
bialixvila: http://pastebin.com/XQ9PiW7P16:39
bialixdo you like it?16:40
bialixI'm NOT16:40
bialixthat's a mess16:40
bialixsorry for my french16:40
vila:)16:40
vilaYeah and the user has no idea who is spamming his config file...16:41
vilasubsections won't make it less spammy16:41
bialixthe syntax you have shown "qbzr.<window_name>.size" recalls me about git configs16:41
vilajust because it's like git doesn't mean it's bad16:41
bialixdot syntax is using to navigate through sections, IIRC16:41
vilano, sections are used for something else !16:42
vilathat's the whole point16:42
bialixI thought you said we can navigate through our sections as well16:42
vilaif you use sections to define the name space you can't reuse it to define values for more specific cases16:42
bialixlet's draw a line: I want those automatic pixel settings to be stored separately of user options16:42
vila'specific' can be a path, a user name, an url, whatever16:42
bialixvila: so I need [GEOMETRY] section and q-window names as subsections16:43
vilabialix: right, put them in a qbzr.windows.conf file then16:43
vilahaaa16:43
vilascratch above16:43
bialixqbzr.internals.pixels.settings.dont.edit.it.please.and.even.dont.look.inside.conf16:43
maxbWhat do we use sections for at the moment, other than locations.conf ?16:43
vilaa qbzr.windows.conf with window names as sections then16:43
vilamaxb: nothing, exactly my point ;)16:44
maxboh, and branch.conf [commit_data]16:44
bialixyep, famous commit_data16:44
vilamaxb: kill that one, I don't even want to know it has ever existed :)16:44
bialix(palm face)16:44
vilabialix: windows size are user specific right ? It's a bit sad it can't be project or even branch specific no ?16:45
* bialix wonders where is the Gary. maybe in the long and sunny vacation on Taiti16:45
bialixvila: yep16:45
vilanahhh, in a basement with someone whipping him16:46
bialixnm16:46
vilahmm16:46
vilathen no sections for window names :)16:47
vilayou can do as locations.conf and use path as section names instead16:47
vilaone planned feature for configs is that the sections (from path) would be allowed in bazaar.conf to act as default values (as opposed to overriding values in locations.conf)16:48
bialixvila: so far nobody compains about pixels settings to be non-project adjustable16:48
* vila nods16:49
bialixvila: I want to extract pixel settings out of qbzr.conf, that's my long standing desire16:50
bialixI'm not sure I need conf file for them even16:51
vilaconfig files are for text values that a user may want to edit, ... yeah16:51
bialixyep16:52
vilabut you need some sort of persistence16:52
bialixof course16:52
vilaso putting them in a different file with a comment: '# Sorry guys, not for you to edit' could work16:53
bialixso COnfigObj with subsections provides me a good hierarchy store16:53
bialixI'm not very good in sqlite16:53
vilawhy would you care about how it's represented in the file if you don't intend to edit it ?16:53
bialixsometimes I need to edit it16:54
=== deryck[lunch] is now known as deryck
bialixmaybe to test something or to workaround something16:54
vilathe dotted notation works quite well for python modules why not for you ?16:54
bialixthe paste I've shown16:54
bialixthe options are not grouped toghethre16:54
bialixso it's harder to read and analyze16:55
bialixfor me as qzbr dev16:55
vilasorry ? you mean you want them sorted by what criteria ?16:55
bialixby window name of course16:55
bialixthey're essentially grouped16:56
bialixbut not in the file16:56
vilaerr, the file you pasted is grouped by window name...16:56
bialix'cause config preserves the order16:56
bialixno, it's not16:57
bialixlook for explorer_16:57
bialixthey're spread16:57
bialixthey're spread across the lines16:58
bialixditto re log16:58
bialixand I think diff as well16:58
bialixsometimes I edit it to test something16:58
bialixsometimes it's for different reason16:58
bialixbut my point: there are 75 lines of different settings16:59
vilawell, that's your file :)16:59
bialixyeah, why not16:59
vilaI meant, you're free to organize it as you see fit, we already agree it's not really user oriented17:00
bialixqbzr.conf is twofold today17:01
bialixthere are user settings as well. I simply omit them when pasting17:01
bialixwhile pasting17:01
bialixvila: I raise this question because of new patch submission: https://code.launchpad.net/~nick-sonneveld/qbzr/fix-258926/+merge/5086217:02
bialixit touches the same grey area17:02
bialixsome qbzr options are about appearance, some about behavior17:03
vilawell, the in (True, 1) is a subset of get_user_option_as_bool17:03
bialixyep17:03
bialixreinventing the wheel for fun and profit17:03
bialixok,17:04
bialixI need to go home now, I'd like to continue this rant later17:04
vilabut yeah, the behavior is a good candidate for branch.conf and this route is via qbzr.<window name?>.versioned_files.show17:04
bialixI need to think more17:04
* bialix disappears17:05
vilaexcept you'll need to find a way for the user to decide in which conf file the changes are recorded17:05
vilatoo lat :)17:05
vilae17:05
=== beuno-lunch is now known as beuno
=== chx_afk is now known as chx
CoffeeIVIs there a general way I can undo a "bzr up" if I need to ?  The situation is a live web site maintained under bzr version control.  I think "bzr revert" would un-do edits I made, but if I note a revision number, is there a quick way to back out of a "bzr up" if I need to ?18:38
chxCoffeeIV: you can bzr up -r somepreviousrev18:42
chxCoffeeIV: i recommend setting a tag before upping and hten it's easy to back down18:42
CoffeeIVchx: ok, I will figure out how to do the tag.  Thanks !18:42
chxCoffeeIV: bzr tag whatever :) and then bzr up -r tag:whatever18:43
chxCoffeeIV: this is bzr, everything is trivial (until you do something as silly as i did two days ago and even that it was two commands to fix it, lol)18:43
Takthat's what I love about bzr18:44
Taknone of this 10 commands, each with 3 optional arguments and nondeterministic side effects, to accomplish a straightforward task18:45
chxyessss18:46
beunohttp://git-annex.branchable.com/19:40
beunothat looks interesting19:40
Taklooks similar to mercurial's bfiles extension19:42
jaypipesanybody know how to find out who removed or renamed a file that was at one time under bzr source control?20:09
vilabeuno: damn it20:21
vilabeuno: that's on my TODO list for months, far low unfortunately20:23
beunovila, WORK FASTER20:23
beuno:)20:23
vila:-}20:25
=== Ursinha` is now known as Ursinha-afk
=== BasicPRO is now known as BasicOSX
=== fredp_ is now known as fredp
=== joey` is now known as joey-tosh
=== beuno is now known as 84XAAAATU
=== Ursinha-afk is now known as Guest72054
thumper$ bzr revno :push23:29
thumperbzr: ERROR: Unsupported protocol for url "lp:~thumper/launchpad/lp-client-cache-move"23:29
thumperexpected?23:29
thumperwasn't to me23:29
thumper$ bzr revno lp:~thumper/launchpad/lp-client-cache-move23:30
thumper1244523:30
bob2is it a "lp: urls when you're not logged in are http://" issue?23:30
thumpernope23:30
thumperit seems that if you try to use a branch alias, it isn't expanding the branch23:30
=== chx is now known as chx_sleep

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