/srv/irclogs.ubuntu.com/2010/10/20/#bzr.txt

spivGood morning.00:06
peitschiemornin spiv00:12
lifelessmgz: anythong ?00:12
mgzI generally go for boxers...00:13
peitschiemgz: on your self or the other? :P00:19
lifelessmgz: (typo in your testtools branch)00:39
mgzblast, and I thought I'd lowered my tyopage with that branch00:42
mgzI'll push a fix.00:42
pooliehi spiv, mgz00:55
mgzhey poolie... I need to get to bed...00:57
dlbike76Hello.  Is there a way to assign a name or tag to a revision number?01:09
spivdlbike76: bzr tag NAME -r REVNO01:10
spivAnd more generally see 'bzr tag --help' :)01:10
dlbike76thanks I had to update to the newest bzr version01:30
dOxxxgood evening, everyone01:58
peitschiehiya dOxxx02:00
=== soren_ is now known as soren
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
pooliehi dOxxx, peithschie04:57
dOxxxhi poolie04:57
dOxxxhow are things down under?04:57
pooliegood05:12
peitschiehi poolie05:12
pooliegetting ready to go to UDS next week05:12
pooliespiv, shame we didn't remember ian's plugin earlier, can they merge?05:16
poolieis there any point putting them in the plugin guide or are they too nerdy/05:17
dOxxxnevar05:17
dOxxxno such thing in a DVCS05:17
dOxxx;)05:17
spivpoolie: yes, they can merge, mine and his actually do slightly different things.05:20
spivHis checks that two branches have identical history and that the revisions are identical.  Mine checks that all copies of inventories in 2 or more repos are identical.05:21
spivThey are a bit nerdy, but it would be good to have a place to put things like this.05:22
spive.g. I also have a 'bzr chk-used-by' command in another plugin that was handy in diagnosing a previous bug, and it probably shouldn't languish in total obscurity.05:23
spivThere are probably others like that to be found in others' junk code or home dirs (or possibly even in my own...)05:24
peitschiespiv: it'd definitely be worth having a "diagnostics" plugin that can either ship with release, or have an easy method for setup to diagnose some of these problems06:10
peitschiespiv: ideally something that could be used to generate extra data for use with bug reports (such as the extra revision data you helped me get out of my repo)06:12
spivpeitschie: well, there are a few builtin facilities already06:16
spivpeitschie: obviously 'bzr check', but also some hidden commands like dump-btree (see 'bzr help hidden-commands')06:16
peitschiespiv: ahh.  fair enuf :).   it seems that for quite a few of the various chk-node related bugs that (at least for bzr-svn) no extra information was really ever sought, which I had assumed was due to no tools being easily available for those06:17
spivpeitschie: I think ideally diagnostics that prove useful repeatedly rather than one-offs would be added to the core like that so they are always available06:17
spiv(and are tested)06:18
spivpeitschie: right, we hadn't made convenient tools for diagnosing that class of chk issues.  We did already have some useful APIs though, but those are a bit harder to ask users to use :)'06:19
peitschiespiv: for sure! i've been thinking on and off since the various hiccups as to ways i could have helped speed up troubleshooting the issues in any way06:20
=== jeremyw_ is now known as jeremyw
GaryvdMHi all07:31
peitschiehi garyvdm :)07:32
GaryvdMI have a bzr-svn branch. When I pull, it says No revisions to pull.   But I can see through the web ui that there are new revisions.07:33
GaryvdMhttp://pastebin.ubuntu.com/516663/07:33
GaryvdMhttp://code.google.com/p/synergy-plus/source/list07:33
GaryvdMNot sure how to fix this?07:33
GaryvdMUsing bzr-svn 1.0.307:34
peitschiegaryvdm: what's the results of running bzr log -l2 in the bzr-svn branch?07:36
GaryvdMpeitschie: http://pastebin.ubuntu.com/516670/07:37
GaryvdMI think I know what it is.07:38
GaryvdMThe most recent changes are to /doc/, and I am checking out /trunk/...07:38
peitschiegaryvdm: oh... that might do it :).  There is actually an open bug somewhere about finding a way to make bzr-svn behaviour in this fashion a little more informative (i.e., I know about revision <X> but am up to revision <Y> which is the latest one with changes to this branch)07:39
GaryvdMI can see in qlog that bzr rev 175 is svn rev 753 :-)07:41
vila_hi all !07:45
vila_wut, who is using my nick ?07:46
peitschievila_: hi ghost of vila07:46
GaryvdMHi vila_07:46
vila_hehe :)07:46
=== vila_ is now known as vila
GaryvdMpeitschie: Are you Philip Peitsch?07:46
peitschiegaryvdm: i yam indeed :)07:48
vilaGaryvdM: careful, he could be ghost ;)07:48
peitschie:O07:48
vilaa ghost, damn tyops07:48
peitschielol07:49
GaryvdMvila: I'm not scared - qlog can handle ghosts now07:49
vila\o/07:49
peitschievila: i seem to be pretty corporeal... it hurts to compile code... that makes me real right?07:50
peitschiegaryvdm: lol07:50
vilahttp://www.youtube.com/watch?v=iCHFVTQKqdQ07:50
peitschieack... that could be me! "If there's something strange... " >.< ... totally busted07:51
peitschiegaryvdm: did you see the latest wishlist request I posted to qbzr?07:54
GaryvdMpeitschie: sorry - I'm not keeping up with the waterfall. What's the url?07:55
peitschiegaryvdm: it's nothing important :): https://bugs.launchpad.net/qbzr/+bug/66368407:55
ubot5Launchpad bug 663684 in QBzr "qswitch: remember recently switched branches (affected: 1, heat: 6)" [Undecided,New]07:55
peitschiegaryvdm: I was just going to ask if there is much by way of approval process to getting an idea "accepted" before I start working on it :)07:56
GaryvdMpeitschie: Sure. Similar to bug 419758 . It would be cool if you could maybe have the storage code in bzrlib.07:59
ubot5Launchpad bug 419758 in QBzr "File menu: add MRU files list (affected: 1, heat: 5)" [Wishlist,Confirmed] https://launchpad.net/bugs/41975807:59
peitschieGaryvdM: sounds good.  Are you aware of any "similar" pieces of code to draw from for this type of thing?08:00
GaryvdMMaybe make it accessable to the command line via tab completion.08:00
GaryvdMpeitschie: It would also be cool if such a thing worked for pull/push.08:01
GaryvdMpeitschie: Not sure what code to look at.08:02
peitschiegaryvdm: i'll have a look... at this point i'm still treading carefully so i don't accidentally bite off more than i can chew :).  still slowly getting my head around bzr+qbzr (i have no other experience with heavy python code)08:02
peitschiegaryvdm: having said that... you make convincing points :D.  I might look at getting something like this in bzr core CLI only first... then i don't have to deal with the Qt side of things until I know how to do the storage & retrieval part08:03
GaryvdMpeitschie: I would look at the code that stores the parent/push/bound branches.08:03
GaryvdMpeitschie: It would also be cool to show these locations in bzr info.08:05
peitschiegaryvdm: a thought with that is that it may be preferrable to have such locations stored by user/repo rather than checkout/branch potentially08:06
peitschiehmm... i might check out bzrtools stuff... they have some kind of tab-completion stuff in their plugins08:07
spivvila: I'm partial to http://www.youtube.com/watch?v=8u5SSQEY8oo myself...08:21
vilaspiv: hehe, I wouldn't expect less with such a nick :D08:22
vilaspiv: excellent :) I love the jumping glasses around 2:1508:24
spivThere's lots to like!  If you're into that sort of thing, anyway :)08:25
vilaspiv: from the same people you mean ?08:25
GaryvdMHow does his jacket change colour? CGI?08:27
spivvila: oh, I just meant the silliness they squeeze into the one clip :)08:27
vilaspiv: oh ok08:30
vilaRegarding the "diagnostics" plugin, how about using bzrtools instead ?08:36
vilaIt's already packaged widely but doesn't get a lot of attention/additions for several releases08:37
=== peitschie is now known as peitschie_
=== peitschie_ is now known as peitschie
pooliehi vila09:02
pooliethat sounds good09:02
vilathe ghostbuster song ? :-D09:02
poolieto run with LANG=C09:02
pooliemaybe we should think about running plugins though perhaps that's gated on working out the right way to integrate their test09:02
poolieanyhow, i'm off; have a good day!09:02
pooliei hope to do more reviews tomorrow09:03
vilapoolie: I finally managed to address some deep configuration issue and I should now be able to add far more jobs more quickly09:03
poolieexcellent09:03
vilaalso, with the mgz hack transport fix, the doors are open to add an OSX slave...09:03
poolieS is standing here09:03
pooliebye!09:03
vilahehe, cu :)09:04
lifelessspiv: around, perchance?09:43
spivlifeless: not really, no :)09:55
lifelesskk09:56
lifelesswondering how to do dynamic port allocation in a tac file09:56
spivport=009:57
lifelessthanks09:57
spivFinding out what the port number turns out to be might be a bit messy09:57
lifelesswell09:57
lifelessI'm already parsing the log from the parent process :)09:57
spivBut then so is finding out when the tac is running enough for something to try connecting.09:57
spivSo, yeah :)09:57
lifelessclass LibrarianServerFixture(...):09:58
Takwhat's the best way to branch or import a range of revisions from a svn repo?10:58
Tak(assuming that I don't care about operating with the svn repo ever again)11:02
jelmerTak: Importing a single branch can be done using "bzr branch"11:03
Takbut can I specify the revision range for the import?11:03
Taklike ideally I'd do: bzr branch -r KnownGoodRevision..-1 svn://someplace11:04
jelmerTak: No, we don't support partial clones at the moment.11:08
jelmerTak: Why would you want to though?11:08
Taklike everyone else, I have broken revisions in my svn repo11:08
Takcan I do it with fast(im|ex)port?11:10
jelmerTak: You should be able to work around that by cloning into a clean repository though.11:11
jelmerTak: Alternatively, fastimport/fastexport should indeed work.11:11
Takby cloning into a clean repository?11:11
jelmertak: yeah11:12
Taksorry, I don't know what you mean by "cloning into a clean repository"11:15
Takthe problem isn't with bzr-svn, the problem is with the svn repo itself11:15
jelmertak: Oh, ok. In that case it won't help.11:16
jelmertak: fastimport is the only option then I guess11:16
Takok, thanks11:18
peitschieTak: wat do you mean by the problem is svn repo itself?11:19
TakI mean, at some point in the past, the repository was modified in such a way that certain revisions are invalid11:23
peitschiejelmer: does the latest bzr-svn deal with these skipped revisions?11:24
GaryvdMTak: Do you get an error when you run bzr branch svn://someplace ?11:35
maxbTak: Can you elaborate on what you mean by "broken" ?11:35
peitschieI think tak is talking about https://bugs.launchpad.net/bzr-svn/+bug/51585011:37
ubot5Launchpad bug 515850 in Bazaar Subversion Plugin "Revisions added while a commit is happening are ignored (affected: 5, heat: 29)" [High,Triaged]11:37
maxboh. that could be pain11:39
maxbTak: If so, is your bzr-svn metadata in revprops or fileprops?11:40
peitschiemaxb: that is assuming this is the problem tho ;)... it may also be missing chk nodes or similar11:40
peitschietak: are you able to give any more detail about exactly which "error"  you're seeing with the broken svn repo?11:41
Takit's not just bzr-svn12:06
Takthe same thing happens with git svn12:06
peitschietak: can svn do a checkout?12:07
Taksvn can checkout head12:08
TakI believe there are some revisions that can't be checked out12:08
maxbTak: Exact error messages please12:09
maxbDo you actually have filesystem access to the repository? If so have you considered 'svnadmin verify'?12:09
Takgrr, I can't even fast-export with a revision range: http://paste2.org/p/104639812:13
Takheh, I'm not touching the repo12:14
maxbTak: ok, let's start eliminating things - can you run 'svn log -v url-to-repo-root' without an error?12:15
maxbWhat version of bzr-svn? Can you try the latest release?12:17
Takbzr 2.2.0 with 1.0.4dev (that /is/ the latest release for osx)12:18
Taksvn log completes12:20
maxb<Tak> like everyone else, I have broken revisions in my svn repo12:21
maxbWhat exactly do you mean by broken?12:21
Takok12:21
TakI inherited this repo12:21
Takand we've been evaluating moving to a dvcs12:22
Takand every export and import tool fails - and when I ask people about it, the response is like, "Yeah, we did some voodoo way back when to get some stuff imported and make it Just Work, but now a bunch of revisions are broken"12:24
Takand I get the impression that it's impossible to checkout certain revisions, etc.12:24
maxbRight. Well, the very first thing you should be doing is figuring out the nature of the breakage.12:26
Takso that's why I asked my initial question about a partial export - I'd be willing to lose some history, and right now this is only for a test anyway12:26
maxbSo, please run 'svnadmin verify' on the repository12:26
=== Ursinha-afk is now known as Ursinha
GaryvdMTak: This error  http://paste2.org/p/1046398 is using bzr fastexport, which uses bzr-svn. Have you tried to use svn fast export (google reveals that there is more than one. Can anyone advise which is the best?)13:23
TakI also tried fast-export-from-svn13:30
maxbI think layering two bzr plugins (bzr-svn and bzr-fastimport) on top of a svn repository of questionable integrity is unwise13:34
maxbI think you should assess the integrity of the repository with native svn tools, and then move on to using bzr-svn (without fastimport) and finding where it fails13:35
=== abentley_ is now known as not-abentley
napsterI've accidently deleted files on my local bzr branch. And bzr pull lp:backman gives me error15:34
GaryvdMnapster: what error?15:35
GaryvdMnapster: bzr revert FILENAME will restore your file.15:35
napsterGaryvdM: How can I restore all the files at once?15:36
GaryvdMnapster: bzr revert - but that will also revert changes to files not deleted15:37
napsterGaryvdM: By the way, the error is : bzr: ERROR: Connection error: while sending CONNECT xmlrpc.launchpad.net:443: [Errno 110] Connection timed out15:37
GaryvdMnapster: if you have qbzr use bzr qrevert15:37
napsterGaryvdM: I don't use a gui15:38
GaryvdMnapster: also bzr revert DIR will revert everything in the dir.15:39
napsterGaryvdM: Thank you15:40
dobeyhey15:40
dobeywith bzr reconfigure, how do you reconfigure a remote branch to be stacked on a different remote branch? --stacked-on doesn't seem to like lp: arguments, and passing a full local path makes the stacking invalid on the server15:40
GaryvdMdobey: Maybe ask on #launchpad15:45
mgzor bzr info the lp: url then use the bzr+ssh: url that gives you?15:46
dobeymgz: well, i'm not sure that will help in this case? https://pastebin.canonical.com/38844/15:49
dobeymgz: or http://pastebin.ubuntu.com/516867/ rather15:56
mgzthanks, <h1>You do not currently have access to the pastebin.</h1> isn't very encouraging.15:56
dobeyyeah, sorry.15:57
mgztry and trick it with ../ maybe?15:57
mgzotherwise, file bug.15:57
dobeymgz: well passing full path to the local checkount of the branch 'worked' but the server says "Invalid stacked on location: file:///home/vds/canonical/desktopcouch/trunk" now15:58
maxbdobey: --stacked-on=bzr+ssh://bazaar.launchpad.net/~whatever/whatever/whatever15:58
dobeymaxb: hmm, ok15:58
mgzthat's what I said!15:58
mgzlp: really should work though, so file a bug.15:59
maxbThe launchpad server will understand what to do and rewrite it so that it also works for http clients15:59
=== Ursinha is now known as Ursinha-lunch
dobeymaxb, mgz: hrmm. now it shows "Invalid stacked on location: ../../../~ubuntuone-control-tower/desktopcouch/trunk" on lp16:12
dobeyah well, lunch and then lots of bug filing i guess16:20
maxbdobey: Which branch?16:29
=== jfroy_ is now known as jfroy
=== Ursinha-lunch is now known as Ursinha
=== deryck is now known as deryck[lunch]
=== beuno is now known as beuno-lunch
tsmithare there any plans to be able to use bzr-svn switch and be able to switch all svn:externals repos, too?17:49
jelmertsmith: Yes, when svn:externals are supported. This requires nested tree support in bzr itself though.17:50
tsmithjelmer, is that on the radar for 2011, at least?17:51
tsmithi've been waiting years17:51
=== deryck[lunch] is now known as deryck
jelmertsmith: Unfortunately it's a hard problem to solve.18:11
jelmertsmith: I don't know what the exact plans are, but IIUC it's higher on the list than ever before.18:12
tsmithawesome18:12
dobeymaxb: https://code.edge.launchpad.net/~vds/desktopcouch/strip_reconnection18:23
maxbdobey: ok, can you try bzr reconfigure --stacked-on=bzr+ssh://bazaar.launchpad.net/~ubuntuone-control-tower/desktopcouch/trunk lp:~vds/desktopcouch/strip_reconnection ?18:24
mgzwhat plugin's version has been 0.95 and 0.98 recently?18:25
maxbdefine recently?18:26
maxbbzr-gtk not-so-recently18:26
vilamgz: testtools ! :-P18:26
vilaha no, 0.9.7 :)18:27
dobeymaxb: we did. that's what put it in the current state it's in18:27
maxboddness18:27
* maxb experiments18:27
mgzI've seen two bug reports with a follow on traceback like:18:27
mgz3.711  Traceback (most recent call last):18:27
mgz File "/usr/lib/python2.6/dist-packages/bzrlib/plugin.py", line 471, in _get__version__18:27
mgz   version_string = _format_version_tuple(version_info)18:27
mgz File "/usr/lib/python2.6/dist-packages/bzrlib/__init__.py", line 107, in _format_version_tuple18:27
mgz   raise ValueError("version_info %r not valid" % (version_info,))18:27
mgzValueError: version_info (0, 98, 0, 'final', 1) not valid18:27
mgzso, whatever plugin that is needs to not be using 1 as the last tuple entry for 'final'18:28
vilathat.... rings a bell18:28
maxbdobey: oh dear18:31
maxbsomething has broken reconfigure --stacked-on= on launchpad18:31
mgzoo, oo, oo, osx slave18:32
maxbIf you download a script I wrote from http://j.maxb.eu/~maxb/bzr-set-stacked-url and run "bzr-set-stacked-url lp:~vds/desktopcouch/strip_reconnection lp:~ubuntuone-control-tower/desktopcouch/trunk" it should fix that branch18:32
=== beuno-lunch is now known as beuno
mgzvila, want bugs filed on your osx failures?18:41
vilahehe18:42
vilaThat's an offer I can't refuse :)18:43
mgzhm, odd, why is CaseInsCasePresFilenameFeature letting these two win32utils tests run...18:43
vilaNote that the extensions are not compiled so far18:44
mgzhfs is case sensitive, no?18:44
vilacase preserving18:44
mgzha, so... why are they not passing :P18:44
viladunno if that make the probe fail18:44
mgzprobably a bad platform detect in the glob code.18:45
vilaI haven't look at them yet, I've been fighting with .profile .bashrc madness on OSX (three use case, three different setups >-/)18:45
mgzI shall investigate.18:45
vilano hurry, I'll polish the setup tomorrow18:46
mgzthere's also one socket thing, and the rest look like package thingies.18:46
vilabzrlib.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh ... once more18:47
vilaIPV6 may be involved too so it may well be paramiko again18:47
mgzthat's the paramiko wotsit right?18:47
* vila off, dinner time18:47
viladunno yet but I won't be surprised18:47
mgzhave a nice meal!18:48
vilaone more nail in this test coffin IMNSHO18:48
AfCDoes `bzr push` push the GPG testaments?18:58
dobeymaxb: that script seems to have fixed it now, thanks19:13
maxbdobey: Will you file a Launchpad bug about reconfigure --stacked-on being broken?19:13
dobeymaxb: well i guess there are a few bugs that need to be filed, but yes19:15
jelmermaxb: hi19:43
maxbhi19:43
=== Meths_ is now known as Meths
kikobzr: ERROR: exceptions.NotImplementedError: should resend request to http://feeds.edge.launchpad.net/bazaar/, but this isn't implemented21:17
kikohas anyone seen this before?21:17
kikoany attempt to bzr branch lp:foo is failing with that21:17
kikoi.e.21:17
kikokiko@gasolinux:~$ bzr branch lp:linaro-image-tools21:17
kiko-> /home/kiko/.cache/crash/bzr-20101020201652-19812.crash21:17
lifelessold bzr21:17
kikoBazaar (bzr) 2.1.121:18
lifelessFixed in an upcoming SRU, or 2.221:18
kikookay let me get the ppa going21:18
kikothanks!21:18
kikolifeless, is it a problem that it's not fixed yet?21:24
lifelesskiko: that exception? I fixed it before I moved to the LP TA position :)21:24
kikolifeless, I mean, in lucid current or something21:24
lifelesstheres an SRU process underway21:24
lifelessthe wheels, they turn21:25
jelmermaxb: I've merged your subvertpy branch with some additional changes. I was wondering if you had an easy setup to run a quick make test against svn 1.4 and 1.5.21:25
kikocool then21:26
maxbI can hack up a source package and run cowbuilder on it21:26
maxbI'll look into that later, need to dash now21:36
=== Ursinha is now known as Ursinha-afk
pooliejam: still here? want to join #ubuntu-meeting?22:13
mwhudsonhey, is there an easy way to get bzr to run ssh -v for bzr+ssh urls?22:29
lifelessmmm22:32
lifelessexport BZR_SSH=ssh -v ?22:32
lifelessperhaps22:32
fullermdYou can specify LogLevel in ~/.ssh/config for a particular hostname...22:33
jamhi poolie22:34
mwhudsonfullermd: yeah, that'll probably work22:36
mgz<lifeless> export BZR_SSH=ssh -v ? <- not this way, we don't parse the value as a shell command22:40
fullermdYou could export BZR_SSH=~/my_ssh_with_-v.sh22:40
mgzthat... would work.22:41
mgzyour first answer was better though.22:41
fullermdFor bonus points (and many days of Real Work Avoidance), you could even write a special execfs that accepts a path, splits by directory components, and exec()'s, so you could BZR_SSH=/exec/ssh/-v   8-}22:41
mwhudsonfullermd: i don't think that would work either22:42
mwhudson$BZR_SSH is used as a key in a dict iirc22:43
mgzused to be, I fixed that over a year ago.22:43
fullermdBZR_SSH  Path to SSH client, or one of paramiko, openssh,  [...]22:43
mwhudsonaah22:43
mwhudsonthere you go, something getting better while I wasn't looking22:43
mwhudsonbetter hope you never want to use a binary called 'paramiko' i guess :-)22:44
fullermdOoh.  Are you available for hire?  I have a list of things for you to not look at...22:44
mgzhey, this comment has Gary's face next to it, I wonder what he has to say.22:44
pooliehi fullermd, mwh, mgz22:48
* fullermd waves at poolie.22:49
mgz...will people cry if I put a big scary branch for review when I've already got a bunch of little ones pending.22:59
mgzmost of all me, when it comes to merging them.22:59
poolieheh, no23:04
pooliei'm going to try to be a more active pilot today...23:04
peitschiemornin everyone :)23:06
mgzI've been meaning to review Gordan's mergetools change for a few days as well23:21
=== Ursinha-afk is now known as Ursinha

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