/srv/irclogs.ubuntu.com/2009/02/08/#bzr.txt

KhaZHrmm.  I'm trying to use 'bzr launchpad-login' and I get a crash within urllib2_wrappers.py.  Anyone not going wrong?  Am I running an inappropriate version of Python for use with bzr?  (2.5.2?)00:22
Peng_KhaZ: bzr version, and pastebin the traceback00:25
KhaZI'm running 1.12 dev.  Let me get on that pasetbin.00:28
KhaZ*pastebin00:28
KhaZhttp://pastebin.com/m38be045200:29
Peng_KhaZ: That's a known bug. It's been discussed on the mailing list a bit.00:30
KhaZAh.  Is there a workaround?00:30
Peng_KhaZ: Well, you could revert to an older revision, or apply the patch on the list.00:31
Peng_KhaZ: http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/5212000:31
KhaZAH, thanks for the thread.  I'll dig around a bit.  I wonder why the patch isn't in dev?00:32
Peng_KhaZ: Cuz it only came up today.00:33
KhaZOutrageous.  Turn around time in bzr isn't instantaneous?  I'm apalled.00:33
KhaZ;)  Anyhow, thanks Peng_.00:34
ymlhello good evening01:07
ymlI have put some file on the shelve :  bzr shelve file1 file2 file301:09
ymlin order to do an automic commit01:10
ymlnow I would like to bring them back into my working tree01:11
ymlI found that bzr unshelve do what I want but I can have several shelve I would like to know if it is possible to :  list them, name each shelf wit a meaning full name, explore their content ?01:13
=== abadger19991 is now known as abadger1999
bob2yml: bzr help shelve/bzr help unshelve01:51
ymlbob2 I read them both but I haven't find answer to my questions02:40
Peng_jelmer: Is bzr-svn's "discovering revisions" progress bar supposed to say the progress is a negative number?06:32
Lo-lan-doOooh, network <308:38
Peng_?08:39
Lo-lan-doFOSDEM wireless.08:39
Peng_Ah.08:40
Lo-lan-doLet us say it hasn't proved very reliable yesterday.08:40
Lo-lan-doLarstiQ: I pushed the current (almost empty) results of what we did yesterday at http://bzr.debian.org/bzr/users/lolando/misc/bzr-gc09:02
jelmerPeng_, Nope, that's a bug.11:50
AfCUh12:02
AfC$ bzr info12:02
AfCRepository branch (format: 1.12-preview or 1.9)12:02
AfC...12:02
AfCwhat the hell?12:02
jelmerAfC, Hi!12:05
jelmerAfC, ?12:05
jelmerAfC: What is the problem there? The fact that it mentions two formats?12:06
jelmerAfC, this is because those formats are the same except for the working tree format12:06
AfCI'm asking what's with the "or" in the statement given by `info` about the format in place in the branch. Given that it was created with --format="1.9" I have no idea what that statement means,.12:06
AfCBut worse is that it sounds like Bazaar doesn't know.12:06
jelmerthe problem is that if there is no working tree, there is no way to distinguish between the two formats12:07
AfCI cannot believe the core developer of a tool that purports to be a clean user experience exposed that kind of uncertainty in the UI.12:07
AfCjelmer: perhaps I could suggest that if there is no Working Tree present to not report about such things then. If it doesn't know, it doesn't know.12:08
jelmerAfC: In that case, it couldn't print a format at all if you are in a shared repository12:09
jelmerAfC, there is technically no difference between the two formats if you don't have a working tree, so I don't think there is any uncertainty here12:09
jelmerAfC, I can agree it's a bit strange, but I don't see a good way to fix this..12:10
jelmerAfC, what would you rather see?12:10
jelmerbzr could just show you one format I guess, that would be technically less accurate but less confiusing too12:10
AfCI just don't want Bazaar embarrassing itself in front of users. We made so much of the premise that bzr was a better user experience than other tools, but this is precisely the sort of thing that causes us to squander such branch equity.12:11
AfC... such brand* equity.12:12
AfC:)12:12
Peng_Can we file that under "yes, we know bzr has too many formats" and ignore it? :D12:28
LarstiQJc2k: you around somewhere?12:32
bialixPeng_: what? again?12:34
Peng_bialix: It was about "bzr info" showing stuff like "Repository branch (format: 1.12-preview or 1.9)" :)12:35
bialixoh12:35
bialixwait12:35
bialixhow about this:12:35
bialixLightweight checkout (format: 1.6 or 1.6.1-rich-root or 1.9 or 1.9-rich-root or dirstate or dirstate-tags or pack-0.92 or rich-root or rich-root-pack)12:35
bialixIMO there is stil the room for dozen formats12:36
Peng_Hahaha. That's excellent. :)12:36
Peng_Too bad the subtree formats are hidden.12:36
bialixyeah12:36
Peng_I think we scared AfC away.12:38
bialix:-D12:38
bialixlol12:38
LarstiQpoor guy :)12:38
Peng_Wait a minute, why is the lightweight checkout list in that order? In order of age, that's like 5, 5, 6, 6, 1, 2, 3, 4, 3.12:40
Peng_Err, that should be 5, 5, 6, 6, 1, 2, 4, 3, 4.12:40
Peng_...Oh, alphabetical.12:40
* Peng_ bonks himself on teh head12:40
bialixwe need add randomizer I guess12:42
bialixso there will be everytime something new12:43
Peng_That's a horrible, evil, excellent idea.12:43
Peng_...It'd make blackbox tests a bit tricky though.12:43
bialixput them in a set?12:44
bialixand check the set12:44
* bialix don't think there is blackbox for light checkout info12:45
Peng_Good point. It would still be slightly more complicated though.12:45
Jc2kLarstiQ: im at the front of the cross desktop room13:32
AdysThis sounds stupid, but I cant find how to refetch a folder I deleted by mistake from the remote working branch15:52
Adyser, make that, refetch the folder from the remote working branch, which I deleted locally15:53
Adysright, bzr revert *16:06
=== ja1 is now known as jam
bialixwhat is the equivalent to os.path.join in bzrlib? osutils.join?17:23
* bialix found osutils messy17:24
santagadabialix: http://starship.python.net/crew/mwh/bzrlibapi/bzrlib.osutils.html17:25
santagadaI think it is joinpath17:25
pi_mHi. Can I ask you? I am new to Bazaar and I really, really can't understand one thing (yes, I have read the user guide and the user reference manual first). It is shared repository. In the texts mentioned above is written that shared repository is created after "init-repo" command. New branches could be created by "init" command executed from the shared repo. Can you tell me what the branches share and if they depend on other branches in the shared repo?17:25
bialixshare history17:26
pi_mbialix: History? Do you mean the commits?17:27
nevansyep.  all of the commits are stored in the shared repo.  so if two branches have the same commits, then they won't be duplicated17:27
nevansit becomes a little bit more obvious if you sneak a peek into the .bzr directories.17:28
bialixyep17:28
nevansnormally, a branch's .bzr dir will contain a branch, checkout, and repository subdirs17:29
nevansfor a standalone branch, that is.17:29
santagadain the end the result is the same as the common working of svn I think17:29
santagadais you copy files around it will not copy history17:29
santagadacopy/branch17:29
pi_mnevans: So it is good to have a shared repo if you have some branches that have some common code (uh)?17:30
santagadapi_m: only if they share the same commits17:30
nevanspi_m: common history.  I use shared repos whenever I expect to work on many branches of the same project.17:30
santagadapi_m: which is the usual thing when you work on branches17:31
bialixsantagada: joinpath -> Undocumented :-P17:31
bialixI guess pathjoin actually is right17:31
nevansactually, I've got a single shared repo for all of my work projects... even though some of them don't share commits.  it's just simpler than having a shared repo per project.17:31
pi_msantagada: Yes. So placing the different project's branches to shared repo has no sense, I think...17:31
santagadabialix: at least you know the name :D17:31
bialixproblem is: there are 2 functions: joinpath and pathjoin17:32
santagadapi_m: it doesn't help... but it is not a performance problem either (i'm guessing here)17:32
nevanspi_m: if you look into a branch's .bzr (under a shared repo), you'll only see branch and checkout dirs.  and the shared repo's .bzr will contain the repository.17:32
nevansand if you run du on any .bzr dir, you'll see that the repo dir is always the largest.17:33
bialixsantagada: pathjoin = os.path.join17:34
bialix:-P17:34
* bialix anyway thinks osutils.py is messy17:34
santagadabialix: thanks... i'm also trying to learn the bzr api17:34
nevanspi_m: so if you have 5 branches that are fairly similar (and most branches within a project are), and their working trees take ~20MB, and their repos each take ~100MB, then it would take ~600MB to store them without a shared-repo, and ~200MB with a shared repo17:35
* bialix using this api for several years and anyway it's messy17:35
nevansand since there's less disk usage, certain operations will also run more quickly with a shared repo (e.g. bzr branch)17:36
pi_mThank you, your advices were very useful!17:37
KhaZCan I ask why there is an osutils versus using the os.path stuff?17:40
=== asac__ is now known as asac
bialixKhaZ: cross-platform support17:45
santagadalet's just be franc that os.path.join is cross platform17:46
santagadawhat is diffente on osutils? stat?17:46
KhaZAye, I thought os.path.join *is* cross platform.  Although I do realize that a lot of stuff in Python wraps it nicely but doesn't necessarily yield the same results..17:48
bialixthe difference is: osutils try to canonicalize the path after transformation to one standard17:49
bialixalways / as path separator, even on windows17:50
bialixfix drive letter for windows and some other small details17:50
KhaZAh, gotcha.  Hrmm.  I'm sure the patch I submitted'll be rejected based on that alone. ;)17:50
bialixwhat?17:50
KhaZHeh, just that I ended up using os.path and stuff directly in the patch I submitted w/RFC.17:51
bialixdon't worry, you'll get detailed review and precise hints what to use instead17:52
* bialix son't remember all gory details17:52
bialixs/son't/don't/17:53
KhaZJust be gentle. ;)17:55
bialixsorry17:59
PhillHey guys, I'm confused on how to use bzr, what should I be doing... (bzr add, commit, and then push?) or should I have done merge? It's a two person project, and now we seemingly messed it up with conflicts in some auto-gen files. I'm thoroughly confused.18:33
bialixif the files auto-generated you'd probably better re-generate them?18:38
PhillI can't seem to do that?18:38
bialixI don't understand18:38
PhillWell, I don't know why, but it seems bzr thinks there was a conflict and put it's TREE, MERGE etc things into the file.18:39
PhillThe file was created once... I don't think it should've ever changed, so I don't know why Bzr says it changed, here, one second, let me look at it's diff.18:39
bialixdo you know how to solve 3-way merge conflicts?18:39
PhillNope!18:39
PhillI don't know how to solve 2-way merge conflicts :)18:40
PhillIgnorance ain't bliss.18:40
bialixread `bzr help conflicts` first, please18:40
PhillAight.18:40
bialixyou're interested in text conflicts section18:41
PhillYeah, reading that now.18:42
PhillI think, I can actually auto-gen this file, but not the others, let's give the auto-gen a shot.18:42
bialixyep18:43
PhillOk, so, it just to make sure I have this clear, it sticks two files into each other if it doesn't know what to do?18:49
PhillLike, the earlier revision, and then the later one?18:49
bialixno18:50
bialixit tries to be intelligent and combine common parts together18:50
PhillThen why does it look like the same xml document twice over?18:50
bialixif you have 2 files entirely in conflict there is different line-endings perhaps18:50
PhillMmm.18:51
bialixcheck .THIS and .OTHER in binary mode18:51
PhillI just deleted the second one and hope it works ;-) (That's bad practice!)18:51
bialixyou can repeat merge ;-)18:51
bialix`bzr resolve` will delete this junk automatically18:51
PhillOk, so I'm taking it my usual, "Bzr add, commit, pull" isn't the way to do stuff?18:52
PhillNot pull, push I mean.18:52
Phillbzr add, commit, push18:52
PhillI always thought push and merge were the same thing...18:53
Phillbialix: Or let me rephrase, I Thought pushing merged as well - automatically,  take it as a no?18:56
bialixno18:56
bialixyou should get 'branches are diverged' error -- then you need to merge locally and then push again18:57
PhillThey weren't diverged (I assume, I never got that error), it was 20-21 21-22, etc. Basically, I worked on it, then my friend did, we just kept our code base in sync...18:57
PhillHe worked at home, I worked at school, so - that's why we never merged.18:58
bialixyou're pull when you need get his changes18:59
PhillYep, that's what I did.18:59
bialixand push when you need to publish your changes18:59
Philland then I pushed when I had changes.18:59
bialixso?18:59
PhillWhy the conflicts?18:59
bialixyou did pull?19:00
PhillYep.19:00
bialixyou had uncommitted changes in your branch19:00
PhillYeah, About to say that.19:00
PhillAnd then I pulled.19:00
Phill= Errors.19:00
PhillRight?19:00
PhillShould I always commit before pulling then?19:01
bialixbzr did merge for you because you had uncommitted changes19:01
PhillThen merge before pushing?19:01
PhillAhh, that's nice of it.19:01
bialixyou'd better have 2 branches19:01
bialix1 branch is exact mirror of remote19:01
bialix2nd branch for your own work19:01
bialixyou did pull only in 1st branch19:02
PhillI didn't even know I had two branches.19:02
bialixno19:02
bialixsorry19:02
bialixmay be my English is not ideal19:02
PhillNah; not your fault, I don't know what I'm doing. (That's my fault) :)19:02
bialixwill be better if you create 2 branches to work on19:02
PhillYeah.19:02
Philland then merge them, right?19:03
bialixif they are diverged -- yes merge19:03
PhillYeah.19:03
bialixif not diverged -- just pull from 1 to 219:03
PhillYeah.19:03
PhillDiverged means, mismatched revision numbers - right?19:03
bialixyou can do `bzr merge --pull` and bzr selects appropriate action to you19:03
bialixnot exactly numbers19:04
bialixsay you have revision 20, and your friend too19:04
bialixyour branches are full mirror of each other19:04
bialixthen you change say file foo.txt and commit19:05
bialixbut in the same time your friend change file bar.txt and also commit19:05
bialixyou both will have revision 21, but they are different19:05
Phillso, I should do bzr merge -pull from now on? So it just does whatevers right for us?19:05
bialixok?19:06
Phillbzr merge --pull19:06
PhillYeah, that's cool.19:06
PhillI get it now :)19:06
bialixyes, it's safe choice19:06
bialixyou can create alias19:06
PhillBoy do I need that one then ;-)19:06
* bialix is not boy19:07
PhillEr, figure of speech.19:07
bialixcreating alias will save you typing this everytime19:07
bialixcheck `bzr alias -h` for details19:07
PhillI don't have alias?19:08
Phillbzr alias -h bzr: ERROR: unknown command "alias"19:09
bialixbzr version19:09
bialixwhat is your bzr version?19:10
PhillBazaar (bzr) 1.3.119:10
PhillI take it, that that is old.19:10
bialixvery old19:10
Phill:)19:10
PhillI probably got it from the repo long ago.19:10
bialixyou'd better upgrade19:10
PhillYep, yep.19:10
PhillHaha.19:10
bialixI bet you're on Ubuntu19:10
PhillHaha.19:10
bialixno?19:11
PhillWow, Ubuntu is going to be what Windows was to the world. "Oh, you're on "UBUNTU".19:11
PhillYeah I am.19:11
bialixI'm on Windows19:11
bialixhehe19:11
PhillI never upgraded the newest version of Ubuntu, I don't really care for it - waiting for 9.10 (I think) in April.19:11
bialixread instructions on how to update bzr at bazaar-vcs.org19:12
PhillAnd I think I installed this through a .deb package so it doesn't auto-update. =/19:12
PhillI can't uninstall/reinstall newest?19:12
bialixgo to Download page, look for Ubuntu and read instructions19:12
Phillkk19:12
bialixyou should be able to aapt-get19:13
PhillOh cool, it has it's own apt server.19:13
PhillDidn't know this.19:14
bialixmany people don't know19:18
PhillI don't get it... bzr is worked on by conical - why don't they just put it in the main repo branch?19:19
PhillBazaar (bzr) 1.1119:19
PhillNow what?19:19
bialixwhere?19:20
PhillHuh? That's what my up-to-date bzr is.19:20
Phill1.11, rather than whatever it use to be.19:20
bialixnow `bzr alias` will work :-)19:20
PhillCool.19:21
bialix:-D19:21
PhillOk, so if I do bzr resolve, it delete the >>TREE stuff, right?19:22
bialixyep19:23
bialixnp19:23
bialixno19:23
bialixsorry19:23
PhillConfused, what?19:24
bialixyou need to resolve conflict (with meld e.g.) and then run `bzr resolve`19:24
Phillmeld?19:24
bialixif the file has no '<<<< >>>>' markers then .THIS .BASE .OTHER files will be deleted19:25
PhillYeah, it's just a properties file that I don't care about, so I removed the <<<< markers and called it a day. ;-)19:25
PhillProbably not a good thing, but whatever.19:25
PhillOk, here's a good one.19:26
PhillText conflict in pangea/nbproject/genfiles.properties19:26
PhillThat file doesn't exist?19:26
PhillFound out why, I deleted it, my bad. Nevermind.19:27
PhillOk, so all my conflicts are gone, thanks to ya' :) Though, here's what I need help with, sorta? It'll take a second to type it down - ready?19:30
PhillI've branched from revision 20 (the last one that worked) and pulled to 21, and then fixed the conflicts. The latest revision however is 23.19:31
PhillHow can I merge with 22-23?19:32
bialixbrrr19:37
bialixagain19:37
bialixbzr commit your current state19:37
PhillDid so19:38
bialixthen bzr merge19:38
PhillI did...19:38
Phillbzr merge --pull19:38
bialixso?19:38
bialixbzr st19:38
Phillactually, I did bzr merge --pull -r 2219:38
PhillI don't want rev 23 atm.19:38
PhillTwo conflits.19:38
PhillConflicts*19:38
bialixresolve them19:38
bialixthen commit19:39
PhillOk, this is a different conflict though.19:39
PhillConflict adding file pangea/build/classes/pangea/resources/New Folder.19:39
PhillThe other thing is I have "PangeaVIew.class" to PangeaView$39.class, (Using Netbeans) but I think these files were from bzr. Do I need them?19:42
PhillNevermind, I answered my own question, Yes I do need them.19:42
Phillbialix: Ok, so - here's one more thing I want to know how to do, remove stuff from bzr version control.19:56
PhillI have a lot of junk classes and old images I no longer want bzr to keep track of, in fact, I wanted them deleted.19:56
PhillWhat do I do?19:56
bialixeither just delete them19:59
bialixor use bzr remove19:59
bialixwith bzr remove you have fine grained control, read `bzr remove -h`20:00
PhillI used bzr remove.20:00
PhillDeleting them made bzr just throw them back up when I pull again.20:01
bialixdelete + commit20:01
bialixbut `bzr remove` is better way20:01
PhillMmk.20:01
bialix"explicit"20:01
PhillOff hand, what's the better thing about it?20:01
bialixexplicit is better than implicit20:02
bialixjust don't forget commit20:02
bialixPhill: try this `python -c "import this"` :-D20:03
PhillI've learned not to use commands that I don't know, but hey, you can try rm -r /20:04
* bialix on Windows20:04
PhillOh right.20:04
PhillDarn.20:04
bialix:-P20:04
PhillOpen up fdisk and figure out how to nuke your cdrive, I'm to lazy. ;-P20:04
bialixformat c:20:05
bialixit's easy20:05
PhillYeah, I've since forgotten 90% of the commands that aren't related to the Cisco IOS.20:05
PhillIt's a bummer.20:05
bialixok20:05
PhillOk, now this is the last thing, bzr alias?20:07
thumpermorning20:08
bialixjust remembered: if you like the risk in life, try to run format c: drive20:08
PhillThumper?20:08
thumperPhill: I may have missed some context, but aliases aren't exactly new20:08
PhillOh no, I think I recognized you from another form.20:08
Phillforum*20:08
bialixPhill: last thing for what?20:08
bialixthumper: hi20:08
PhillThumper: Ever been on the Firefox support forums?20:09
thumperPhill: no20:09
PhillThumper: Wrong thumper then.20:09
bialixno, he's right thumer20:09
thumperPhill: just different :)20:10
PhillAhh.20:10
PhillWhat's a good alias for bzr merge --pull ...20:11
bialixmaybe: get-the-new-stuff20:11
bialix;-)20:11
PhillMmm.20:12
Phillget-new20:12
PhillOR, sync.20:12
bialixnot bad20:12
Phillget-sync20:12
bialixactually I think "sync" is good20:12
Phillyep20:13
Philland the command was "merge --pull" right?20:13
bialixright20:13
PhillNeeto.20:13
PhillThat's not a word.20:13
bialixне то?20:14
bialixor не это?20:14
PhillI don't know?20:14
PhillOk, so, when I push back up, I can just run bzr push right?20:15
bialixnever mind20:15
PhillOr should I do "bzr merge --push" ?20:15
bialixyes20:15
bialixno20:15
Phillok20:15
bialixmerge is when you get the new stuff20:15
bialixyou can't do merge for remote server20:16
bialixjust push20:16
PhillOh ok.20:17
PhillWell thanks.20:17
PhillAny other cool things you could teach me about launchpad and bzr? lol20:17
bialixtomorrow20:18
Phillhaha20:19
Phillsure ;-)20:19
lifelessAdys: just revert foldername20:25
lifelessAdys: or if you want to revert everything, just 'revert'20:25
trodid anyone end up volunteering for that editor thing kfogel proposed on the ml?20:53
Stavroshello20:57
Stavrosi tried to do bzr shelve and bzr is crapping out now20:57
Stavrosi have 1.1120:57
garyvdmStavros: crapping out -> how? Can you pastebin a traceback?21:03
Stavrosit's not crashing, but bzr shelve tells me that it can't acquire a lock and then does strange stuff like telling me to break a lock before telling me again it can't acquire another21:03
Stavrosbzr: ERROR: Could not acquire lock "repo/.bzr/checkout/dirstate"21:04
garyvdmIt should tell you who created the lock that is blocking you.21:04
Stavrosi'm the only user21:04
troStavros: are you using windows?21:04
Stavrosyes21:04
troi think you may be using the new shelf (shelf2) which doesn't work with windows yet21:05
Stavrosoh21:05
Stavroshmm21:05
Stavrosshouldn't it print something, then? :/21:05
trothere's probably a way to use shelf1. maybe someone else knows?21:05
Stavrosit's okay, i just wanted to shelve one file, so i committed it, but the errors were odd21:05
troi'm still using an older version of bzr, so i don't know what the solution is, sorry :/21:06
Stavrosah, thanks anyway21:06
thumperyou could alias shelve to shelf1 (if that is the command)21:15
* thumper wonders why the new shelve doesn't work with windows21:16
* thumper looks at abentley21:16
thumperabentley: should the new shelve have problems with windows?21:16
bialix1.12 should work fine21:17
bialixjam fixed it21:17
garyvdmHi bialix21:49
bialixHi Gary21:50
bialixI've edited NEWS21:50
bialixyou'd better look at it with fresh eye21:50
garyvdmOk - will do21:50
bialixbecause difftools is not mandatory thing21:50
bialixas you said21:51
bialixDo you have specific question to me?21:51
garyvdmI've been trying to build a deb - but I got frustrated - move on to more intresting things.21:51
garyvdmI'm looking at how I can use igc's revno-cache plugin to improve qlog's startup performance21:51
bialixouch21:51
bialixgaryvdm, we can skip the deb, I guess21:52
bialixat least people don't poke us everyday21:52
bialixas they are do about bzrtools21:52
bialix;-)21:52
garyvdmAnd the deb can come after the release - hopefully shortly21:52
bialixgaryvdm: about revno-cache21:53
garyvdmIf we use revno-cache - we would have to stop showing the children in the revision plane21:53
bialixigc told me it's working mostly as revno->revid map today21:53
garyvdmbecause you have to walk the whole tree to find the children.21:54
bialixum? sorry, can you explain21:54
garyvdmIn the bottom plane of qlog - we show parent and children for the selected revisions21:54
garyvdm*revision21:54
bialixyes21:54
bialixwe show both revno and revid21:55
garyvdmTo find the parents - you just have to make one call to the graph21:55
bialixI think it should simplify walking through the history21:55
garyvdmbut to find the children - you have to load the parents for every revisions.21:56
garyvdmRight now - we have to do that anyway to create merge_sorted_revisions21:56
kfogeltro: no, but people have been writing the scenarios, and I've been using them to help with, e.g., http://www.emacswiki.org/emacs-en/EmacsBzrSwitchover21:57
bialixwait, I'm running qlog to follow you21:57
kfogeltro: I suspect I'll just end up editing them myself21:57
kfogeltro: unless... you're volunteering to help? :)-21:57
kfogel:-)21:57
garyvdmrevno-cache caches merge_sorted_revisions21:57
garyvdmI can do all the other functionality just from the data from merge_sorted_revisions - with out loading the whole graph21:58
* bialix ran qlog with LANG=C and sees now what garyvdm means21:58
garyvdmexcept displaying children21:59
bialixthis is qreat idea21:59
garyvdmqreat - intentional mistake?21:59
bialixno, by Freud21:59
garyvdmha ha21:59
bialixso21:59
bialixwe'll lose the ability to find branched history?22:00
bialixI can't say I'm use the parent/children links too much22:01
garyvdmNo - qlog will be able to do everything it currently does, except display children in the revision plane.22:01
bialixso I'm probably even did not notice if they disappear22:01
garyvdmAnd only load the parent for the revisions that are diaplayed22:01
bialixgaryvdm: I mean no more click on children will go to that revision22:02
garyvdmYes22:02
bialixmay be it's better to post this as rfc to qbzr ml. if luks won't object -- I'll be fine22:02
garyvdmOk - WIll do22:03
bialixin theory we can load this data lazily in the background after main history has loaded?22:03
garyvdmYes - we can do that to22:03
bialixhow we'll behave without revno-cache?22:04
garyvdmGood idea22:04
garyvdmSame as before22:04
bialixI like it22:04
bialixqbzr reuse many goodness already exisiting in bzr world22:04
garyvdmAnd it will only do this if you are loading 1 branch.22:04
bialixbtw Gary, I'd like to discuss with you dichotomy with 1/several branches22:05
garyvdmIf you are loading more than 1 branch - It will have to load everythin.22:05
bialixah22:05
* garyvdm looks up the meaning of dichotomy22:05
jelmerJc2k, I fixed dpush into git on the train, it's working now :-)22:05
bialixgaryvdm: I want to add more actions to context menu22:06
garyvdmok22:06
bialixlike tags, push, merge22:06
garyvdmrevert22:06
bialixbut those actions should know the branch22:07
bialixI need either allow actions for 1 branch mode22:07
poolielifeless: why did you approve johnf for bzr-beta-ppa?22:07
bialixgaryvdm: or to have the proper way detect/select branch in multi mode22:08
garyvdmIt's easy to get from a revision to a branch/repository22:08
bialixgaryvdm: this is also related to bug about taga on multibranches22:08
bialixs/taga/tags/22:08
garyvdmbut a revision may have more than one branch.22:08
bialixthis is *the* problem22:09
bialixcan you suggest easy way to detect if qlog started in multibranch mode?22:09
garyvdmMy re-factored branch is much better at this.22:10
bialixIIRC t should landed shortly22:10
garyvdmlen(log_list.graph_provider.branches)22:10
garyvdmYes - I'll land it after we release 0.9.722:11
bialixpoolie: hi, plans about 1.12 is the same? we need to release QBzr in sync with bzr22:11
pooliebialix: still planning to do rc1 tomorrow my time and final friday22:11
pooliesynchronized release would be nice22:11
bialixgaryvdm did very good job to support new progress bar22:12
bialixhe's our release manager for 0.9.7 :-)22:12
* garyvdm is nervous22:12
poolieah great :)22:12
bialixpoolie: your time is about?22:13
poolieutc+1122:13
poolieie it's monday morning now22:13
garyvdmDown under?22:13
bialixgaryvdm: ?22:13
garyvdmSlang for  Australia/New Zeeland22:14
bialixah22:14
garyvdmreference to it's position on the world map22:14
bialixgaryvdm: I think you can release it anytime soon22:15
bialixeven tonight, if you like22:15
garyvdmOk22:15
bialixI'll be there couple of hours, coding scmproj22:15
bialixso you can ping me if needed22:16
garyvdmThanks22:16
bialixI'm usually simply follow the instruction22:16
lifelesspoolie: because he's going to help keep the ppa up to date?22:20
garyvdmbialix: Should I mention updated translations in NEWS.txt?22:37
bialixgaryvdm: I never do this, only new ones22:38
garyvdmOk22:38
bialixthe list of updated could be loong sometimes22:38
poolielifeless: is he?22:40
garyvdmpoolie: do you think this will land before 1.12? http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C20090126072506.GA30864%40steerpike.home.puzzling.org%3E22:40
garyvdmIt causes a bug in qbzr.22:41
poolielifeless: ok i see your reply to jam about that22:41
pooliedid he suggest it offline?22:41
pooliei'm just asking because people seem to randomly request to join groups all the time22:42
lifelesspoolie: yes, he chatted here on friday about that; he packages stuff elsewhere in Debian format (I don't recall if he's a DD offhand), etc22:42
pooliebecause of poor ui i guess22:42
pooliegreat22:42
lifelesspoolie: so, randoms I would have declined :P22:42
pooliealso iwbn if the 'request to join' let people specify a rationale22:42
pooliei realize he's not very random22:42
poolielifeless: ah, bug 497622:45
ubottuLaunchpad bug 4976 in launchpad-registry "When trying to join a team, user should be able to give comment" [Wishlist,Triaged] https://launchpad.net/bugs/497622:45
garyvdmls22:50
lifelessabentley: if you could review http://bundlebuggy.aaronbentley.com/project/bzr/request/%3C1233892193.12070.112.camel%40lifeless-64%3E that would be lovely22:50
lifelessabentley: its a shelve/treetransform bug and I'm on shaky ground there22:50
bialixpoolie: can you help gary?22:52
* poolie looks22:53
pooliegaryvdm, bialix: i approved it (enthusiastically :-) so we need to poke spiv22:54
pooliei think vila's approach is a bit better, of hooking in at the socket level22:54
pooliebut we can unify them later22:54
garyvdmActualy - I'm hoping it's not going to land :-(22:54
garyvdm>It causes a bug in qbzr.22:54
poolieoh i see22:55
pooliei thought you meant lack of it causes a bug22:55
Jc2kjelmer: awesome!22:55
lifelessgaryvdm: whats the bug22:56
garyvdmBug 32592422:57
ubottuLaunchpad bug 325924 in qbzr "TooManyConcurrentRequests with traffic reporting for smart media." [Medium,Confirmed] https://launchpad.net/bugs/32592422:57
pooliesrsly22:57
pooliethat exception should be shot22:58
bialixgaryvdm: it affects on;y qlog?23:00
bialixonly23:00
garyvdmIn theroy no - but in pratice - I have not seen it any where else23:01
garyvdmLet me do some testing23:01
spivgaryvdm: I find it odd that the traffic-smart branch would cause that.23:02
spivUnless it's because of some side-effect like the GUI blocking without it?23:02
lifelessspiv: or not blocking23:03
lifelessgaryvdm: does qbzr use threads, or is it synchronous?23:03
garyvdmsynchronous23:03
=== kiko is now known as kiko-afk
garyvdmIt's really a bug with qbzr - not that branch23:04
garyvdmWhen we get notified of transport activity - we do a processEvents()23:04
garyvdmWhich would allow more than 1 simultaneous request.23:05
bialixgaryvdm: what's there before?23:07
bialixmaybe we need temporarily disable monitoring of transport activity in qbzr?23:08
spivgaryvdm: ah, in that case I'd expect vila's patch for HTTP traffic reporting would cause the same issue with bzr+http://23:12
lifelessgaryvdm: so processEvents handles an aritrary amount of user input ?23:13
garyvdmspiv: I'm not sure - I don't know the transport code to well.23:13
garyvdmspiv: It will happen with any transport that does not allow concurrent requests, and reports traffic.23:14
lifelesswe have a sync api to transport23:15
lifelessgaryvdm: can you not call processEvents?23:15
garyvdmlifeless: Then it won't display the transport activity23:16
garyvdmlifeless: processEvents is normally called in the event loop, but you can also call it during long running processes to keep the ui responsive.23:17
garyvdmhttp://doc.trolltech.com/3.2/qeventloop.html#processEvents23:18
garyvdmNewer version: http://doc.trolltech.com/4.0/qeventloop.html#processEvents23:18
bialixgaryvdm: but I see you've disabled user input. this is not enough?23:22
garyvdmWas just about to give some detail on that - just a sec23:22
* bialix waits23:22
garyvdmThat fixes that bug in 99% of cases23:23
garyvdmIn qlog: when you click on a rev - we set a timer to load the delta to show that changed files.23:24
bialixyes23:25
garyvdmThat timer may get called from a processEvents called during notify_transport_activity23:25
bialixgot it23:25
bialiximo we have hidden problem there23:27
bialixeven for concurent transports23:27
bialixas a quick fix we can use some flag at qlog instance to prevent loading delta untill we finishing with main request23:28
garyvdmbialix: What's that?23:28
garyvdm(hidden problem)23:29
bialixwe don't have a way to reuse connection?23:29
garyvdmbialix: We do reuse connections23:29
bialixbut anyway we got the error23:30
bialixI think simple queue may help as you wrote in bug report23:31
bialixbut it'snot quick fix23:31
bialixwe talk about log.py update_revision_delta?23:33
garyvdmYes23:33
bialixand uifactory?23:33
garyvdmWith my patch to not allow user event - it very difficult to reproduce.23:34
garyvdmYes23:34
bialixmmm23:35
poolie(out for a little bit)23:35
garyvdmhttp://pastebin.com/d26b9c3b123:36
garyvdmbialix: log.py update_revision_delta is the only place I've been able to reproduce it.23:38
* bialix looks23:39
garyvdmbialix: How about - in update_revision_delta - try... execpt TooManyConcurrentRequests reschedule the timer23:39
garyvdmas a quick fix.23:40
bialixbut the traceback actually points to logmodel23:40
garyvdmAhhhh23:40
bialixi'm thinking about using simple lock23:41
bialixand if the lock is acquired -- then reshedule the timer23:41
bialixthis will affects any transport23:42
bialix?23:42
garyvdmYes- as a quick fix23:42
bialixthread.Lock23:42
bialixfrom std lib23:43
garyvdmThat won't work23:43
bialix?23:43
garyvdmHere is a different traceback from my .bzr.log: http://pastebin.com/d7d18c47323:43
garyvdmbialix: we are not using threading.23:44
garyvdmA simple is_loading_revisions will do though.23:44
bialixIMO this lock should not require real threading23:45
bialixok, fine23:45
bialixre 2nd traceback: yep, i guess it's 50%-50% effect23:46
=== UdontKnow is now known as ObiWanQueNoob
bialixanyway we disable input23:47
mwhudsonhm23:47
garyvdmLong term fix - have a queue - re-enable input23:47
mwhudsoni remember bzr has some knob you can twiddle wrt decorators like @needs_read_lock23:47
mwhudsondo you get fast or pretty ones by default?23:48
lifelessfast by default I beleve23:48
mwhudsonoh goof23:49
mwhudsongood!23:49
garyvdmmwhudson: All the requests that qbzr make allready have read_locks. It unfortunately does not prevent TooManyConcurrentRequests23:51
bialixgaryvdm: agree. we can live with current situation for a while23:51
garyvdmAnyway - we don't want to prevent the request - we want to make it happen later.23:51
=== ObiWanQueNoob is now known as root
* bialix mutters: although for local branch we can avoid locking23:53
mwhudsongaryvdm: i'm worrying about my own problems, not yours :)23:53
* bialix out of good ideas23:53
garyvdmbialix: Not necessary to not lock for local - because local does not report transport.23:54
garyvdmmwhudson: oh!23:54
bialixgaryvdm: it's a bit late for me. sometimes morning is smarter than evening. don't worry too much about 1% bug tonight23:55
garyvdmI'm a night owl... I'm sure I can put a quick fix in.23:55
* garyvdm ignores irc for a while.23:56
* bialix too, but he needs to sleep sometimes23:56
bialixgaryvdm: bye23:56

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