/srv/irclogs.ubuntu.com/2007/11/02/#bzr.txt

abentleyPeaker: When you pull into a branch where you've been making changes, your changes stop being shown as the mainline.  We don't think this is a good default.00:08
=== mw is now known as mw|out
Peakerabentley: I am not sure what you mean, I was just wondering about the best method to review someone's changes00:12
Peakerto accept/reject them00:12
abentleyI would generally merge them, then use diff or cdiff.00:14
abentleyThat is, if they haven't sent you a merge directive.00:14
Peakermerge directive?00:15
abentleyMerge directives are recipes for merging someone's changes.  They are created by the "send" command.00:46
abentleyThey typically include a bundle of revisions in case you don't have them.00:47
fullermdUnless you make them with bundle --no-bundle!    :>00:47
abentleyfullermd: I wish you wouldn't be so snarky.00:49
fullermdEh.  That was more whistling in the dark.  I'm too tired this week to work up good snark   :|00:51
abentleyWell, I put in a lot of thought and effort, and it's not fun having you be constantly critical of my work.00:55
fullermdI wasn't aware that I was.  I didn't intend to be.00:56
fullermdI always found it mildly amusing that you were so against that command combo; that's the sort of vague nonsense I always find fun in tools.00:57
abentleyYou go on and on about rollup formats.  Now you mock the bundle --no-bundle thing.  And there are others I don't remember right now.00:57
Peakerwhat is rspush good for?01:09
Peaker(in bzrtools)01:09
abentleyMost of the time, not much.01:10
abentleyThere are a few users, so I'm actually updating it right now.01:10
abentleyBut you're generally better off with push.01:10
abentleyUnless rsync is the only supported protocol.  And even then, it doesn't work with shared repositories.01:11
fullermdIt does push WT's though, right?  I think that's the big thing people want from it...01:11
fullermdOr was that the other rsync-push plugin?01:12
Peakerwhy is send/bundle useful? Why not merge locally and push?01:12
abentleyfullermd: You're right, it does do trees by default.01:12
fullermdYeah, that's a plus.  Sadly, it seems like there are a surprising number of people who come in here asking for tree-pushing, when they only have FTP access.  It's like waking up in the middle ages.01:13
abentleypush requires you to publish a branch, which is a higher barrier than just sending an email.  Send works especially well with email, so it's great for mailing lists.01:14
Peakerabentley: so its basically a way to allow bzr over email?01:15
Peakerhow does it generate the merge directive? Do you first merge, and then send instead of commit?01:15
abentleyYou run "bzr send --mail-to email@example upstream_branch".  You don't need to merge in advance.01:17
Peakerit will work under the same predicate as push would, and then it generates the diff? if not, how does it resolve the merges required?01:18
Peakeralso, is this how you ask pqm to merge things?01:18
Peakeris "bzr patch" smarter than patch? Looks at metadata for extra information?01:21
abentleyPeaker: No, the upstream_branch is the branch that you want someone else to merge your changes into.01:30
abentleyFor me, this is typically http://bazaar-vcs.org/bzr/bzr.dev01:30
abentleyBut I use a local mirror, of course.01:30
abentleybzr patch is not smarter in the way you're thinking.01:31
abentleyIt's better because it auto-detects the branch root and applies the changes there, and because it can download a patch from a URL.01:32
abentleyPQM does not use merge directives yet, but we plan to update it.01:33
abentleyYou apply a merge-directive with "bzr merge" or "bzr pull".  The machine-readable portion of the merge directive is used for merging.  The patch is mainly for human eyes.01:34
VerterokHi all01:51
coffeedudelifeless: Thanks for the tarball.  Grabbing it now.02:35
bialixhi! lifeless here?04:56
bialixit seems like PQM is not working04:56
lifelessa/away12:58
lifelessbleh12:58
lifelessmoin12:58
Peakerabentley: thanks, I was already in bed by the time you replied there :)13:07
reeHi!13:36
reeIs is possible to use a bazaar branch directly from easy_setup like in svn? (http://....#egg=...) ?13:37
bitmonkree: you'd probably have to extend setuptools somehow..13:38
bitmonki was actually thinking of patching setuptools and some buildout recipes to try and use bzr to checkout svn repos with bzr-svn..13:38
reeallright... there is setuptoolsbzr that allows easysetup to use bazaar branches in dependency_links13:39
bitmonkreally? i'll have to check that out..13:39
reebut that indeed does not help with buildout13:40
reeit's on launchpad13:40
bitmonkwell, the buildout recipes i've seen are just calling svn command13:40
bitmonkso i say start there, just call bzr command, then when you have time, go back and try to use the python apis directly13:40
reewith buildout I've seen it done with Makefile, that uses bzr directly. but the ideal would be if setuptools could use a bzr source directly13:41
bitmonksvn isn't written in python, but it's not like there aren't python apis.  nothing wrong with os.system() in a buildout recipe..13:41
bitmonkyesh that would be ideal..13:41
bitmonkah you want it for eggs, duh13:41
Peakeros.system->subprocess.call :-)13:41
* bitmonk salutes13:41
reebitmonk, if it worked for setuptools, it would natively work with buildout without need to support it fromwithin13:43
ree                    13:43
bitmonkyeah13:43
bitmonki'm thinking like plone.recipe.bundlecheckout13:43
bitmonkor .distros maybe13:43
bitmonkwhich are sort of lazy, b/c they are doing Product checkouts13:45
bitmonkanyway, let me know how your journey with setuptools and bzr goes, esp if i can help test..13:46
bitmonkmaybe once i finish this server migration i'll take a look at setuptoolsbzr at least13:46
keiris anyone other than bzr using patience diff?14:56
PengI wish they would.15:01
fullermdI think someone else was.15:02
fullermdcdv, maybe.15:03
PengOh, yeah, it probably does, since Bram Cohen invented them both.15:03
PengAnyone know how to get 'python -m bzrlib.patiencediff' to run on a directory instead of just a file?15:04
jam-laptopPeng: adding a --recursive flag to patiencediff.py wouldn't be too hard, or you could just do it with shell tricks15:59
PengYeah, it would probably be pretty easy with some shell trick, but I haven't wanted to bother.16:01
PengIt would have to be modified to accept a file existing in one directory and not in the other, wouldn't it?16:04
jam-laptopwell, you would have to write some loops that recurse through the directories16:04
jam-laptopand that is where you would look for one-side but not the other16:04
jam-laptopoh, if you mean in shell... yeah16:05
jam-laptopIt would be tricky to get it right in shell, and have it detect present/missing on both sides16:05
PengI didn't mean in the shell.16:05
keirwe really need a page of 'compelling reasons to use bzr' instead of git/hg... patience diff should go on there!16:05
PengWell, once patiencediff.py is changed to support directories, it could be used by hg's extdiff extension. That's the reason I'm interested in it. :P16:06
* Peng hides.16:06
keirpeng, why hg instead of bzr?16:07
Pengkeir: I personally use it over bzr because of speed. Bzr has recently caught up, but I don't want to go through the hassle of switching back. Also, I doubt bzr's network performance is up to hg's.16:10
Pengkeir: Even if I didn't, there are projects I'm interested in that use hg, so it would be nice to have a non-sucky diff algorithm there.16:10
Peng(It takes like 2 minutes to pull a dozen new revisions of bzr.dev. Yikes. It'd probably take 3 seconds with hg. But that's with a dumb server.)16:12
keirPeng, no argument there. packs help that.16:12
keirPeng, the next pack refresh should have a smarter dumb protocol index too16:12
keirheh, yup, 41 seconds for 11 revs on bzr.dev16:14
PengSmarter index access sounds good. How much does it have to transfer to find the new revisions?16:15
datoPeng: well, hg does not use a dumb transport.16:35
Pengdato: Yeah, that's what I meant.16:38
Pengdato: I didn't contruct the sentences well, but that's what I meant. hg has the benefit of a smart server.16:38
Pengs/benefit/advantage/17:07
lifelessree:  setuptools can use bzr17:17
mneisenHi, i use bzr and bzrtools on Ubuntu. My problem: bzr is always released well before bzrtools, so apt wants to upgrade bzr and remove bzrtools. Is there any way to solve this?17:46
PengI haven't seen bzr get released before bzrtools.17:48
PengExcept for bzr 0.92rc1 being out for a like week before bzrtools 0.92.0, but 0.92rc1 is only a release candidiate.17:48
PengWell, anyway, this isn't helpful.17:49
mneisenPeng: Well, apt-get tells me the following: http://paste.ubuntu-nl.org/43030/17:59
PengI guess Ubuntu upgrades bzr more quickly than bzrtools.18:00
james_wPeng: it is an exception this time hopefully.18:02
james_wthe aim is to upload them together, but this time bzrtools was later than the rc, and other things have now got in the way.18:02
james_w(not ruling out exceptions being the norm up to this point).18:03
james_wmneisen: you should just wait.18:03
mneisenjames_w: Will do.18:04
james_wgreat.18:04
mneisenjames_w: Thanks for the info.18:04
mneisenjames_w: Any guess when bzrtools will be out?18:04
james_wno problem. You can expect bzrtools to be updated on tuesday or wednesday hopefully.18:04
mneisenjames_w: Alternatively: Is there a way to "block" updates in apt-get?18:04
james_wyou can pin the package.18:04
james_wgoogle for "apt pinning", I can't remember how to do it now.18:05
mneisenjames_w: Thanks again.18:05
james_walternatively you can use aptitude and put the package on hold.18:05
AnMasterUsing saved location: bzr+ssh://anmaster@bazaar.launchpad.net/~anmaster/envbot/module-help/18:08
AnMasterNo handlers could be found for logger "bzr"18:08
AnMasterbzr: ERROR: Could not acquire lock "(remote lock)"18:08
AnMastersigh, what is going on, #launchpad ppl redirect me here18:08
james_wdamn, I was going to point you there.18:08
AnMasterI don't have any problem with other servers18:08
james_wThe "No handlers" thing is known and shouldn't cause this issue.18:09
AnMasterjames_w, well, I can push with bzr+ssh just fine to other servers18:09
AnMasterand since I got redirected here....18:10
james_wcan you run using "bzr -Derror" please?18:10
AnMastersure18:10
james_wand paste the result.18:10
AnMasterjust that or the push bit too?18:10
james_wsorry?18:11
AnMasterbzr -Derror push or just bzr -Derror ?18:11
james_w'bzr -Derror -Dhpss -Dlock push' please18:11
AnMasterah ok18:11
james_wthat should tell us what is happening18:12
AnMastersure will pastebin18:12
james_w-Dwhatever turns on debugging output of a certain type.18:12
AnMasterit takes a while before it errors out18:12
AnMastermaybe 5-10 minutes18:12
AnMasterbetween the "No handlers could be found for logger "bzr""18:12
AnMasterand the next line18:12
james_wthat's fine. I'm going anywhere.18:14
AnMasternor am I18:14
AnMasterah18:19
AnMasterhttp://pastebin.ca/75893818:19
AnMasterjames_w, ^18:19
AnMasterjames_w, well?18:27
AnMasterguess I won't get help then18:50
james_wAnMaster: no need to be like that.18:52
AnMasterok :)18:53
AnMasterproblem is I got to leave soon :/18:53
james_wsorry for ignoring you though.18:53
james_wIt is raising LockContention, suggesting the lock is held.18:53
james_wIs anyone else going to be pushing?18:53
james_wno, it is your branch I see.#18:54
james_wso you can try 'bzr break-lock URL'.18:54
james_walso if you could post the end of '~/.bzr.log' that would allow me to confirm.18:55
AnMasterjames_w, can't be anyone else as far as I know, it is a private branch but I will try18:55
AnMasterouch that file is nearly 50 MB, that is nasty18:56
AnMasterjames_w, break-lock reported 2 locks that I broke18:56
AnMasterbut why is '~/.bzr.log' so huge18:56
AnMasterfor another account it is over 250 MB18:56
AnMasterjames_w, any way to turn off the ~/.bzr.log, I can't afford that space18:57
AnMasterjames_w, but here is the end of it http://pastebin.ca/75898118:58
james_wI'm not sure about turning it off, it is limited in size, but I am not sure about the size.19:00
AnMasterjames_w, well for another account it was 250 MB19:01
AnMasterdoesn't seem limited to me19:01
fullermdYeah, it should auto-rotate long before it gets near that big.19:01
* AnMaster symlinks to /dev/null for now19:01
fullermdWeird.  But yah, I've got it /dev/null linked in some places too.19:01
james_wAnMaster: you should be ok now then, I'll file some bugs for you.19:03
=== asak_ is now known as asak
jam-laptopIf he is pushing to launchpad, the "no loggers found" is actually an LP smart server bug19:15
jam-laptopit means the bracnh is already locked19:15
ubotuNew bug: #159589 in bzr "LockContention has unhelpful text" [Undecided,New] https://launchpad.net/bugs/15958919:15
jam-laptopunfortunately it isn't being sent to the user19:15
james_wah, thanks jam-laptop19:17
james_wif size <= 4 << 20:19:17
james_wthat seems rather large19:17
jam-laptopjames_w: it rotates when it gets to 4MB19:18
jam-laptopbut it only rotates at the beginning19:18
jam-laptopso if a single bzr action builds 250MB then it takes 2 rotations to go away19:18
jam-laptop(It goes to .old19:18
jam-laptopand then then new one overrwrites .old)19:18
jam-laptopSome actions log more than others.19:19
jam-laptopOff-hand i think "bzr add + bzr commit" might print out a line for each file19:19
jam-laptopIf you run a converter... that is one of the bigger ones19:20
jam-laptopI'm not sure about bzr-svn19:20
jam-laptoplifeless: any chance you could check on pqm? It seems to be stopped19:20
jelmerjam-laptop: not sure about what?19:23
jam-laptopjelmer: how much stuff it dumps in ~/.bzr.log19:23
jam-laptopEspecially on first push/pull19:23
jelmerjam-laptop: less than 10 lines during connect, etc19:24
jam-laptopNothing about what files it finds, or revision, etc?19:24
jelmerjam-laptop: and one line for special cases when pulling changes19:24
jelmerjam-laptop: what branching scheme it's going to use mainly19:24
jelmermore verbose data can be enabled using -Dtransport and -Dcommit19:25
jam-laptopnot a big deal. I just know that my converters would spew quite a bit into ~/.bzr.log, and it might be something to consider about bzr-svn19:25
jelmer-Dcommit for push/pull19:25
jam-laptop(well, *not* spitting out a lot)19:25
jam-laptopjelmer: is -D printing to the screen, or only to the log19:25
jelmerjam-laptop: only to the log19:26
jelmerto the screen would mess with the progress bar19:26
lifelessjam-laptop: sure19:26
=== tchan1 is now known as tchan
lifelessjam-laptop: looks ok19:27
jam-laptophmm.. both bialix and vila have had problems submitting19:27
jam-laptopI haven't tried anything myself19:27
lifelessok, found the issue19:28
lifelessit's being rectified by is now.19:28
lifelessupstream ISP did naughty stuff to our network19:28
jam-laptopthanks19:28
jam-laptopouch19:28
jam-laptopdidn't like you using 7GB/s for so long?19:29
jam-laptopwell, that is probably 7Gb/s19:29
lifelessplugged a cable where it shouldn't be; knock on effects lead to our mail feedb being disabled.19:29
lifelessjam-laptop: I'm offline again for some time LEAN traininig; please phone me or poolie on further issues.19:31
jam-laptopk19:31
PengWoah, I have 65 messages from the mailing list in my inbox from after I signed up but before I set up procmail to filter it to another folder. Whee, something to read.19:40
gotgenesjelmer: thanks for fixing bug #15911119:48
ubotuLaunchpad bug 159111 in bzr-svn "bzr-svn can't push, commit to rebound SVN repository" [High,Fix released] https://launchpad.net/bugs/15911119:48
jam-laptopPeng: I think you'll find you get more than enough to read from the bazaar mailing list20:22
jam-laptopI currently have 4.4k messages since 8/120:23
=== asak_ is now known as asak
jam-laptopand 31,376 in my "archive" folder that goes back to 2005-05-0820:27
PengI currently have...167.20:34
PengThat's close to 31,376.20:34
PengI didn't know the list was nearly this busy.20:34
jam-laptopusually less than 2,000 messages per month, 1k is probably average20:34
fullermdWell, this is the week to catch up, while half the list members are off being meetingly.20:34
jam-laptopfullermd: next week will be even more so20:35
jam-laptopAs I go to the conference20:35
jam-laptopThis week was UDS20:35
jam-laptopnext week is AllHands20:35
jam-laptopPeng: and that doesn't count the "bazaar-commits" list, or the bug list20:35
jam-laptopI don't archive the bug list20:35
fullermdYeah, so next week there will be about 6 mails.  The whole week   :p20:35
jam-laptopbut sometimes it can be as active as bazaar@20:35
fullermdFortunately, I'm on enough other lists to sustain me through these hard times, when I run out of mail reading and have nothing to do but get work done.20:36
jam-laptopfullermd: yeah, I used to be on a whole bunch of lists, until it just became too much20:37
jam-laptophaving BundleBuggy actually contributes to a bit of bloat for number of emails20:37
jam-laptopas it likes to send at least 1 extra email per submission20:38
fullermdHandy for traffic analysis, though.20:38
fullermdI've got an xbuffy watching my bzr mailbox, and when it suddenly jumps by 2 in a sample period (30 seconds), I know somebody posted a [merge].20:38
jam-laptopwell http://dir.gmane.org/gmane.comp.version-control.bazaar-ng.general is a nice graph of it20:39
jam-laptoppeaking at close to 60 per day20:40
jam-laptopI have the feeling that the last dip was when I was on paternity leave20:41
jam-laptopI'm completely wrong, the dip I see was caused by our last conference20:45
jam-laptoparound 5/2620:47
=== cfbolz_ is now known as cfbolz
datosiretart: okay, found time right now to upload. I hope you don't mind I use my name for the changelog :)21:30
datosiretart: btw, I'm retrospectively adding a tag for 0.91-2 :)21:31
jelmerdato: if you're going to upload 0.92rc1, please also upload bzr-rebase 0.2 and bzr-svn 0.4.421:59
jelmerif possible21:59
datojelmer: sure21:59
datoI should have some minutes left for that right now21:59
datojelmer: "Depends: bzr (>= 0.92~), bzr (<< 0.92~)" <-- s/92/93/ (the second one)?22:07
jelmereuhm, yep!22:08
datoall uploaded.22:12
jelmerdato: thanks very much22:12
datojelmer: np22:13
datojelmer: a small remark: it's considered good practice, when closing in debian/changelog upstream bugs closed in a new relesae, to say:22:14
dato  * New upstream release:22:14
dato    + no longer frobnicates your files when bar is set. (Closes: #1234)22:14
datorather than only:22:15
dato  * New upstream release (Closes: #1234)22:15
* dato leaves now.22:16
jelmerdato: Ok, I'll keep that in mind fior next time22:34
jelmerthanks22:34

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