/srv/irclogs.ubuntu.com/2007/12/22/#bzr.txt

* bitmonk wonders if anyone can point at RPMs for bzr that work on RHEL403:21
bitmonkthe fc7/8/9 stuff all wants python 2.5 and glibc 2.4 or newer03:22
minghuaHi, is it normal that I can't branch a bzr-svn repo (rich-root format) to a branch in a shared repo with pack-0.92 format?11:17
datominghua: yes11:18
luksyes11:18
luksuse --rich-root-pack11:18
minghualuks: Not --rich-root?11:18
luksdepends if you want to use packs or not11:18
luksbut you said pack-0.92, so the equivalent is rich-root-pack11:19
minghuaOr you mean "bzr branch --rich-root-pack ..."?  Let me read the man page...11:19
luksno, the repository must be in the rich-root-pack format11:19
luksyou can upgrade it11:19
luksbut it will break backward compatiblity with <1.0 clients11:19
minghuaOh, I see.  So a repository initiated with --rich-root will also work?11:20
luksyes11:20
minghuaI don't mind re-creating the repository.11:20
minghualuks: Thanks a lot for the help.11:23
tumbleweedcan anyone help me with some config-manager difficulty? I'd like to cherry-pick dirs from CVS repos, but cm doesn't seem to be able to do that: https://bugs.edge.launchpad.net/bugs/17807311:23
ubotuLaunchpad bug 178073 in config-manager "Support cherry-picking subtrees from a CVS repo" [Undecided,New]11:24
denndahttp://pastebin.ca/828424 <--- what went wrong?13:27
luksmissing ssl certificates probably, I think it's fixed in newer versions13:29
luksyou can try urllib+https://... to workaround it13:29
luksactually, https+urllib://...13:29
denndaoops, link was wrong13:30
denndastupid me13:30
Stavroswhat's the fastest way to push a new repo to a remote server?13:38
Stavrosactually, the way that uses the least bandwidth13:38
Stavrosanyone?13:49
mwhudsonmake a tarball, scp it?13:49
mwhudsonwell, .tar.bz213:50
Stavroshmm13:52
Stavrosisn't bzr+ssh faster?13:53
aadisStavros: i can't see how it can be faster than bzr+ssh for a new repo14:00
Stavrosaadis: i don't really know what bzr+ssh does, i assume it sends the (compressed) changesets?14:06
aadisfor a new repo, i don't see how that's going to be more efficient than just bzipping the repo14:06
aadismakes sense for an ongoing transfer. prolly tar+bz2 can extract better compression even14:07
LarstiQthe main thing there is roundtrips, really14:07
AfCscp'ing a tar.bz2 is pretty much the definition of "wire speed" used around here. Robert usually compares against it.14:08
luks.tar would be "wire speed"14:09
AfCStavros: I have used rsync very successfully in the past for this sort of thing, but now I just rely on bzr to do the right thing.14:09
AfCI said "around here"14:09
luksbzr repository has a lot of compressible data that are not compressed14:09
luksso bzip2 -9 could help a bit14:09
AfCluks: that's not correct. Bazaar employs compression quite heavily.14:10
AfC(at least, Robert's new code does)14:10
luksAfC: indexes are not compressed14:11
AfCOh, sure14:11
AfCBut one doesn't ship indexes when shipping revisions, does one?14:11
AfCMy understanding was that they were a branch-by-branch artifact14:11
AfC(Huh. But, of course, if you rsync / scp a branch across raw, then you will drag all that crap with you)14:12
AfC(So you could just send the revisions directory... but then, well, you're more or less using packs :))14:13
* AfC looks at the time and realizes he should be asleep14:13
luksAfC: one does14:14
luksknits nor packs are not standalone14:14
tumbleweedcan someone help me lay out a repo? I'm trying to use a centralised bzr repo for managing and updating drupal sites14:18
tumbleweedbut each site will have a different collection of modules14:18
Stavrosdoes anyone remember how i can copy all *.py files recursively from a directory to another?14:18
tumbleweedif drupal was available by svn, I'd check it out with svn and use svn:externals, but that's obviously not an option14:19
aadisStavros: same dir structure? or in the same dir?14:19
Stavrosaadis: i'm copying my working copy files to the directory with the bzr repo, so exact same structure14:19
Stavrosi.e. copy workingcopy/*.py workingcopy_bzr/14:19
aadisStavros: no clean way comes to find, except perhaps using tar!14:19
Stavroshmm, interesting14:20
tumbleweedStavros: hang on, I'm sure I can think of something14:20
aadistar can do anything!14:20
Stavrostar should work14:20
tumbleweedStavros: you could use rsync14:20
Stavrosaha, yes14:20
Stavroseven better14:20
tumbleweedrsync -av source/ dest/ --include '*.py' --exclude '*.pyc'14:21
tumbleweedor cp -a source/ dest; find -type f -a ! -name '*.py' -exec rm {} \;14:22
tumbleweed^ lazy method14:22
Stavrosaw man14:22
Stavrosthat rsync line copied everything :/14:22
* tumbleweed was excluiding pyc14:22
tumbleweedyou'd have to exclude every extension you don't want, individually14:22
Stavrosoh14:23
Stavroshmm14:23
tumbleweedwhich sucks, but rsync doesn't have an option to include directories14:23
Stavrosi'd think "include py" would exclude everything else14:23
Stavrosit's ok, i'll just have bzr clean it up14:23
tumbleweedno, it doesn't14:23
Stavrosthanks a lot!14:23
tumbleweedStavros: use find to clean it up14:23
tumbleweedanyway, I was asking about lay outs, would this make sense?:14:24
tumbleweedrepo/drupal (drupal tree)14:24
tumbleweedrepo/modules/foo (each module)14:24
Stavrosany idea how to delete all .svn folders under my tree? :/14:25
tumbleweedStavros: find . -name '*.svn' -print0 | xargs -0 rm -rf14:26
Stavrosthanks14:26
tumbleweedStavros: find . -name '.svn' -print0 | xargs -0 rm -rf14:26
tumbleweedwhoops14:26
tumbleweednot *.svn14:26
Stavrosindeed, thanks14:26
* tumbleweed can't think straight in this heat14:28
tumbleweedStavros: re your copying problem14:31
tumbleweedyou could do rsync -av source/ dest/ --include '*.py' --exclude '*.*'14:31
tumbleweedassuming all files have extensions14:31
bob2not --exclude '*'?14:34
Stavrostumbleweed: ah, that worked, thanks14:38
tumbleweedbob2: exclude * would exclude everything14:48
tumbleweedbob2: including directories that form part of the parent tree to your .py files14:48
tumbleweedit's a yucky solution, but it works14:48
tumbleweednow that my head is working on this, here is a good, and correct solution: find . -name '*.py' -exec cp --parents {} ../destination/ \;14:51
Stavrosah, thanks15:00
Stavrostrying to migrate to bzr :/15:00
LarstiQStavros: how big is your repo that you don't want to just `bzr push` all your branches?15:01
bob2tumbleweed: afaict include is applied after exclude, so it does work15:03
StavrosLarstiQ: it's not large, but the production server has a few lines different from dev15:03
Stavrosand i'm trying to reconcile things15:04
Stavrosso i have to get that working copy, diff it, etc etc15:04
tumbleweedbob2: includes and excludes are applied in the order specified15:04
tumbleweedbob2: but rsync won't copy a file unless it copies it's parent directories, too (not necessarily contents of them, though)15:05
LarstiQStavros: aah15:05
StavrosLarstiQ: yes, it's proving rather hard :/15:06
Stavrosoh wait15:06
Stavrosi'm just stupid15:06
Stavrosgah, i should just delete the .bzr dir and copy everything else15:06
Stavrosanyone know how to cause an external HDD to spin down in linux, like windows' unmount does?15:13
Stavros(i'm way off topic now)15:13
tumbleweedhdparm -y /dev/foo15:14
Stavrosah, thanks15:15
Stavrosy or Y?15:15
tumbleweedI think Y is a deeper sleep than y15:15
tumbleweedbut why do you want to do this?15:15
tumbleweedoh, external15:16
Stavrosyes, i'm not sure if it parks the head otherwise15:16
tumbleweedI'd assume it does, but don't know15:16
tumbleweedI think drives park their heads as the power is lost15:16
Stavrosthat sounds reasonable... i wouldn't want to risk it, though15:17
Stavrosi have two working copies that diverged from the same revision, how can i merge them?15:31
Stavrosi committed one and am trying to merge the other, but merge says there's nothing to do15:32
fullermdStavros: You generally merge branches, not working copies.  Merge only works on commits, unless you use --uncommitted to try and bring over working copy changes.15:33
fullermdBut you probably want to commit, then merge.15:33
Stavroshmm, it's a bit messed up now, because i'm trying to migrate, so they're both in the same directory15:34
Stavrosi.e. i took the original revision, made some changes, committed15:34
Stavrosthen i took the other working copy and i want to merge the changes i had done15:34
Stavrosi don't know if i'm making sense15:35
Stavrosif i commit now, i'll revert all the changes i last committed15:35
Stavrosi want to merge the last commit with the working copy (it has a bug fix)15:35
fullermdOh, yeah, that doesn't make sense.15:36
Stavroshmm15:36
fullermdWhat you want to do is branch the rev before that, that both were based on, commit in that's tree, then merge them.15:36
Stavrosaha15:36
Stavrosthat makes sense then, yes15:36
Stavrosthanks15:36
Stavroshow do i push some changes to another local branch without changing the working copy?15:38
fullermdMmm.  Not sure that makes much sense either.15:43
fullermdI guess you could act remote (use sftp:// localhost or something) and update the branch without touching the tree.15:43
Stavrosah, never mind, it doesn't do it if they've diverged15:43
Stavrosif they haven't, one could just revert to the committed revision15:43
fullermdYeah, that'd stop it there.15:44
fullermdA branch can only have one head rev, so you'd have to merge them to get them together again.15:44
Leonidashi15:50
Leonidasis there some equivalent of mercurials mq or gits stgit for Bazaar available?15:51
Leonidasor what is the preferred way in bazaar to track patches which are supposed to be send via mail when they are done?15:56
Stavrosi did a "bind" and a "push" but the push is not pushing where i bound,what do i do?15:56
radixStavros: if you bind, you don't need to push16:00
radixStavros: commits will automatically be pushed16:00
fullermdpush defaults to its own location, different from bind.16:00
mgedminI cannot use bzr diff while writing a commit message :(16:01
mgedminbad usability, imho16:01
radixLeonidas: with a branch?16:01
fullermdmgedmin: It's generally considered a bug.16:01
radixmgedmin: I've found that annoying too16:01
Leonidasradix: imagine the following setup: there is an remote repository to which I have no access. Now, I cloned it and want to make some improvements to the code. So, what would be "the Bazaar way" of doing this?16:02
fullermdLeonidas: The normal way would just be to go ahead and work on it and commit in your branch.16:04
fullermdI thought I heard of somebody some months ago looking at making mq work with bzr, but I may be imagining it.  I don't think anybody's come out and declared success with it.16:04
Leonidas_sorry, connection problem.16:06
=== Leonidas_ is now known as Leonidas
Leonidasfullermd: ok, but what would happen on merges?16:06
Leonidashmm, I think I really should try it out myself, instead of aksing stupid questions16:07
LeonidasBut at least I know how to handle it with bzr16:08
fullermdWell, merges would just be merges.16:10
radixLeonidas: so, you might have many local branches16:13
radixLeonidas: you might branch the upstream to "upstream", then branch *that* to "fix-for-my-bug"16:13
radixLeonidas: in other words, you should represent distinct change sets as distinct branches16:13
radix(I use the word "change sets" loosely -- a fix for a bug or a new feature)16:14
Leonidasradix: but when I update the upstream branch I would need to update every single branch, right?16:14
radixLeonidas: well, hopefully you'll get those other branches merged quickly.16:14
radixLeonidas: And it's ok if it gets a little bit out of date; as long as no conflicting changes are made, it'll still be mergable.16:15
radixwell, of course it'll be mergeable in any case, but the conflicts will need to be resolved after the merge.16:15
Leonidasfine :)16:16
jrydberg_odd question: but do anyone know of there's a package out there that provides more or less "bzr shelve" but for subversion?17:10
LarstiQjrydberg_: not directly, but I'd try quilt17:11
* mgedmin always used svn diff > my.diff; less my.diff; svn revert -R17:12
jrydberg_mgedmin: that is an option :)17:13
jrydberg_darn, so i have to port shelve to subversion. hehe17:18
Stavrosdoes "pull" update the working copy if it hasn't diverged?17:21
fullermdActually, pull tries to update the working copy even if it is diverged.17:22
Stavroshmm, how does it do that?17:24
radixI thought pull doesn't do anything if the branches have diverged.17:24
fullermdWell, I mean the WT diverged; local uncommitted changes.17:25
radixoh. I see.17:25
fullermdIf the branches are diverged of course it just says "No way"17:25
Stavroshow does it update the working copy if it diverged?17:25
fullermdPretty much the same was 'cvs up' will try to merge in local uncommitted changes.17:26
Stavrosah17:27
Stavroswhat's the difference between a bound branch and doing "push" after "commit"?17:27
fullermdThe bound branch won't let you commit if you're out of date.17:28
fullermdIt's not a bound branch, it's a checkout.17:29
Stavrosah, so it has to communicate to the server at all times17:29
Stavroslike a centralized vcs17:29
fullermdWhen you commit, certainly.17:29
fullermdYeah, that's the workflow.17:29
Stavrosaha, thanks17:29
AnMasterhey it seems trac-bzr is broken with trac 0.1117:39
AnMasterin #trac they said it was a problem in the plugin and iirc that means I got to ask in this channel17:40
AnMasterhttp://rafb.net/p/TNLFPz34.html17:40
Stavrosdoes that plugin generally work well?17:41
AnMasteryes it worked with 0.10.417:42
Stavrosaha, i must try it17:43
AnMasterStavros, however completely broken with 0.11, tried all the branches at launchpad17:44
AnMasterand no recent development17:44
Stavroshmm :/17:49
Verterok_AnMaster: I fixed (it's only a workaround) to work with 0.11ç17:51
AnMasterVerterok_, how?17:51
* Verterok_ searching for the url to the branch17:51
AnMasterVerterok_, ?17:56
AnMasterbrb phone, will check it when I get back17:57
Verterok_AnMaster: I'm on it...17:57
=== Verterok_ is now known as Verterok
VerterokAnMaster: https://code.launchpad.net/~guillo.gonzo/trac-bzr/trac-0.11dev17:58
VerterokAnMaster: I'm running a trac instance with that plugin for bzr-eclipse (but I'm moving it to launchpad)17:59
VerterokAnMaster: don't know if it still work for the current trunk of trac :P18:02
AnMasterVerterok, tried it, didn't work18:04
AnMasterand I'm using pre-release 0.11b118:04
AnMasterso not trunk18:04
AnMasterbeta118:04
abentleyjrydberg_: shelve probably works with the bzr-svn plugin :-)18:09
VerterokAnMaster: I'l take a look and see if I can fix it18:10
abentleymgedmin: There is the --show-diff commit option, which will allow you to see the diff.18:11
mgedminyay, good18:11
mgedminnow I need to make some changes to see the diff :)18:12
mgedminmhm, no short version of --show-diff...18:17
mgedminvim doesn't know how to syntax-highlight diffs in the commit message18:17
datomgedmin: http://chistera.yi.org/~adeodato/code/bzr/bzr-vim/18:17
datoI should really try to get my version to replace or enhance the current one bundled with vim18:18
mgedminthanks18:18
jrydberg_abentley: hehe18:48
jrydberg_abentley: anyhow, i ripped out the shelf parts from bzrtools and wrote a patchsource for subversion.  easy as 1 2 3.18:48
abentleyAh, cool.18:48
jrydberg_os.popen('svn diff') :)18:49
abentleyI think it would be nice if bzr was a good svn client.18:49
mgedminthat reminds me19:04
mgedminlast time I tried, it wasn't19:04
mgedminit's time to try again19:04
VerterokAnMaster: I just get a trac-0.11b1 running with timhatch branch: https://code.launchpad.net/~timhatch/trac-bzr/thatch-dev19:09
AnMasterVerterok, odd, I tried that here without success19:10
AnMasterdid you do anything special?19:10
AnMasterVerterok, and did you try to enter plugin page in webadmin ui (where I got the error)19:10
VerterokAnMaster: no just borowse source, let's try19:11
VerterokAnMaster: I need to setup an admin user, right?19:11
AnMasteryes, someone with TRAC_ADMIN iirc19:12
Verterokok19:13
Peaker_is there a way to get a passwordless login with a paramiko public key (sftp) in Windows?19:14
Leonidasdennda: hast du grad noch nen moment zeit?19:14
Leonidasoh, sorry, wrong channel19:14
dennda:)19:14
AnMasterPeaker_, well use ssh keys?19:15
Peaker_AnMaster, I know how to do that with ssh, but how to do it with paramiko?19:15
Peaker_AnMaster, How do I know what the public key is to add it to authorized_keys2?19:15
AnMasterhm it doesn't make use of putty?19:15
Peaker_AFAIK, it used paramiko only, but I do have putty here19:16
* AnMaster is a linux/freebsd user19:16
AnMastersince 5 years19:16
Peaker_AnMaster, me too, I'm visiting my folks and they use Windows :-(19:16
Peaker_Maybe I'll just install Ubuntu here somewhere...19:16
AnMasterwell iirc putty got some ssh-agent thingy19:17
AnMasterand paramiko (or whatever) does use ssh-agent on linux at least19:17
Peaker_I haven't told it about putty's existence, so I'm guessing paramiko uses its own/pycrypto implementation19:20
Peaker_I found how to create a key pair with paramiko, but not sure how to get bzr to use that key19:20
AnMasterVerterok, result?19:24
Verteroksame error19:24
Verterokbut I think I'm close to find the cause :)19:25
mgedminouch19:26
mgedmin21578 mg        18   0 1162m 861m 3456 R   67 43.4  12:01.54 bzr19:26
mgedminthat's me attempting to bzr co svn+ssh from a repo with 5620 revisions19:27
mgedminand it fails with bzr: ERROR: mismatched lock context and write group after 18 minutes19:27
mgedmina gig of ram is a bit excessive for < 30 megs of source code19:28
mgedminfwiw git-svn is also unable to cope with this repo, if that's any consolation19:28
LarstiQmgedmin: http://subversion.tigris.org/issues/show_bug.cgi?id=305219:30
mgedminfixed 3 days ago, yay19:33
LarstiQmgedmin: and possibly in 1.4.719:34
mgedmingutsy has 1.4.4dfsg1-1ubuntu319:34
LarstiQmgedmin: 1.4.7 is still in the release process19:34
datomgedmin, LarstiQ: jelmer commited to bzr-svn code to workaround a  memory leak in the bindings (see r806). maybe just running bzr-svn from the branch will help.19:36
mgedminwhich branch?19:36
VerterokAnMaster: I just find  workaround for the erro ;)19:37
datomgedmin: http://people.samba.org/bzr/jelmer/bzr-svn/0.4/19:37
AnMasterVerterok, you found one?19:37
datomgedmin: cd ~/.bazaar/plugins && bzr get http://people.samba.org/bzr/jelmer/bzr-svn/0.4 svn19:37
jelmerThe workaround in bzr-svn itself only works around the main memory leak19:38
datoaha19:38
jelmerthe fix in subversion upstream fixes all leaks19:38
mgedminis there more than one?19:38
mgedminsounds fun19:38
VerterokAnMaster: in backend.py add define a top level/global variable: version = '0.2'19:38
VerterokAnMaster: that should do the trick :)19:38
* mgedmin upgraded ram to 2 gigs just last week19:38
AnMasterI will try it shortly, got some telephone calls to make and such19:38
jelmerhowever, you probably won't notice the others leaks because they're quite small19:38
Verterokok19:39
mgedmin16 minutes and BAM!20:05
mgedminbzr: ERROR: exceptions.TypeError: int argument required20:05
mgedminhttps://bugs.launchpad.net/bzr/+bug/17814920:08
ubotuLaunchpad bug 178149 in bzr "bzr co svn+ssh:/// gets a TypeError" [Undecided,New]20:08
luksthat looks like a bug in bzr-svn, not bzr20:12
jelmermgedmin, yeah, I just reassigned20:12
mgedminsorry, I just clicked on the "please report this bug here" link20:13
mgedminwithout paying much attention20:13
jelmerno worries20:13
jelmermgedmin, Any chance you can run it again with BZR_PDB=1 set?20:13
mgedminsure20:13
mgedminthat was quick20:14
mgedminbzr: ERROR: File exists: u'/home/mg/tmp/trunk/.bzr'20:14
mgedminheh, I typed du when I meant rm -rf20:14
mgedmin(fwiw the old checkout left after the crash was 48 megs)20:15
mgedminI probably shouldn't say checkout given that it's a full-fledged bzr branch, no?20:15
mgedminwait, I did bzr co, not bzr get20:15
jelmercheckout is the appropriate term20:15
jelmerthe other thing is "lightweight checkout" which is just a working tree20:15
jelmerwithout a full-fledged branch20:16
jelmermgedmin: Are you using the 0.4 branch?20:16
mgedminlate saturday evening -> brain not at its best20:16
mgedminyes, 0.4 branch20:16
mgedminbzr revno says 82220:16
jelmeryep, that's the latest20:19
mgedmin(Pdb)20:33
mgedmin/usr/lib/python2.5/site-packages/bzrlib/xml5.py(216)write_inventory()20:33
mgedminie.text_size is None20:33
mgedminwhich seems interesting to me20:34
mgedminie is an InventoryFile, and it seems to be a symlink in subversion20:34
mgedminyep, that revision added a symlink to the svn repo20:35
mgedmindoes bzr-svn support symlinks?20:35
mgedminie.kind == 'file'20:35
jelmerwas this a revision pushed by bzr-svn ?20:36
mgedminno20:37
mgedminbut I've had trouble with symlinks in that svn repo before20:37
mgedminsymlinks suddenly becoming plain files with 'link ../../lalala' inside20:37
mgedminand svn st not noticing anything strange20:37
mgedminsvn revert failing to fix the problem20:37
mgedminbut rm'ing and svn up'ing would fix the problem20:38
mgedminin the end I removed all symlinks and replaced them with copies20:38
jelmerSymlinks in Subversion are basically regular files with "link ../foo" inside20:39
jelmerand a special property "svn:special" set to "*"20:39
mgedminand a special property20:39
mgedminyes20:39
mgedminsvn proplist -r url-to-that-file gives me an empty list20:39
mgedminweird20:39
jelmerare you still in the debugger?20:40
jelmercan you paste the contents of ie?20:40
mgedminyes20:40
mgedminInventoryFile('6777@1f28630d-58db-0310-90fc-ab02c05bae6f:trunk:team%2Fbrowser%2Ftexts%2Fspelling.tt', u'spelling.tt', parent_id='1990@1f28630d-58db-0310-90fc-ab02c05bae6f:trunk:team%2Fbrowser%2Ftexts', sha1=None, len=None)20:40
jelmerand ie.kind == 'file' ?20:41
mgedminyes20:41
mgedminaha20:41
mgedminsvn log on that file gives me two revisions:20:41
mgedmin6777 where I added the symlink20:42
mgedminand 6779 where I manually set svn:special to "*"20:42
mgedminbecause svn proplist in my working directory showed it20:42
mgedminbut svn proplist in a fresh checkout didn't20:42
jelmerah20:42
mgedminI don't know how I managed to convince svn to commit it this way to the repo20:43
mgedminIIRC I once spent an afternoon trying to recreate any of my symlink problems with svn so I could file a proper bug report20:43
jelmerwhat does "svn cat -r6779 <that-file>" show?20:44
mgedminbut I failed at that20:44
mgedminsvn cat of both 6779 and 6777 show "link ../../../threesixty/browser/texts/spelling.tt" (no trailing newline)20:44
jelmerI think I know what the problem is20:46
jelmerbzr-svn supports changing the kind of a file20:46
jelmerbut only if the contents of that file also change20:46
mgedminheh20:47
jelmerthat usually always happens,  because you don't tend to have files that contain "link .../..," that you then turn into a symlink20:47
mgedminnot by choice, no20:47
* jelmer sees if he can reproduce in a bzr-svn testcase20:47
abentleyAh, heh.  Tricky.20:48
abentleyI had to deal with that issue when writing _iter_changes, too.20:48
jelmeryeah, these are really funny corner cases20:59
jelmerit looks like subversion doesn't allow kind changes in general, it just requires you to delete and re-add20:59
jelmerhowever, Marius somehow seems to've worked around their usual checks :-)20:59
jelmermgedmin, the patch at http://samba.org/~jelmer/bzr-svn-ensure-kind.diff may help21:02
* mgedmin whistles nonchalantly21:02
jelmerit's untested as I haven't found a way to make svn stop complaining about changes to svn:special21:02
jelmerif you still remember how you managed that, I'm interested to hear about it :-)21:03
mgedminI can't remember what I don't know :/21:03
mgedminit's somewhat unfair how bugs in svn make bzr-svn look bad21:07
jelmerheh, yeah21:08
mgedminAs others have pointed out in stronger terms, I’m not a physicist. (On the other hand, the gentleman linked to in the previous sentence is not correct about my being paid by the NSA to discredit Canadian quantum computing efforts: it’s actually the GCHQ and the Mossad.)21:16
mgedmin    -- http://scottaaronson.com/blog/21:16
mgedminjelmer: nope, that patch doesn't fix the problem21:24
mgedminsame error in same place21:25
mgedminI'll try to create a small svn repo with the same sort of kind change21:26
jelmerare you sure? I just reproduced the problem here and the patch seems to fix the problem21:26
mgedminif I feel bored during the holidays21:26
* mgedmin is staring at the pdb prompt21:26
* mgedmin runs bzr diff in ~/.bazaar/plugins/svn21:27
jelmernow also committed as 82321:28
* mgedmin runs bzr pull21:30
mgedminyep, I had that patch applied, and bzr pull merged it cleanly21:30
mgedminyet ie.kind == 'file'21:31
mgedminnm, it's not like it's an urgent problem for me21:31
mgedminfor a while yet I've been investigating bzr and bzr-svn, waiting until switching to it becomes pain-free21:31
mgedminthis was just another of those idle curiosity attempts21:32
jelmermgedmin: well, it'd be nice to get a testcase done now21:34
* mgedmin wrestles with svnadmin dump21:39
mgedminI don't get it21:41
mgedminrev 6777 was a tiny one that added 4 lines to one text file and added one symlink21:41
mgedminyet svnadmin dump -r 6777 produces who-knows-what21:42
mgedminoh, right21:42
mgedminI forgot the --incremental21:42
mgedminhere's what svnadmin dump says: http://bzr.pastey.net/7941121:43
mgedminNode-action: replace21:43
mgedminno properties21:43
mgedminhaha21:44
jelmerre21:45
mgedminI know how I replaced that file:21:45
mgedmincd workingdir; svn rm regularfile; ln -s target regularfile; svn add regularfile; svn ci -m "replace file with symlink"21:45
mgedminhm, but it works fine when I try it today21:46
mgedminthe original commit was on 2007-11-20, so I used the same version of svn then (the one in gutsy)21:47
mgedminweird21:48
jelmerhmm, so the new file that replaced the original didn't actually have svn:special set?21:48
mgedminin the real repo -- didn't21:48
mgedminin my test repo -- did21:48
jelmerdid r6778?21:52
mgedminhttp://bzr.pastey.net/7941221:53
mgedmin6778 changed two unrelated files21:54
mgedmin6779 changed just the svn props21:54
mgedminfwiw the repository is version '3'21:54
mgedminwhile svn 1.4 introduced version '5'21:54
mgedminI never did the dump/reload to convert it21:54
jelmerthe <...> in the bit you just pasted were the contents of the file?21:54
mgedminno, that was the commit message and unrelated metadata21:55
mgedminit's possible that I did the svn propset svn:special '*' with a svn 1.3 client (on ubuntu dapper)21:56
mgedminsvn 1.4 from ubuntu gutsy refuses to commit that propset21:56
mgedminsadly svn metadata doesn't record the client version or the hostname21:56
jelmeryou may be able to make a change using a svndump21:57
mgedminI suppose so21:58
mgedminbut "don't fix what ain't broke" applies here -- svn seems to work fine with it21:59
mgedminit'll be something to keep in mind when we eventually decide to migrate to another tool21:59
jelmermgedmin, any chance you can paste the relevant bit of the svndump from 6777?22:04
mgedminwhat is the relevant bit?22:05
mgedminI already pasted  http://bzr.pastey.net/7941122:05
mgedminit's from 677722:05
jelmerah, thanks22:05
jelmerand 6778 didn't change this file?22:08
mgedminno22:10
mgedminbut a later revision did22:10
mgedminno, actually not22:11
mgedminI thought I replaced that symlink with a regular file22:11
mgedminI didn't22:11
mgedminit's still a symlink22:11
mgedminsvn log on it shows only two revisions22:11
mgedminforget whatever I said about svn rm regularfile; ln -s; svn add regularfile ---- that was a completely different one in another part of the source tree22:12
mgedminit is possible though that I svn added a regular file, and then changed my mind and silently replaced it with a symlink before committing22:12
jelmerah, ok22:13
jelmermgedmin: Btw, when you retried with the patch, did you blow away the bzr repository you were fetching into?22:14
mgedminyes22:14
mgedminbzr aborts very early if I don't do that anyway22:14
mgedminwhat, bzr-svn won't allow me to check out a subtree?22:15
mgedminhow un-svn-like22:15
mgedminI wanted to try again without waiting for 15 minutes22:15
jelmertry removing ~/.bazaar/subversion.conf and trying again22:15
jelmerthat's a bit of a hack, as bzr doesn't have much of a ui for checking out subtrees yet22:16
mgedmin33 revisions, 9 seconds, no errors22:16
jelmerand that included the problematic file?22:16
mgedminyes22:16
mgedminit's a broken symlink22:17
mgedminbut if I try to do that with the parent directory, boom22:17
mgedminsame error after 16 seconds22:17
mgedmininteresting, isn't it?22:18
mgedminbzr co svn+ssh://.../trunk/team/browser/texts succeeds22:18
mgedminbzr co svn+ssh://.../trunk/team/browser fails22:18
jelmeryeah, that's really odd22:18
mgedminthe inventory file object on the failure refers to trunk/team/browser/texts/spelling.tt22:18
mgedminwait, this is interesting22:19
mgedminah, no it isn't22:19
mgedminI just saw a : instead of a %2F22:19
mgedminand then realized it's how bzr replaces the branch name from the directory name22:19
mgedmins/replaces/separates/22:19
mgedmins/realized/guessed/22:19
``Cubehello22:21
``Cubeim a tango artist22:21
``Cubea long time ago, someone from you asked me to create some icons22:21
``CubeI created some, but they, (sorry for that languaged) sucked22:21
``Cubenow, I'd like to retry22:21
jelmerhi ``Cube22:22
``Cubehello jelmer22:22
jelmer``Cube: do you remember who you had contact with earlier?22:22
``Cubewell22:22
* mgedmin sometimes dreams about asking a tango artist to create some icons for gtimelog22:22
``Cubeill look22:22
``Cubegtimelog?22:22
``Cubetell me what icons you need!22:22
mgedminhttp://mg.pov.lt/gtimelog/22:22
``Cubeyep22:23
``Cubegot him22:23
mgedminan application icon would be enough22:23
``Cube(mgedmin, later, ok?)22:23
``Cubeoh, I love making app icons22:23
mgedminsure22:23
``Cubeill do that22:23
mgedminI wish I had talent for making icons...22:23
``Cubebut for now, first id like to finish this ok?22:23
``Cube:P22:23
mgedminsure22:23
``CubeI don't even know if I have, we will see :P22:23
``Cubeill add you...22:23
``Cubeok22:24
``Cubejelmer: Daniel Schierbek22:24
``Cube*Schierbeck22:24
jelmerah, ok22:24
``Cubeknow him, right?22:24
jelmeryep22:24
jelmerHe's asked about bzr-gtk I presume?22:24
``CubeI don't know22:24
``Cubeits a long time ago now22:24
``Cubetell him these icons were really bad22:24
``CubeI had actually no tango skill yet22:24
``CubeI hope I have now :P22:25
``Cubewe will see22:25
``CubeI need a list of icons and what sizes you need22:25
jelmerHaving better icons would be very nice! :-)22:25
* mgedmin checks whether his email is on that page... yep, it's there at the bottom22:25
``Cubeand I'd love to be the author of 'em22:25
jelmer``Cube: Do you need the list right now? It would be nice to bring up on the bzr-gtk mailing list22:26
``Cubesure22:26
``Cubewell :D22:26
``CubeI reinstalled my os today22:26
``Cubehave no mail app installed yet22:26
``CubeI don't need the list right now, but having it would be nice22:27
``Cubeso, if I can't start with bazaar now22:27
``Cubemgedmin: it's time for you!22:28
mgedminuh oh22:28
``Cubehehe ;)22:28
``Cubeah I see you're the author22:29
``Cubedo you already have an idea for the icon?22:29
``Cubesomething with a clock?22:29
``Cubemaybe a list with a clock?22:29
mgedminyes, currently I stol^H^H^H *borrowed* one of the GNOME icons that had a clock in it22:29
``CubeI think this is the main idea of the program -> to track (~list) your time?22:29
mgedminyes22:29
``Cubewould that be a good idea?22:30
mgedminyes22:30
mgedminoh, my, it's past midnight22:30
mgedmintime to go home22:30
* mgedmin at work, but not precisely working ;)22:30
``Cube;)22:30
* ``Cube asks where there will be a windows version of your program?22:30
mgedminmany thanks for your kind offer22:30
``Cubeuh22:30
mgedminit's written in python, and works on windows22:31
``Cubedon't thank to early, maybe the icon will SUCK22:31
``Cubeoh, cool22:31
mgedminbut there's no convenient installer right now22:31
mgedminso you have to download python and pygtk manually22:31
``Cubehmm ok22:31
mgedminmaybe one day I'll figure out how to use py2exe22:31
``Cubeis there any alternative to your program?22:31
mgedminlots22:31
``Cubeoh :D22:31
mgedmin:)22:31
``Cubeany example?22:32
mgedminbut when I was looking for some, I was looking for linux ones22:32
mgedminso if you want a windows one, I can't help you22:32
``Cubea nice, open source, well designed one22:32
``Cubeoh yes, sure22:32
``CubeI mean, your if nice of course too22:32
TFKylehmm, that reminds me, need to figure out how to extend py2exe so it gets the newest gtk runtime automatically22:32
``Cubejust asking22:32
``Cubeok22:32
``Cubeim gona start desning22:32
``Cubeare you gonna stay long here, mgedmin?22:32
mgedminhm does bzr-gtk have a convenient windows installer?22:32
mgedminI might want to steal some ideas22:33
mgedmin``Cube: not really22:33
``Cubehmm ok22:33
* mgedmin a bit sleepy22:33
jelmerhmm22:33
* ``Cube too22:33
* jelmer gives gtimelog a try22:33
jelmerI've actually been looking for something like this22:33
* ``Cube also thinks gtimelog ain't a bad idea22:34
jelmerstrange way to come across it now :-)22:34
* ``Cube is going to use it maybe...22:34
``Cubebut first icon!22:34
mgedminI've heard some people at canonical are using it22:34
* fullermd will stick with vi and flat-files :p22:34
mgedminit's a bit ironic that I stopped using it myself22:34
mgedmin(low productivity -> sad-looking reports -> depression -> even lower productivity)22:34
``Cubejuhu! 30 minutes and its my birthday!22:34
mgedmin(bad vicious cycle)22:34
mgedmin``Cube: congratulations!22:35
``Cube:P thanks22:35
jelmermgedmin: Thanks for the help tracking down at least one bug in bzr-svn22:36
mgedminany time you want a broken svn repo, come to me22:36
mgedminhave I told about the one (a repo of my home directory) that made svn loop forever eating more and more memory?22:36
mgedminah, that was fun22:36
jelmerwow22:36
jelmerHow did you manage to get it to do that?22:37
mgedminsomehow the revision graph became cyclic22:37
* mgedmin just uses stuff, and stuff usually breaks on its own22:37
jelmer:-)22:37
mgedminmaybe not the revision graph, just the delta-based storage for the svn:ignore property on /22:38
mgedminrev X is rev Y plus this change, while rev Y is rev X plus this other change22:38
* mgedmin had to edit C code to unbreak the repo22:38
* mgedmin converted all his repos from bdb to fsfs the next day22:38
mgedmin``Cube: if you ever get bored, http://mg.pov.lt/pyspacewar/ also could use an icon -- and it runs on windows too, if you install pygame22:40
mgedminbye, all!22:40
``Cubesee you22:40
jelmergoodnight Marius22:40
deepjoyHi is there anywhere I can see more detailed development targets and status than in launchpad Blueprints?23:29
Verterokdeepjoy: the other place I look for info is http://bazaar-vcs.org/23:32
jelmerdeepjoy: The mailing list should give you some indication of what people are working on23:37
jelmerdeepjoy: Are you looking for development targets in general or rather what the plans are for particular targets?23:38
Verterokjelmer: do have a minute to chat about: Bug #161830 ?23:51
ubotuLaunchpad bug 161830 in bzr-svn "log should show subversion revision numbers as well as branch/bzr revision info" [Wishlist,Triaged] https://launchpad.net/bugs/16183023:51
jelmersure23:52
Verterokas I have been working a bit with log formatters for the xmloutput plugin23:53
Verteroka simple solution to that bug could be to add a show_properties function, just like the LogFormatter have a begin_log and end_log functions23:54
Verterokthe only thing I didn't figured out yet is where the call to show_properties should go23:56
jelmerVerterok: and show_properties() would get a dictionary or something?23:56
Verterokactually it's a method of LogFormatter so it have access to the revision23:57
Verterokand to all the properties in it23:57
Verterokbut it should be better that show_propeties get a dict with the right properties. i.e: without branch-nick because log show it later23:59

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