/srv/irclogs.ubuntu.com/2009/06/07/#bzr.txt

=== Kissaki is now known as Kissaki^0ff
mwhudsonjelmer: ERROR: test_push (bzrlib.plugins.git.tests.test_blackbox.TestGitBlackBox) seems to fail with on bzr-git tip02:35
mwhudsonhttp://pastebin.ubuntu.com/189938/02:36
mwhudson(with dulwich tip, but somehow i don't think that matters)02:36
patternwhen i do a "bzr version-info" in /home/foo/xyz i get an error: "Format <RepositoryFormatKnit1> for file:///home/foo/bzr/.bzr is deprecated - please use 'bzr upgrade' to get better performance"03:29
patternbut when i do a "bzr upgrade" in that directory i get:  "bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format."03:30
mwhudsonyeah, that sucjs03:31
mwhudsonpattern: are you using a shared repo?03:31
patternno03:31
mwhudsonoh03:31
patternjust a local one03:31
mwhudsonpattern: pastebin what bzr info -v says?03:31
mwhudsone.g. here http://pastebin.ubuntu.com/03:31
patternhttp://pastie.org/50322203:33
mwhudsonpattern: oh03:34
mwhudsonpattern: try running bzr upgrade :this03:35
mwhudsonum, maybe not that03:35
mwhudsonpattern: you have a bound branch, it seems?03:35
mwhudsonpattern: the format of the bound and master branch are different, i guess03:35
patternnot really sure what i have, in bzr terminology03:35
mwhudsontry bzr upgrade :bound03:36
patternFormat <RepositoryFormatKnit1> for file:///home/foo/bzr/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance03:37
patternbzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.03:37
mwhudsonhmm03:38
mwhudsonmm04:37
mwhudsondoes merge (maybe with --lca) losing executable bits sound familiar to anyone?04:37
Peng_mwhudson: I lost the xbit on a file once. I assumed it was because I did something like "mv foo.OTHER foo".04:47
Peng_I never actually tracked it down, though...04:47
mwhudsonPeng_: hmm04:47
mwhudsonPeng_: there's basically no chance that the files that lost x bits conflicted, though there may have been a conflict in the merge04:48
mwhudsonactually, i think what i did was either 'merge; revert; merge --lca; commit' or 'merge; remerge --lca; commit'04:48
Peng_mwhudson: Oh, huh. I have no clue, then.04:48
Peng_...Ugh, what's wrong with my connection this time?04:48
mwhudsonah well, i'll look again, on monday :)04:49
mwhudsoni think both files that lost the x bit moved in the merge, too04:50
mwhudsonwhich seems unlikely to be a coincidence04:50
Peng_800-900 ms ping to hop #2?! WTF?!04:50
Peng_WTF is with me and Internet problems this week?04:50
mwhudsonPeng_: obviously you're getting subconsciously ready to move to .au or .nz04:51
Peng_I've had problems with 2-3 different ISPs in different states in 1 week. :D04:52
Kamping_Kaiserharsh, but fair04:52
treeformhey guys my commit is taking for ever, can some one help diagnose the problem?04:54
Peng_treeform: Local? Internet? Checkout? Branch? Is it really gigantic? Define "forever"? RAM usage? CPU?04:55
Peng_Oddly, this barely feels worse than my 300 ms pings last time.04:55
Peng_Darn, it's confusing ntpd too.04:59
treeformPeng_: its my own remote server05:00
treeformi dont think its high on ram or cpu05:00
treeformits just taking for ever network wise05:00
treeformpacking flowing for 2 hours to change 12 files05:00
treeform12 python small files05:00
treeformi estimate it could have uploaded over gig now05:01
treeformon the server same thing05:01
treeformno ram or cpu problems05:01
treeformjust open network connection05:01
Peng_treeform: How large is the repo?05:02
treeform1.8Gb05:02
Peng_treeform: It's possible it's doing an autopack, which in old versions (or any version over a dumb protocol) means downloading a nd re-uploading a potentially significant amount of data.05:03
Peng_treeform: Check .bzr.log05:03
treeformwhere would bzr log be05:04
Peng_treeform: "bzr version" gives the location. Probably ~/.bzr.log.05:04
treeformoh the client is on windows and server is on linux05:04
treeformcould that matter?05:04
lifelessno05:04
treeformserver 1.8 , client 1.205:05
treeformi just downloaded the client05:05
treeformmaybe i got wrong one05:05
Peng_Those are both rather old.05:06
lifelessvery05:06
lifelessI'll leave it with you Peng_ :)05:06
Peng_Wait, I was about to say that!05:06
PengUgh, typing over that SSH connection was driving me nuts.05:07
treeformi dont get the version numbers on the site05:08
Peng_treeform: Huh?05:08
treeformevery thing from 1.15 to 1.6 is up for grabs05:08
Pengtreeform: 15 > 605:08
treeformThe current stable version is 1.15final05:08
treeformbut server say i have 1.8?05:08
treeformoh its 15 as in05:09
treeformok got it05:09
Pengtreeform: Check what's going on in .bzr.log on the client. If it says "Auto-packing repository", that's what's going on. If both the client and server were recent, auto-packing would occur server-side (if you're using the smart server).05:09
treeformwhere would .bzr.log be on windows?05:10
Pengtreeform: I told you, ask "bzr version".05:10
PengSeriously, how do people SSH over a satellite connection without just hanging themselves? It's awful!05:10
Peng_Anyway, whining about that is off-topic.05:10
treeformhttp://dpaste.com/52384/05:13
treeformthe log is very very large05:13
Peng_treeform: Scroll up to the last push.05:14
Peng_treeform: Or commit, or whatever you were doing. :P05:14
treeformcommit05:14
treeformi am not sure where it starts05:14
Peng_The file includes both dates (in recent versions, anyway) and the command line.05:15
treeformoh found it05:15
Peng_lifeless! I was about to leave! :(05:15
treeformthere is tons of errors about locks05:15
treeformit has "Auto-packing repository"05:16
treeformso its autopacking 2GB of data?05:16
treeformand resending it?05:16
Peng_treeform: Some portion of it. Probably not all of it.05:16
treeformi probably need to update bzr's05:17
treeformand figure out smart server05:17
Peng_treeform: What type of connection are you using to the server? SFTP? bzr+ssh?05:18
Peng_God forbid, FTP?05:18
treeformsftp05:18
treeformbzr+ssh gives locking problems05:18
Peng_Oh, huh.05:18
treeformmaybe its due to version being old05:19
Peng_Could be.05:19
treeformbzr+ssh is still not a smart protocol?05:19
treeformonly the bzr one is?05:19
treeformbut the server it runs does not support authintication?05:19
Peng_treeform: All of the schemes that start with "bzr" are smart.05:19
treeformso if i do get bzr+ssh working? it would give me smartness and authintication?05:20
Peng_bzr+ssh simply uses SSH for auth.05:20
Peng_...As does SFTP.... :P05:20
treeformyes05:21
treeformi have all of the ssh setup05:21
Peng_So switching to bzr+ssh should be easy.05:21
Peng_I have no idea what your locking problems could be caused by, or if a newer version improves things. You should upgrade anyway, though.05:22
treeformcould i cancel this commit and try bzr+ssh05:22
treeformshould*05:22
Peng_treeform: I wouldn't. It would waste all of the bandwidth you've already used.05:22
treeformhmm05:23
treeformbut its been going for 2+ hours05:23
treeformbasically i was voiping with people05:24
treeformand said ok ill commit this05:24
treeformand ...05:24
Peng_Well, I don't know, it's your choice.05:24
treeformok got the 1.15 on server05:25
Peng_You could kill the commit, log into the server and run "bzr pack" on the repo.05:26
treeformoh05:26
Peng_Then you wouldn't have to do a significant autopack for a long time.05:26
Peng_(Note: That would temporarily double the amount of disk space used. And it would probably use a lot of RAM, I dunno.)05:26
treeformhmm only took 14 sec to do bzr pack on server05:28
treeformwith 1.1505:28
Peng_Yes, well, local disks are a lot faster than the Internet. :P05:29
treeformwas there a new better knit format since 1.8 ?05:29
Peng_treeform: The --1.9 format has new, smaller and faster indexes.05:29
Peng_treeform: (As its name suggests, it was intorudced in 1.9.)05:29
treeformok05:29
Peng_(And if I wasn't typing over this slow SSH connection, I'd fix that typo. :P )05:30
treeformis it worth to switch and how would i switch to it?05:30
Peng_treeform: You'd use "bzr upgrade --1.9". Obviously, all of your clients would have to be 1.9 or newer.05:30
Peng_treeform: If the clients are new enough, there's not really any reason not to upgrade. It does improve performance, especially over dumb servers.05:31
treeformlets see if it can upgrade 2GB worth of data05:31
Peng_treeform: BTW, you should run bzr check and (if necessary) bzr reconcile as well.05:31
Peng_treeform: before upgrading05:31
treeformoh man05:31
treeformallready started05:31
treeformcancel?05:31
Peng_treeform: Nah.05:32
Peng_treeform: Well, it would still be a good idea to run check and reconcile after upgrading. And it'll be faster, to boot! :D05:32
treeformbecause i am using new shiny format05:33
treeformits done switching, checking now05:33
treeformis there a big performance difference between bzr+ssh and bzr straight?05:34
Peng_treeform: Nah. And anyway, regular bzr:// is unencrypted and doesn't support any form of auth. Use each where it's more appropriate, not out of performance concerns.05:36
treeformusing bzr+ssh gives this error on windows05:36
treeform"the procedure entry point ___lc_collate_cp_func could not be located in the dynamic link library msvcrt.dll"05:37
treeformthis is in 1.15 just freshly downloaded05:37
treeformon the windows client05:38
treeformhttps://bugs.launchpad.net/bzr/+bug/34146505:38
ubottuLaunchpad bug 341465 in bzr "bzr linked version of msvcrt.dll is missing" [Undecided,New]05:38
Peng_Oh, there we go.05:38
treeformthis is probalby i did not use bzr+ssh :)05:39
treeformprobably why*05:39
treeformany advice?05:40
Peng_I haven't touched Windows in like 5 years. :P05:41
Peng_So, I don't know, sorry.05:41
treeformyeah i whish i did not have to live with it either05:41
Peng_You might be able to run bzr from source, but I don't know how easy that is on Windows. Plus performance would be worse.05:41
Peng_I think it's worth adding a comment on that bug, that it still affects you in 1.15.05:42
treeformrandom dll from the net does not have ___lc_collate_cp_func either05:45
Peng_Try the mailing list or something.05:46
Peng_I really don't know anything about Windows, and it's the weekend, so not many people are around.05:46
treeformcrap now sftp does not work too!!!!05:46
treeformill try restart05:47
treeform :)05:47
treeformsame dam thing05:57
treeformoh i fixed it05:59
treeformyey05:59
Peng_You fixed it? How?06:06
treeformi removed the svn plugin ( https://bugs.launchpad.net/bzr/+bug/341465/comments/2 )06:07
ubottuLaunchpad bug 341465 in bzr "bzr linked version of msvcrt.dll is missing" [Undecided,New]06:07
treeformthe trace lead to that06:07
treeformtoo bad i dont have the trace any more06:07
treeformother wise i would post it06:08
Peng_Oh06:08
lifelesstreeform: its probably in your bzr log06:10
treeformyes06:10
treeformgot it updateing06:10
Peng_lifeless: Hi. :)06:11
lifelessbzr --version will give you the path to the log06:11
lifelesshi Peng_06:11
treeformyeah i added it to commets06:11
treeformmaybe it could help some poor sole in the future06:12
Peng_Ooh, subvertpy.06:12
treeformits the svn2bzr stuff right?06:13
treeformi dont know, i just hack folder, stuff works06:13
treeformbzr+ssh feels faster06:14
Peng_treeform: subvertpy provides Subversion bindings for Python. It's used by bzr-svn (and was, in fact, created by the author of bzr-svn for bzr-svn).06:14
treeformbut its just an physiology thing06:14
Peng_treeform: bzr+ssh is faster than sftp.06:14
treeformcool06:14
treeformjust commit some binary files06:14
treeform12megs06:15
treeformit went in fine06:15
treeformafter the small 12 file commit that took 3 hours  1 minute and 9 second with sftp ...06:15
treeformand faild06:15
Peng_treeform: Well, that was thanks to the auto-pack.06:15
treeformyeah06:16
treeformwhat are some of the largest bzr repos people have?06:16
treeformdo they have Terabyte repos?06:16
Peng_lifeless: Think that bug should be linked against subvertpy?06:16
lifelessPeng_: bzr installer probably06:17
Peng_lifeless: yeah.06:18
lifelessPeng_: not sure what part should be responsible for doing the suckin of the dll06:18
Peng_treeform: MySQL is probably the largest public project at the moment.06:19
* Peng_ shrugs06:19
Peng_I'm sure Launchpad has statistics.06:19
lifelesstreeform: Theres nothing in our dataformats preventing scaling to terabytes of history06:20
lifelessbut there are limitations on individual file size06:20
Peng_lifeless: What about hte inventory?06:20
treeformmy stuff is mostly 3d data06:21
treeformlike huge images and huge files of 3d model06:21
lifelesstreeform: bzr currently wants to hold up to 5 times the size of a single file in memory while committing or diffing it06:27
lifelesstreeform: we have some plans about how we might fix this06:27
lifelessprobably post 2.006:28
lifelessPeng_: inventory scales to 100K files+ in a single tree today06:28
Peng_lifeless: Isn't dev7 down to 3 times for commit?06:29
lifelessPeng_: once jams's patches land, and only dev7 which treeform won't be using yet.06:29
Peng_Ah. Well, it's still progress in the right direction, right?06:30
lifelessright06:30
lifelessbut better to be capped at (say) 5MB06:31
=== BasicPRO is now known as BasicOSX
=== Kissaki^0ff is now known as Kissaki
=== beaumonta is now known as abeaumont
garyvdmigc: ping14:12
RockyRoadhi :)14:18
garyvdmHi RockyRoad14:18
RockyRoadmaybe you could help me ?14:19
garyvdmGo ahead and ask. If I can't I'm sure someone else might be able to.14:19
RockyRoadI was here friday, with a problem a bit complicated14:19
RockyRoadI explained it here http://www.rocky-shore.net/misc/bzr-rebuild.html14:20
RockyRoadI wondered if bzr rebase could help ?14:22
garyvdmI'm reading you page14:22
garyvdmThere is a command half way down: bzr -r0..1 lp:branch_Bx14:23
garyvdmshould that be bzr *merge* -r0..1 lp:branch_Bx14:23
RockyRoadright !14:24
RockyRoadcorrected14:25
garyvdmRockyRoad - So the problem is that you can't push from A to B?14:27
RockyRoadI tried to push to a subdir of Bx, that fails14:27
RockyRoadbecause the parent branch is different14:28
garyvdmIs these branches publicly accessible? - I think It will be much easier for me to look at the branches.14:29
RockyRoad(i suppose)14:29
RockyRoadsure14:29
RockyRoadhttps://edge.launchpad.net/planet-drupal14:30
garyvdmso which is A and which is B?14:31
RockyRoadA is drupal-planet and B is planet-drupal14:31
RockyRoadFYI http://drupal.org/node/47604214:35
RockyRoad(so it's not  a fork !)14:36
garyvdmRockyRoad: do you have qbzr installed?14:37
RockyRoadbzr gtk and qbzr14:37
RockyRoadI like bzr viz14:38
garyvdmyou can run "bzr qlog lp:drupal-planet lp:planet-drupal" to see a visualization between the two branches.14:38
RockyRoadone project after the other, not together ?14:39
RockyRoadbzr: ERROR: extra argument to command qlog: lp:planet-drupal14:39
garyvdmAh - what version of qbzr?14:40
RockyRoadI have a lot of errors with qlog14:40
RockyRoadqbzr 0.9.2-0ubuntu114:41
garyvdmYes - It did not have that feature back then.14:42
garyvdmI'll upload a screen shot for you14:42
RockyRoadthx :)14:43
garyvdmNow what command are you using to push from A to B?14:43
RockyRoadbzr push lp:~m-baert/planet-drupal/planet-6-x14:44
RockyRoadI'll pastebin all, one moment14:45
RockyRoadhttp://pastebin.com/m30a5ff1c14:45
garyvdmhttp://garyvdm.googlepages.com/log-planet-drupal.png14:47
garyvdmYou can get the latest qbzr from https://launchpad.net/~qbzr-dev/+archive/ppa14:47
RockyRoadIt's much nicer that what I have ! I will :)14:48
garyvdmok - so I think what you want merge A into B14:54
garyvdmso go to your directory that contains B (lp:~m-baert/planet-drupal/planet-6-x ?) do bzr merge14:55
garyvdmand do bzr merge lp:drupal-planet14:56
garyvdmCheck that it gets you what you want.14:57
garyvdmAnd then push14:57
RockyRoadbut there's no common ancestor ...14:59
RockyRoadoh yep14:59
garyvdmbrb14:59
RockyRoadk15:00
RockyRoadplanet-6x$ bzr merge lp:drupal-planet15:08
RockyRoadNothing to do.15:08
RockyRoadrevno = 2515:08
RockyRoadIs there a way to bring my branch from drupal-planet to planet-drupal history ?15:13
garyvdmsorry - bzr merge *lp:planet-drupal*15:13
garyvdmThese names are very confusing15:13
RockyRoadI've no rights on drupal-planet, I have on planet-drupal15:14
garyvdmBut you don't have to create a whole new project.15:15
RockyRoad?15:15
garyvdmYou can just create a new branch lp:~rockyroad/planet-drupal/trunk (or dev or fork :-P)15:16
RockyRoadI couldn't agree with the person who "administrates" drupal-planet and related projects15:16
garyvdmif you push to  lp:~rockyroad/planet-drupal/trunk - then it will show up in the branches list for planet-drupal15:17
RockyRoadbut the "old history" I added ?15:18
RockyRoaddrupal planet starts from my trunk rev 315:19
garyvdmYou can bring that in with bzr merge *lp:planet-drupal*15:19
garyvdmEarlier I said bzr merge lp:drupal-planet - that give you "Nothing to do. " because it an older branch of lp:~m-baert/planet-drupal/planet-6-x15:20
RockyRoadfrom planet-drupal checkout directory ...15:21
RockyRoadsorry I need time to figure it out15:21
garyvdmbrb15:22
RockyRoadk15:22
RockyRoadwhat may be a trick is that I built a newer project (planet-drupal) to store older history (CVS) before a clone of drupal-planet15:24
igchi garyvdm15:29
RockyRoads/trick/pitfall/15:31
RockyRoadhi igc15:32
garyvdmHi igc15:34
garyvdmRockyRoad - I think you need to try figure what you merge into what. qlog branchA branchB branchC can help you alot with that.15:36
garyvdmigc: Bazaar Explorer overlaps alot with qmain.15:38
igchi guys15:38
RockyRoadI can't see it very clearly yet ... what kind of connection does qlog do between branches ?15:38
igcgaryvdm: I certainly took a lot of its design from qmain15:38
garyvdmIt shows how their revision histories relate15:39
igcwell, the discussion around qmain at least15:39
garyvdmigc - I not against a split effort. I would just like to discuss it.15:40
igcgaryvdm: sure. Apologies for not discussing it more before I threw it together15:40
igcgaryvdm: the orginal focus was prototyping the menu I wanted in bzr-eclipse15:41
garyvdmAnd would still like to do qmain - because there are things that we will be able to do with qmain that will be more difficult.15:41
igcgaryvdm: by all means15:42
garyvdmLike integrate log into qmain.15:42
igcgaryvdm: right, I was looking for a lightwieght wrapper/shell because that best simulates the experience ...15:42
igcthat users of qbzr-eclipse and TortoiseBzr will get15:43
garyvdmSo, If I understand you correctly, bazaar-explorer is really experimental?15:43
igcgaryvdm: at this stage, yes15:43
igcgaryvdm: but I'm using it for development and dogfooding it15:43
igcso I expect it to rapidly improve15:43
igcgaryvdm: in fact, it's almost finished in one sense ...15:44
igcI really do want it to be lightweight ...15:44
garyvdmOk - cool.15:44
igcand for most of the energy to go into the q* commands themselves15:44
garyvdmSo I've been thinking alot about the idea that I posted as a response to one of your mails.15:45
igcgaryvdm: going further, I'd be interested in pushing any smarts in explorer down into q* commands even15:45
garyvdmThats great.15:46
igcgaryvdm: tell me more about your idea15:47
garyvdmSo my idea is now something like this. I create a "api" in qbzr where you can say wrap this bzr command, and show fields x, y, z on the dialog.15:48
igcgaryvdm: yes!!15:49
igcgaryvdm: I was thinking of code generating creating Qt forms15:49
igcbut your idea - dynasmic lookup of the Command objects - is better15:49
garyvdmIt will try and what type of field it, so for say a revision spec field, it will show a revision selector, but will may have to provide it some extra information.15:50
igcright15:50
garyvdme.g. for push, it must show revisions from the current directory (or what was provided by -d), but for pull, it must show the location you entered.15:51
garyvdmThat will make adding a new command only a couple of lines of code.15:52
igcexcellent15:52
garyvdmRight now though - I'm batteling to decide what to work on :-)15:53
igcgaryvdm: here's some simple ideas if they help15:53
igcas I said, I've been dogfooding, trying to go command line cold turkey ...15:54
igcsome limits of our q* GUIs ...15:54
garyvdmHa ha - I've tried that a couple of time ...15:54
igcin qadd, I can do the equivalent of add foo/bar when foo is unversioned15:54
igcs/can/can't/15:54
igcI can only add all of foo15:55
igcso qadd needs a button like ...15:55
igcExpand Directories15:55
igca second example ...15:55
igcI can't use qmerge to merge a merge directive easily15:55
igcas the 'branch selector' insists on a directory15:56
garyvdmThat should be easy to fix.15:56
igcgaryvdm: there's lots of little stuff too ...15:57
igcqbind and qunbind are essential15:57
igcand both probably really simple (a few hours each I hope)15:57
garyvdmqbind/qunbind/qswitch are the type of commands that my api would make realy easy to do.15:58
igcgaryvdm: exactly15:58
igcgaryvdm: but the bind ones at least arguably need to be slightly nicer than generic, e.g.15:59
garyvdmre qadd: what I would like is for directories to have twisties so you can expand them.16:00
igcbind takes an optional location now16:00
igcqbind ought to say something like ...16:00
igc[X} Bind to existing location: ...16:00
igc[ ] Select a new location16:01
igcand picking the seconf radio button ought to enable an entry field16:01
igcqunbind ought to be a simple yes/no dialog even16:02
igcgaryvdm: quncommit is another one that ought to be easy ...16:04
igc[X] Uncommit last revision16:04
igc[ ] Select an earlier revision...16:04
garyvdmqunbind could be just when you select revert from the qcommit dialog.16:04
igcgaryvdm: probably, though it also needs to be separate I think16:05
igcgaryvdm: qunbind will turn something from a bound branch into an unbound branch in Explorer16:06
igcso it probably needs to be a button on the Bound Branches tab of a repo16:07
garyvdmI meant - the qbind dialog should look like revert dialog initiated from qcommit.16:07
igcgaryvdm: ah - sorry, I'm yet to see that one :-)16:08
garyvdmand the code for that is implement is a very reusable fashion.16:08
igcnice to hear16:08
garyvdmbrb16:08
garyvdmAbout qadd16:09
garyvdmwhat I would like is for directories to have twisties so you can expand them.16:09
garyvdmTo do that16:09
igc+1 to that16:10
garyvdmcurrently we have 3 directory/tree browsers. The working tree widget used in qcommit/qadd/qrevert. The qbrowse widget, and the qbzr (aka qmain) widget.16:11
garyvdmI would like to see them refactored into one.16:12
igcgaryvdm: I'm not across enough of the qbzr code but ...16:12
igcsound good to me16:13
garyvdmigc: can I ask for some none-tech advice?16:13
igcgaryvdm: fwiw, I'd like to see ...16:13
igcqbzr have a widgets directory as well as a lib one16:13
igcso the widgets are more easily discoverable16:13
garyvdmOk16:13
igcI've started doing that in bzr-explorer16:14
garyvdmCurrently there are only 2 that are designed to be reuseabe.16:14
garyvdmlog and working tree16:14
igcgaryvdm: non-tech advice?16:15
igcfire away16:15
garyvdmAnd the currently unmerged into trunk revision selector16:15
igcyes please16:15
garyvdmI can't decide what to work on.16:15
RockyRoadI wouldn't like to disturb in your busy developers chat (qbzr rocks :), but I still need some help. Somebody else maybe ? jelmer what about rebase ? My problem is exposed here: http://www.rocky-shore.net/misc/bzr-rebuild.html16:15
garyvdmI started working on tests for log at uds16:16
garyvdmThere is alot more test that should be written for qlog16:16
garyvdmFix bugs?16:16
garyvdmWork on api for creating command?16:17
garyvdmWork on refactoring directory/tree widgets into one.16:17
garyvdmI cant decide.16:17
igcgaryvdm: there's no right answer :-)16:18
igcbut here's my view ...16:18
igcpick whatever gives end users most value16:18
igcif the bugs are stopping users from working, they become #116:18
garyvdmok16:19
igcgaryvdm: fwiw, what helps me most is the sort of stuff above ...16:19
igcbecause each one of them means "back to command line"16:20
igcgaryvdm: I feel that once we get those sort of rough edges smoothed out ...16:20
igcthen more people will start using our GUIs and they'll gain more momentum16:21
igcand more developers to help us improve them16:21
garyvdmYes16:21
igcgaryvdm: so, stepping back a second ...16:22
garyvdmIf I work on the api - it may save other developers, and increase the momentum.16:22
igcmy vision is for each IDE and shell to have the same Bazaar menu ...16:22
igcand for the menu options to be very lightweight code calling out to q* (and optionally g*)16:22
igcputting together menus in most environments is easy16:23
igcwriting code behind them is hard16:23
garyvdmYes - I agree that is the way to go.16:23
igcgaryvdm: so my preferred order for things is ...16:24
igc1) get coverage so menu options do something16:24
igc2) look at streamlining the commonly used dialogs16:24
igc3) the rest16:24
garyvdmOk - so for me -16:25
igcgaryvdm: I think your API idea is excellent16:25
garyvdm1) fix bugs16:25
garyvdm2) command api16:25
garyvdm3) tree/dialog refactoring16:25
garyvdmCool - thanks for the advice16:25
igcsounds good16:25
igc1 makes users happy and 2+3 will help build momentum16:26
garyvdmI was looking forward to meeting you at uds, and disappointed when I found out that you weren't going to be there. But I understand why.16:26
igcgaryvdm: :-(16:26
igcI hear the sprint was great16:26
igcand would have *loved* to be there16:26
garyvdmDid you see I signed your book. On one of the back pages :-)16:26
igcI'm yet to receive that stuff16:27
garyvdm:-(16:27
igcbut I'll look for your name when I do :-)16:27
garyvdmOk - thanks for the chat - I'm going to work on a bug, and then go visit my Dad.16:28
igcgaryvdm: my pleasure. I should get some sleep :-)16:29
RockyRoadthanks garyvdm, good luck16:30
garyvdmRockyRoad: I also want to help you still if you have some time16:30
RockyRoadyou probably need to keep all these good ideas fresh in mind and go on with qbzr. I can understand that16:31
garyvdmI do want to help you16:32
RockyRoadk16:32
RockyRoadto refer back to my drawing http://www.rocky-shore.net/misc/bzr-rebuild.html (A/B less confusing names ?)  what I understand of merging lp:planet-drupal into lp:planet-drupal/planet-6-x/ is merging B rev5 into By rev25, which looks like reverting to Bx rev 9.16:32
RockyRoadI don't want to revert to that state !16:33
RockyRoadalthough I'm ok to rebuild all from the start if needed16:33
RockyRoadalso, I have no problem pushing lp:~m-baert/drupal-planet/6.x (Az) into lp:~m-baert/planet-drupal/6x-mich (Bz), but the problem I could have is to merge it into Bx or Bxy.16:34
garyvdmcan you run bzr qlog lp:~m-baert/planet-drupal/planet-6-x lp:drupal-planet lp:planet-drupal16:34
garyvdmand tell me when It has loaded.16:34
RockyRoadloaded16:35
garyvdmrev 5 from lp:drupal-planet != rev9 from lp:planet-drupal16:35
garyvdmIt has rev9 merged into it16:36
garyvdmrev 5 from the yellow line16:36
RockyRoaddrupal-planet rev5 is nothing special16:37
RockyRoadplanet-drupal rev5 reflect drupal-planet/6x/ rev 916:37
garyvdmIf i understand correctly, the yellow line (lp:drupal-planet) has changes that you want to merge into the black line (lp:planet-drupal / lp:~m-baert/planet-drupal/planet-6-x)16:39
RockyRoadnot really16:39
garyvdmOh16:39
RockyRoadthe black line is a copy of lp:~sweetdave/drupal-planet/6.x16:40
RockyRoadth yellow line is what I added16:41
RockyRoad(old history + tags)16:41
garyvdmI see that16:41
garyvdmYou want to merge the black line into the yellow line?16:42
RockyRoadI pushed lp:~m-baert/drupal-planet/6.x as lp:~m-baert/planet-drupal/6x-mich , but it's not connected16:43
garyvdmOk - let me have a look at thems16:44
garyvdm*them16:44
RockyRoadI need to build a common ancestor16:44
RockyRoadnot reverting to previous development stage16:44
RockyRoadthose 0.x revisions in yellow are added recently to describe older project steps16:46
RockyRoadso logically, I would prefer to see them _below_ rev 1 in black16:47
RockyRoadbut the connection line is fine16:47
garyvdmAh - so you want to change them into one history?16:48
garyvdmYes - you can do that with bzr-rebase16:48
RockyRoadthis part is ok, but I'd like to connect16:48
RockyRoadlp:~m-baert/planet-drupal/6x-mich to the same history16:49
RockyRoadbecause I will need to merge its rev 24 after black rev 2516:50
RockyRoadthere's not much difference in code, but i'd like to keep its revision logs16:51
RockyRoadon my graph, I showed a lot a "manual merges" , which can't appear in qlog, because they didn't use bzr merge, and were often partial16:52
RockyRoadit's explained in rev logs16:53
garyvdmSo you've got 3 options 1. Merge black in to yellow an push that your dev focus (yellow then becomes your main line).16:53
RockyRoadyellow is the main line16:53
garyvdm2. Merge yellow into black  - and push - black stays you main line16:54
garyvdmor16:54
RockyRoadyellow and black are fine as is16:54
garyvdmuse rebase so that the black line follows on from rev 3 of the yellow line.16:55
RockyRoadI just miss a third color16:55
RockyRoadI thought about rebase, but I couldn't understand well if it was the thing I needed16:56
RockyRoadand how to use16:56
RockyRoadit16:56
RockyRoadrebase 6x-mich to planet-6x16:57
RockyRoadIf I didn't merge black25 in yellow trunk, it's just because it's not ready yet, from a dev point of view16:58
RockyRoadI could merge easily its rev 9, so I guess there's no problem to merge rev 2516:59
RockyRoadthat because I used from planet-trunk$ bzr merge -r0..1 lp:planet-drupal/planet-6x17:00
garyvdmYes17:01
garyvdmHow come you created the .moved files?17:01
RockyRoadwith this exact step17:01
RockyRoadmerge -r0..117:01
RockyRoada matter of file-id that vila explained me in detail friday17:02
garyvdmOk17:02
garyvdmI wonder if it is possible to specify when you do a cvs import to specify that it must use the file ids from an existing branch?17:03
RockyRoadit's not a big issue, humans could quickly see the files are identical17:03
garyvdmbut if you do bzr log file, or bzr annotate file, the history will stop at that merge.17:04
RockyRoadAs I understood, it's intentional to forbid that17:04
RockyRoad(file-id trick)17:04
RockyRoadit's not a big problem17:05
garyvdmSo I think what I would want to do is redo the cvs import, and get it to use the bzr file-id's17:05
garyvdmThen you can rebase the start of the black line on the the end of the new cvs import.17:05
RockyRoadMy problem is not here17:05
RockyRoadI need to link a _third_ branch17:06
garyvdmOh - which is?17:06
RockyRoadlp:~m-baert/planet-drupal/6x-mich17:06
garyvdmbut that is exactly the same as lp:~m-baert/drupal-planet/6.x17:07
RockyRoadyep17:07
RockyRoadjust copied in the new project17:08
garyvdmWhat do you mean by link?17:08
RockyRoadsomething like merge -r0..117:08
garyvdmBut they are the same - so you don't have to do any thing.17:10
RockyRoadI need a common ancestor between planet-drupal/planet-6x and planet-drupal/6x-mich17:10
RockyRoadto be able to do future merges17:11
garyvdmYou don't need to do any thing.17:11
garyvdmYou will be able to merge.17:11
RockyRoadok I retry17:12
RockyRoadIt sounds like it could do it but but renames+add again17:22
RockyRoadthat's more an issue at this stage17:22
garyvdmRockyRoad: No - if you make a change to lp:~m-baert/planet-drupal/6x-mich, and one to lp:~m-baert/drupal-planet/6.x, you should be able to merge one into the other with out any problems.17:26
RockyRoadhttp://pastebin.com/d711d6fd717:27
RockyRoadI don't need to merge 2 copies of the same branch that I own17:27
RockyRoadI don't think so ...17:28
RockyRoadoh no the moves don't concern the program files, it's ok17:29
RockyRoaddoc subdir is all my own17:29
RockyRoadthese are "ordinary" conflicts17:30
RockyRoadbut I find it mysterious why I can do it here what I couldn't on other branches ...17:33
RockyRoadold command: bzr merge -r 1 lp:~m-baert/planet-drupal/planet-6x17:34
RockyRoad # bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified.17:34
garyvdmOk - I said lp:~m-baert/planet-drupal/6x-mich was the same as lp:~m-baert/drupal-planet/6.x17:35
RockyRoadfrom  planet-trunk17:35
garyvdmlp:planet-drupal/planet-6x and lp:~m-baert/planet-drupal/6x-mich are differnet - although they do have a common ancestor.17:35
garyvdmLet me look further at the errors17:36
=== abentley1 is now known as abentley
garyvdmSo David Giard manualy added doc.17:38
garyvdmHad he done a merge (or a cherry pick merge) from your branch, then there would not be a conflict.17:39
RockyRoadNo17:40
RockyRoadoops17:40
garyvdmBecause he did it manually, the file id's of the doc folder are differnent17:40
RockyRoadno problem17:40
RockyRoadThat's interesting17:40
garyvdmOk - I must go17:42
garyvdmI hope I was a help17:42
RockyRoadok thanks a lot for your patience and help :)17:42
RockyRoadI'll force a commit right now to check ..17:43
garyvdmIt's a pleasure.17:43
Glenjaminhey guys, is there any way to set the default external diff options?18:11
ddaause an alias18:25
Glenjamincan i alias diff to di --diff-options=whatever ?18:32
LarstiQGlenjamin: yes18:54
LarstiQGlenjamin: see `bzr help alias`18:54
Glenjaminexcellent, thanks18:54
Glenjamini read the help, it doesnt mention replacing default commands18:54
cody-somervilleGlenjamin, I just tried it, like you could have, and it lets you set aliases that override default commands18:56
LarstiQcody-somerville: I suppose an example could be included that does that18:58
* cody-somerville nods.19:00
LarstiQcody-somerville, Glenjamin: either of you interested in submitting a patch that does that?19:05
FryGuy-is it normal for bzr resolve to need to specify the full file name for each file to resolve?19:18
LarstiQFryGuy-: instead of what?19:20
FryGuy-just doing bzr resolve19:20
FryGuy-maybe it's just a windows problem19:21
FryGuy-i think i recall that there are a few places where wildcards don't work properly19:21
LarstiQFryGuy-: if you want to resolve a specific file, `bzr resolve path/to/file`, if you want to autoresolve what you can, just `bzr resolve`, if you want to force everything, `bzr resolve --all`19:22
FryGuy-hmm19:22
LarstiQFryGuy-: if you're expecting that `bzr resolve` clears all conflicts, maybe the detection thinks it can't resolve yet19:22
LarstiQthat, or you might indeed have found a bug19:22
FryGuy-well in this case, i don't know how i can resolve it19:23
LarstiQFryGuy-: could you pastebin `bzr conflicts` output?19:23
FryGuy-this happened at work, i'm trying to reproduce it19:23
FryGuy-k i got it19:25
FryGuy-http://pastebin.com/m4efe2a7719:26
FryGuy-on my work computer i've also gotten into cases where the conflict on switch happens, and it completely breaks the locks19:27
* LarstiQ blinks19:27
LarstiQFryGuy-: and what is someproject19:27
LarstiQ?19:27
FryGuy-http://pastebin.com/m27652c7c19:28
FryGuy-there's how I reproduced it19:28
FryGuy-er, excluding ilne 519:30
* LarstiQ can reproduce that on Debian too19:41
LarstiQFryGuy-: so yeah, you certainly found a bug there19:45
LarstiQFryGuy-: however, if you explicitly `bzr resolve someproject`, that should get you out of the immediate situation19:46
asabilhi all20:36
LarstiQFryGuy-: I'm trying to make the case for reproducing it somewhat smaller20:49
* LarstiQ tries an alternative approach20:50
LarstiQFryGuy-: http://pastebin.com/d6453183c20:55
LarstiQFryGuy-: there is a chance that the switch mechanics are different, but I believe the bug is in shared code20:58
LarstiQah, there are some differences20:59
=== mwhudson_ is now known as mwhudson
mwhudsonjelmer: thanks for the bzr-git test fix :)22:40
mwhudsonare any bazaar developers working today? :)23:28
pygimwhudson: its sunday :p23:45
mwhudsonpygi: nonsense!23:46
pygimwhudson: uh, actually, I just lied23:46
pygiits monday23:46
mwhudsonpygi: and has been for nearly 11 hours now!23:49
mwhudsonanyway, i figured things out myself23:49
pygimwhudson: no, only 47 minutes23:50
pygimwhudson: that's cool, share the findings :p23:51
mwhudsonpygi: bzr tests fail with an old subunit around23:51
mwhudson(not very exciting)23:51
pygiindeed :p23:52

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