/srv/irclogs.ubuntu.com/2010/03/19/#bzr.txt

poolieigc is explorer now in the mac packages?01:08
pooliere bug 48308301:08
ubottuLaunchpad bug 483083 in bzr-mac-installers "No bzr-explorer in Mac desktop bundle 2.0.1" [Undecided,Confirmed] https://launchpad.net/bugs/48308301:08
pooliemwh, spiv does python -O do anything aside from turn off assertions?01:09
mwhudsonpoolie: it makes __debug__ 001:10
poolieand anything else?01:10
pooliepython -h says "optimize bytecode slightly"01:10
mwhudsoni didn't think that was controlled by -O01:11
pooliethis is re bug 14792701:12
ubottuLaunchpad bug 147927 in bzr "use python -O (assertions off) when running installed copy" [Low,Confirmed] https://launchpad.net/bugs/14792701:12
spivpoolie: what mwhudson says01:14
spivI think the "optimize bytecode slightly" is alluding to omitting the bytecode of "if __debug__:" blocks.01:15
poolieso the bug's obsolete?01:17
spivI think so, yes.01:19
spivAnd we've sort-of replaced what that would do with the -D flags.01:20
pooliewhich are better i think01:20
poolieok closed01:22
jelmerIf somebody could review https://code.edge.launchpad.net/~jelmer/bzr/branch-names/+merge/21197 that would be much appreciated, it's the next step for colocated branches.01:28
poolieit was on my list but it's a long list :)01:36
poolieso01:36
poolieit looks pretty good01:36
pooliei had some qualms about the earlier patches needing to insert 'name' into quite so many places01:37
pooliebut it's not really your fault01:37
pooliei feel those classes could do with a scrub01:37
pooliedo you want to talk about that patch or do you just want a +1?01:37
jelmerpoolie: I'm happy to talk about it01:38
pooliei mean, do you have any concerns?01:38
poolieit looks ok to me01:38
jelmerpoolie: Ideally I'd like a +1 but it'd also be good to know what you think of the general direction my patches are going in and what plans you have for that API in general.01:38
pooliei think it's good01:39
pooliei feel there's a lot of duplication in bzrdir.py01:39
jelmerpoolie: Yeah, there's quite a few places that have a name parameter. I'm not sure how we could best abstract that out though.01:40
poolieanyhow01:40
pooliei don't think we should block your stuff01:40
poolieif you get around to deleting a lot of code from bzrdir or branch.py it would make me happy :)01:41
jelmerok :-)01:41
igcpoolie: explorer is in the mac packages for Snow Leopard (10.6) but not earlier IIUIC01:48
* igc out for a few hours01:48
pooliethanks01:49
echo-areaspiv: hi02:22
echo-areaspiv: https://bugs.launchpad.net/bzr/+bug/537888  <---  This link contains my patch to the doc.02:24
ubottuUbuntu bug 537888 in bzr "on documentation of stacked branches" [Medium,In progress]02:24
spmpoolie: should be able to review (properly, skim read looks fine) and get that in this arvo.02:26
poolieno rush02:26
pooliehello echo-area02:27
echo-areapoolie: hi02:27
poolieoops, i started a proposal for that but i didn't paste the link02:27
pooliespiv, want to read https://code.edge.launchpad.net/~mbp/bzr/doc-stacking/+merge/2169402:32
spivecho-area: will look, thanks!03:07
AdysIs there a way to force a revert even if it ends up in an error (file not versioned, ...) ?03:52
spivAdys: what error are you getting?  revert should always work I think.03:53
Adysadys@azura:~/src/bzr/xflight$ bzr revert *.txt03:53
Adysbzr: ERROR: Path(s) are not versioned: CMakeCache.txt03:53
spivOh, I see.03:53
Adysi dont see a --force option03:54
spivrevert thinks you're trying to revert a file it doesn't know anything about, but I guess what you actually want is for it to ignore the unversioned file(s) matched by *.txt and revert the rest?03:55
spivI suppose you could do something like: bzr revert `bzr status -S -V *.txt | cut -b 5-`03:57
spivBut I don't think we have a builtin option for that, but it would be good to add.03:57
spivAdys: I've filed https://bugs.edge.launchpad.net/bzr/+bug/54167604:03
ubottuUbuntu bug 541676 in bzr "Add --ignore-unversioned option to revert" [Low,Confirmed]04:03
Adyscheers spiv04:03
Adysand ya its not a big deal to me, just thought it'd be something good to have builtin as well04:05
igcback05:37
nlisgoIs there a way to return a list of files that have changed from revision x to the latest revision07:30
nlisgoAnd then to create a patch file between a specified version and the latest revision07:34
bob2well, the latter is easier07:35
spivnlisgo: for the latter: bzr diff -r REV..-107:37
spivnlisgo: (although you may find 'bzr send' to be better than generating plain diffs, depending on what you are doing)07:38
spivnlisgo: for the former: bzr status -r REV..-107:39
nlisgothanks very much spiv. I shall give them a go.07:40
nlisgoThat worked fantastic spiv. Thanks very much!07:50
nlisgowhat would the command be for send?07:50
nlisgobzr send -o -r REV..-1 > patchfile07:51
thumperigc: ping (perhaps)07:55
nlisgobzr send ./ -o ../myfile.patch -r REV..-107:56
spivnlisgo: typical use of 'bzr send' is to tell it which branch you are 'sending' to07:56
spivnlisgo: and then it works out exactly what info to include07:56
* spiv is off for the day07:58
spivG'night all!07:58
nlisgospiv: night - thanks for help07:58
spivnlisgo: no probs07:58
vilahi all, oops forgot to do that hours ago08:43
vilaIs there some lovely LOSA around to have a look at pqm, it seems hung in an unusual way08:44
vilai.e. the make has been done but the selftest step reported nothing for... ~1 hour08:44
gioeleI have problems branching from an SVN repository. bzr keeps saying «bzr: ERROR: Not a branch: "/branches/src/gioele-api/XXX".». I successfully branched from other branches of the same SVN in the past. How can I debug this?09:35
jelmergioele: what does "bzr svn-layout" on that repository tell you?09:41
gioelejelmer: that I have to modify ~/.bazaar/subversion.conf ;)09:43
=== quicksil1er is now known as quicksilver
igchi jelmer, vila09:50
igcthumper: pong09:50
jelmer'morning Ian, Vincent09:50
* vila waves back09:50
=== jpds_ is now known as jpds
bialixhi guys09:55
vilahuh ? No more bzr_man.html created by 'make docs' ? What did I miss ?10:33
vilawow, that was already lost in 2.110:38
vilaigc: does this ^ ring a bell ?10:38
bialixvila: I guess it was the part of what igc did for new documentation10:38
igchi bialix10:38
bialixdo you really need an html?10:39
bialixhi igc10:39
vilaI need to test modifications to bzrlib/help_topics/en/configuration.txt10:39
igcvila: I think the file is now called index.html10:39
vilawhre ?10:39
igcunder doc/en/user_reference10:39
vilatry it, no index.html there10:40
igcvila: do you have sphinx installed?10:40
vilaI ran 'make docs' and got no complains,10:41
vilaI then installed sphinx, search the makefile, run make html-sphinx, still no sugar10:41
igcmake docs is the docutils stuff which is effectively dead10:41
vilait ends up saying The HTML pages are in _build/html but there is no _build dir here10:42
vilanm, let's start again10:42
igctry doc/en/_build/html10:42
vilaI need to test modifications to bzrlib/help_topics/en/configuration.txt, what should I do ?10:42
igcthe _build directory is relative to the sphinx config file (in doc/en)10:42
bialixvila: bzr help conflicts? :-P10:42
bialixrats10:43
bialixtypo10:43
bialixheh10:43
igcvila: make html-sphinx is the right command10:43
igclook in doc/en/_build/html for the results10:43
vilaigc: there are also quite a few warnings during make html-sphinx10:43
igcvila: yes, I/we need to fix those10:44
igcvila: the old docutils stuff has to go first10:44
vilaindeed10:44
igcbecause many of the warnings are a consequence of trying to support do slightly different doc systems10:44
vilawhere is configuration.txt output now then ?10:45
igcs/do/two/10:45
igcunder doc/en/_build/html/user-reference10:46
igcvila: it will be called configuration-help.html10:46
igcvila: the -html prefix is necessary to prevent namespace clashes with std sphinx docs (like search.html)10:47
vilaENOTFOUND10:47
igcvila: is anything in doc/en/_build?10:48
viladoc/en/_build/html/user-reference/configuration-help.html finally10:48
vilanow, how do I know what kind of markup can be used ?10:49
igcvila: good question :-)10:50
igcvila: you can use any sphinx markup you like for nice html10:50
igcvila: the trouble is nice text for command line users10:50
vila:-/ Ok, nm, the table of contents answer my precise question here, I used the wrong underline char before, now it's indeed a subsection10:51
igcso we tend to stick with plain text with some limited markup10:51
igci.e.10:51
igc:: at the end of a line for introducing examples10:52
igc:doc:`foo-help` for cross-references (get turned into `bzr help foo` in the text output10:52
vilayeah, except I have some text to describe the example so using Examples:: doesn't work, I can use it for each example though10:53
vilacough, sphinx always rebuild everything ?10:54
igcvila: inside command docstrings, subsections like Examples can be introduced by using :Examples: and indenting text within that by a character10:54
vila:text: what's that ?10:54
vilarest ? sphinx ?10:54
igcvila: have a look in builtins.py at cmd_log for example10:55
igc:text: is a bzr-ism for marking subsections inside a docstring10:55
vilaI'm not inside a docstring10:55
igcvila: it doesn't apply to a plain text file though10:56
igcvila: here's the doc on sphinx: http://sphinx.pocoo.org/contents.html10:57
vilaha good10:57
vilathx10:58
viladoes it generate texinfo output ?10:58
vila:-P10:58
vilaLaTeX files ! I feel younger by the minute :)10:59
igcvila: :-)10:59
igcvila: we generate our PDF manuals via LaTeX fwiw11:00
gioeleif I "bzr push" an svn imported branch, will this create an svn commit for each bzr commit?11:00
vilafrom latex files getting texinfo should be trivial (at least in theory, oooh, I love those theories :)11:00
igcvila: however, we don't have a PDF verison on the User Reference because ...11:00
igckeeping things working for docutils means that sphinx can't build the LaTeX11:01
igchence my keenness to drop support fro docutils11:01
igcgioele: I believe so but jelmer will know for sure11:03
jelmergioele, for every commit in mainline, yes11:03
gioelejelmer: with which date? all with the current date and time?11:03
igcgot to go11:03
igcnight all11:03
vilaigc: thx for the help and last question: our official doc in the sphinx one now right ? At least for 2.2 ?11:04
vilaigc: it would be good to clarify things a bit here11:04
=== mnepton is now known as mneptok
mok0Hi, any bzr devs around for a couple of questions? I am working on backporting bzr to hardy and would like to clarify whether there are anything to be concerned about11:56
spivmok0: there are hardy packages in the bzr PPA: https://edge.launchpad.net/~bzr/+archive/ppa?field.series_filter=hardy11:59
mok0spiv, I know12:00
mok0spiv: I'd like to hear to what extent they have been tested12:00
spivAFAIK they work just fine.  I don't know of any reports of problems.12:00
mok0spiv: any pitfalls we (backporting team) should be aware of?12:00
spivThe main issue we've had with packaging has tended to be making sure the plugins are all up to date with the version of bzr12:01
mok0spiv: OK, sounds good12:01
PengDo you mean packaging issues or bzr issues? I run from source on Hardy and have had no issues.12:01
mok0Peng, I mean issues with the plugins. I also have no problems with bzr iteself12:02
spivSo bzr itself doesn't have very tough dependencies (just Python, basically), but if you upgrade bzr without upgrading plugins that tends to cause grief if you expect e.g. bzr-svn to work.12:02
mok0spiv: right. subvertpy is on it's way to the hardy backports archive as we speak12:03
spivmok0: *nod*12:03
mok0spiv: When that becomes available, I can test bzr-svn etc.12:04
spivmok0: packages that depend on bzr (mainly just plugins, although maybe also loggerhead?) is where I'd expect potential problems.  So if you're aware of that then I think you know about as much as I do :)12:04
mok0spiv: I wasn't, thanks,12:05
spivIn terms of testing, we do occasionally hear people grumble when we break or not update the PPA, so I assume people are testing it.  It'd be nice if LP could give some sort of stats that indicate usage though.12:06
mok0spiv: Indeed it would12:06
spiv(Easier said than done, I'm sure)12:06
* spiv -> bed12:06
mok0Heh12:06
spivmok0: good luck, and thanks for backporting :)12:06
mok0spiv: goodnight spiv, and thanks12:06
mok0My pleasure :-)12:07
* mok0 < lunch12:07
=== Chex_ is now known as chex
andyjb23is there a way of installing bzr 1.18 on fedora 12?13:20
Pengbzr 1.18? Why? That's quite old.13:25
andyjb23i know, but a project i'm working on needs 1.18 to work properly13:26
Peng...Why?13:27
andyjb23i don't know, i haven't worked on it myself yet13:28
PengBazaar is nearly completely backwards-compatible...13:29
bialixI suspect their need <2a format13:29
bialixandyjb23: I can suggest format1 plugin to force using old default format with bzr >= 2.x13:30
andyjb23what does that mean?13:30
bialixthe main thing changed between 1.18 and 2.x is new default repository format, now called 2a13:31
bialixmy plugin force to use old format named pack-0.92 instead13:32
PengIIRC 1.18 supports 2a, though. It probably sucks a bit, but it works13:32
bialixyou may ask your team about the reasons behind 1.1813:32
PengYou don't need the plugin. It's just so that you don't have to remember to do "bzr init-repo --pack-0.92". Which is good.13:33
bialixPeng: if you have to support even older bzr clients, believe me you don't want to use 2a13:33
bialixalso 2a is rich-root format. and therefore any unexpected format upgrade will give you big problems13:35
andyjb23so do i need this plugin or just to use --pack-0.92 every time i use bzr?13:37
bialixit's up to you13:37
andyjb23but both make it behave like bzr 1.18?13:38
bialixbut you'd better to understand the reasons behind the choice of 1.18 only13:38
bialixandyjb23: not really13:38
andyjb23bialix: this is my first encounter with bzr, i'm just following instructions written by someone else on the project about a year ago13:39
andyjb23i will ask when he wakes up though13:39
bialix1.18 was released about half year ago13:40
bialixone can't write such instructions 1 year ago13:40
andyjb23hold on, history says instructions are 5 months old, sorry13:40
Pengandyjb23: Please do ask him. It most likely isn't actually necessary to use an old version.13:40
* bialix nods13:41
andyjb23thanks13:41
=== mbarnett` is now known as mbarnett
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
=== beuno-lunch is now known as beuno
=== deryck[lunch] is now known as deryck
=== salgado is now known as salgado-upgradin
=== radoe_ is now known as radoe
=== maxb_ is now known as maxb
luke-jris it possible to retroactively revert a revision?18:44
luke-jreg, remove the revision (and its modifications) from the branch's history completely18:44
lifelessuncommit18:45
NfNitLoopluke-jr: Not once that revision is public.18:46
NfNitLoopby which I mean, in someone else's repository.18:46
NfNitLoopIf that revision is only on your disk, you could branch from the point before that revision...18:46
NfNitLoopthen replay all of the history after that onto the branch.18:46
NfNitLoopand throw away your "tainted" branch.18:46
luke-jrNfNitLoop: can the replay part be automated sanely?18:47
luke-jr/easily18:47
NfNitLoopI *think* rebase might be able to do that?18:47
luke-jrhmm18:47
luke-jrI thought rebase was a git cmd18:47
NfNitLoopthere's a bzr-rebase plugin.18:47
luke-jrah18:47
luke-jrok18:47
luke-jrI'm considering releasing some internal code, but I'd need to strip customer-specific changes ;)18:47
NfNitLoopthe problem is...18:48
luke-jrnot a good idea to publish customer credit card numbers and such :)18:48
NfNitLoopthose branches would be divergent.18:48
luke-jrhmm18:49
NfNitLoopmeaning you wouldn't be able to merge from that branch to your internal branch.18:49
NfNitLoopbecause "rebase" basically takes the commit message and the diffs and commits them as completely new (unrelated) revisions.18:49
luke-jrwhat if I do the branching inside Subversion using cherry-picking, and use bzr-svn to bridge with the real world?18:49
NfNitLoopso a merge across those branches would see them as needing lots of merging.18:49
luke-jrsince Subversion supports cherry picking properly18:49
NfNitLoopSure, that could work.18:50
=== davidstrauss_ is now known as davidstrauss
=== salgado is now known as salgado-afk

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