/srv/irclogs.ubuntu.com/2008/11/30/#bzr.txt

CaMason_ack I just did a revert when I didn't mean to. Can I undo that?00:01
CaMason_nv I found a way to fix it00:02
ym1I would like to know if there is a place where the installation/configuration of loggerhead is documented00:17
ym1In fact I am looking for a bzr branch explorer00:18
ym1Based on what I read on Internet it seems that loggerhead is the defacto standard for this00:18
=== toytoy_ is now known as toytoy
GPHemsleyis there a way to convert an existing repository to use --no-trees?02:28
evarlastyes, bzr remove-tree02:30
ryanakcaCould one have a ``safepoint'' commit that doesn't show up in the commit log, but only acts as an ``Oh !&^#%, why did I do that... at least I can revert to what I had 5 minutes ago instead of having to revert to the previous commit''... or should I just commit more often?03:36
ryanakcaUse case: When you're trying to fix something through trial and error03:37
spivryanakca: well, you can commit and then later uncommit then commit again.04:49
spivryanakca: But really, why not just keep the commit?04:49
ryanakcaspiv: well, if you're going by trial and error, you might endup with 3-4 ``safepoints'' that are absolute rubbish and have no use in a commit log, at least not in a public one :)04:52
spivryanakca: maybe.  They might not be totally worthless, and there isn't much harm from leaving them there.04:54
ryanakcaspiv: *nod*04:54
spivryanakca: especially if this is happening on a branch, when the branch is merged to trunk the details of how that branch evolved aren't very prominent in the history.04:55
spivIf you're working directly on trunk then that's a different matter, but then I'd argue you should be taking advantage of a DVCS and using branches instead :)04:56
spivYou could even manage your experimental work on your branch as another branch, but that workflow is probably a bit too heavyweight for what you're after.04:56
ryanakcaspiv: well, I'm the only one working on it at the moment... but it will eventually end up being used in my school, and most likely other schools in my school board...05:04
ryanakcaspiv: Anyways, I probably ought to branch when I go by trial and error :)05:04
ryanakcaG'night :)05:04
spivryanakca: g'afternoon ;)05:04
spiv(It's a bright and sunny 4pm here in Sydney)05:04
=== Spaz is now known as Spazscissors
=== Spazscissors is now known as Spaznuclearbomb
=== Spaznuclearbomb is now known as Spaz
* thumper votes for default log to be short (no merge details)08:06
spivthumper: bzr alias log="log --short"08:07
thumperspiv: yes I know#08:07
spiv:)08:07
thumperspiv: I'm thinking of all the new users08:07
thumperall those people who go "gee bzr log is slow compared to xyz"08:08
spiv"Won't somebody think of the newbies?"08:08
thumperspiv: that way people can go "bzr log --merges" to show merges (or something)08:08
spiv(Sunday afternoon perhaps not the best time to get a completely serious opinion from me)08:08
thumperand they can take the hit of the graph sort or whatever08:09
* thumper was reading traceback08:09
spivWe don't get many people saying the log is slow (although we do get some).  And arguably the solution there is to make it fast, not change the output.08:10
thumperspiv: yeah, but one is easier and allows for better comparison of apples08:11
spivI do think the default log should make the existence of merges visible, so that the way merges are tracked is reasonably discoverable.08:11
* thumper goes to make brownies08:11
spivWell, we're not trying to build a tool that's the same as $other_vcs, we're trying to build a better tool :)08:11
spivSo I don't think that's automatically a good reason to change how we work.08:11
hiredmana better tool that interoperates so I can pull stuff from github?08:12
spivPersonally I use --line most of the time.08:12
thumperI think someone should check to see who actually cares to see the merges by default08:12
thumperspiv: I use --line too08:12
thumperhiredman: that is in progress08:12
* thumper really leaves now08:13
hiredmanI know08:13
hiredmanI am just being an asshole today08:13
spivAnd then "bzr viz" for more in-depth exploration of history, but not every user will have the bzr-gtk plugin (or the ability to install it).08:13
=== jszakmeister is now known as jszakmeister|awa
epsyHi, how do I cleanup the .~n~ files?13:27
AfC$ find . -name '*~*'13:43
AfC$ find . -name '*~*' | xargs rm13:43
=== Spaz is now known as Kittens
marcus-bbetter: find . -name "*~*" -print0 | xargs -0 rm13:50
epsybrb13:56
LarstiQbeuno: hmm, I wouldn't say I'm the mastermind14:22
LarstiQmarcus-b: hey! :)14:22
LarstiQepsy, marcus-b: `bzr clean-tree --detritus` would also remove the .~n~ files14:24
marcus-bLarstiQ: I don't know bzr well, but I do know my unix tools :)14:32
* LarstiQ nods14:32
pygihi hi15:05
DimmuRHello i'm trying to run bzr+ssh. I've created directory on server, and i have entry in authorized-keys to copy files without giving passwords, but when i try to init repo i get error: http://wklej.to/MV3 (when i use scp to copy files it works)15:14
=== fta_ is now known as fta
=== jszakmeister is now known as jszakmeister|awa
CaMason_I just got a commit error regarding x11 initialisation whilst commiting via SSH16:01
CaMason_I installed extdiff earlier. Perhaps that's causing the issues?16:01
dashI've got a large branch I've cloned from a remote source, and now i'm wishing I'd created a repository for it to go in. Is too late? Can I create a repo without having to re-fetch all that history?16:11
pborcreate a new repo and then fetch from the one you cloned locally16:17
dashoh. of course :)16:17
CaMason_my commit actions etc are causing "X11 initialization failed" errors when used via SSH16:17
pborCaMason_: no idea, sorry16:18
CaMason_it was a problem with dbus. Removing it, as I don't use it16:22
ryanakcamarcus-b: <offtopic> 'find . -name "*~*" -print0 | xargs -0 rm'    vs    'find . -name "*~*" -exec rm {} \;'    ? </offtopic16:28
dashHmm =/16:44
dashI am attempting to branch from an svn repo on sourceforge, using bzr-svn16:44
dashand i'm consistently getting "Could not read response body: Connection reset by peer" after several minutes16:45
dashis there something I can do to make bzr not give up so easily? :)16:45
jelmerdash, it's the svn libraries that are giving up16:45
jelmerdash, are you fetching over https?16:45
dashjelmer: no.16:45
jelmeryour best bet is probably to wait until the sf svn servers are less heavily loaded16:46
dashI suspect a contributing factor is that /trunk (which I am branching from) in this repository was moved from a different url in an early revision16:47
dashdifferent path, I mean16:47
jelmerthat shouldn't be relevant16:47
dashwell16:47
dashit looks like bzr-svn does a lot of PROPFINDs for nonexistent paths16:47
dashI didn't know if that mattered.16:47
jelmeryou mean it's actually getting 404's back?16:48
dashyes16:48
jelmerwhat's the URL you're trying to import?16:49
dash http://posterita.svn.sourceforge.net/svnroot/posterita/trunk16:49
dashso i'm seeing a lot of things like "PROPFIND /svnroot/posterita/trial/posterita"16:51
dashto which 404s are given16:51
dashI'm just guessing that this is making it take longer, so make it have more chance to disconnect :)16:52
jelmerit doesn't ignore unexpected errors like that, I suspect that's all happening deep down in the svn libraries16:54
dashright16:55
jelmerdash, it seems to be working with the 0.5 branch for me, though it's very slow because of sf17:22
dashaha, the secret version ;)17:23
dashwell i'm not in a hurry, I just want to get it eventually.17:23
dashhmm if that were true I would just wait until 0.5 was released17:25
dashI guess I am in a hurry, a little.17:26
dashjelmer: so, think I should try 0.5?17:40
lifelessmoin19:37
thumperah lifeless, you back this week right?20:33
thumperlifeless: can I have a quick voice call with you?20:35
lifelesssure20:37
lifelessskype, now?20:37
thumperok20:38
lifeless?win 3820:41
=== tetha_ is now known as tetha
lifelessPeng: I wonder if I could convince you to do me a favour?21:11
Peng_lifeless: I dunno. What's the favor? :)21:11
lifelessPeng: to decide on a good batch size, I need a graph with two measurements, for different batch sizes, and different project sizes21:11
lifelessthe measurements are memory peak, and time21:11
Peng_I did that for a few different sizes on a copy of bzr.dev.21:12
lifelessthe axes are group_size and project_size21:12
lifelessPeng_: yah, which I am thankful for, and is why I know I need to fix it21:12
lifelessPeng_: but I don't currently know things like 'how bad is it at 1000 on openoffice'21:13
lifelessPeng_: nor what the minima for bzr.dev is.21:13
Peng_OpenOffice.org? I imagine that's "Peng's machine would die swapping" bad. :P21:13
lifelessPeng_: so I'm thinking of a little script to reindex a branch several times with a different group size, and report the results in csv or similar output21:13
lifelessPeng_: of course, I'll run this on a canonical datacentre machine21:14
lifelessPeng_: the favour is to write the script21:14
Peng_Ah.21:14
lifelessthen I can throw it at ooo, at mysql, at bzr, at bzrtools21:15
lifelessPeng_: if you are interested this would be really useful.21:16
Peng_I'm sure I could write some little hack of a script, but I dunno if you'd like it. :P21:18
Peng_I guess it would need to be possible to set group_size. I just edited index.py a bunch of times.21:18
lifelessPeng_: just has to work. Heck, I was considering a massive printf to replace the index.py file21:19
lifelessPeng_: sed would probably be nicer :P21:19
Peng_Or making it an attribute on Index objects that you could change from Python.21:22
lifelesshi poolie21:23
lifelessPeng_: sure.21:23
lifelessPeng_: or even - shock - a global21:23
lifelessso you don't have to get access to a specific index21:24
Peng_Oh, different methods have different group_sizes.21:25
lifelessyeah there are two21:26
lifelessthere is 'how many revisions', where the inventory text size will chew up memory21:26
lifelessand there is 'how many file versions at once', where text sizes (isos!) will chew up memory21:27
Peng_I've never changed it in _terms_for_file_terms.21:29
lifelesssure21:29
lifelesswhats in my head is to not guess about what works well for users21:29
lifelessbut to graph it out, and choose the place that works best21:29
lifelessthe two group sizes are independent21:30
lifelesswell, not quite.21:30
Peng_Well...do you want to test both, or just the _index_revisions one?21:30
lifelessthe file terms is capped by the index revisions one (can't index morefile changes than occured in a given set of revisions)21:30
lifelessI'd start with the index revisions one, that should give plenty of data21:30
lifelessthough it may be confounded (a large index revisions one might use little memory, if the file terms one is driving the peak)21:31
mwhudsondoes anyone have any recommendations for good conflict resolution tools?21:32
lifelessguns21:33
lifelesslots and lots of guns21:33
lifelessIt worked in the matrix.21:33
mwhudsonhmm21:33
mwhudsoni think i want meld and a much larger monitor21:34
bob2sdiff/ediff in emacs is nice if you already use emacs21:35
mwhudsonediff confuses me a bit21:36
mwhudsonwhat's sdiff?21:36
mwhudsoni think the problem is that one branch has moved things around and the other has made small edits to the things being moved21:36
bob2simple mode that highlights in-file conflicts, with some keybindings to pick one or the other or both for each hunk21:37
bob2ah, out of that league, then21:38
lifelessspiv: shall we converse?22:08
poolielifeless: spiv is away at osdc today22:18
poolieyou and i could talk though22:18
lifelessoh!22:18
lifelessdidn't realise osdc was here22:18
lifelessshould I go down?22:18
lifelesspoolie: you're on leave no? but perhaps a quick call could be useful22:19
lifelesspoolie: I'll ring your house?22:19
spmpoolie: osdc doesn't start till tomorrow? Or is spiv on the org committee or similar?22:19
poolieyes, call22:20
mwhudsonosdc starts for realz on wes22:20
mwhudsonweds22:20
mwhudsonspiv just took the week off anyway i think22:21
poolieplanning to look at bug 30269822:26
ubottuLaunchpad bug 302698 in bzr ""BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x2e23f90> has delta references to items not in its repository:" on pushing a stacked branch" [High,Confirmed] https://launchpad.net/bugs/30269822:26
Peng_lifeless: OK, I wrote an evil little script for the bzr-search thing. I hope you weren't joking about running "sed" over index.py. ;)22:44
Peng_lifeless: Also, if it gets interrupted, things will probably be left in a horrible mess.22:44
mathrickhmm, does anyone here know (and is willing to explain) the difference between a transplant and a normal merge, or do I need to pester #hg?22:44
Peng_mathrick: AIUI, transplants can cherrypick, but it'll create a different revision with different revids and parents and whatever.22:46
Peng_(if we're talking about hg)22:46
mathrickPeng_: hmm, I'll guess I'll just ask the hg guys then23:00
Peng_Good idea. :)23:02
lifelessPeng_: thanks!23:14
lifelesspoolie: I need to shoot off to the doctors too today, I forgot to mention it in all the kufuffle23:15
mathrickany idea how hard it'd be to implement "add-on branches" (as mentioned in https://lists.ubuntu.com/archives/bazaar/2008q4/050022.html )? It strikes me as something you'd really want to have to keep your distro work in sync with upstream23:16
mathrickor is there something I'm not seeing that makes it not a good / redundant idea?23:16
Peng_lifeless: http://paste.pocoo.org/show/YkaM3FCdH5ILeNUOlV0h/ -- did I mention that it's an evil dirty hack and you probably won't like it? :)23:19
* Peng_ is trying to lower expectations as much as possible.23:19
pooliemathrick: it's probably not technically super hard, more a matter of deciding how you want it to work23:19
poolierobert's idea of having marks of files or regions would probably be good23:19
mathrickpoolie: oh, link?23:20
mathrickalso, I was thinking about strands of development a'la threads in loom23:20
mathrickjust with the opposite effect on your working area23:20
lifelessmathrick: using a loom and cherrypicking down would do it23:20
mathricklifeless: could you elaborate? I tried to use loom, but decided it does exactly what I don't want with the history when I change threads23:21
lifelessmathrick: well the root problem you have is that its impossible to do a full merge/push from 'development' to 'mainline' *excluding data*.23:21
mathrickyes23:21
lifelessfull merge/push always include everything committed23:21
lifelessso you have to cherrypick repeated - do merges specifying paths to merge, or specific revisions23:22
mathrickyup23:23
mathrickI could do it using loom by hand, but it'd require me to switch between threads to get "development" and "testing" views all the time, which is a pain23:25
lifelessPeng_: sweet23:25
mathrickie. I couldn't actually run any code when in development thread, and I couldn't edit any when in testing thread23:25
lifelessmathrick: I don't understand why you couldn't run code23:26
mathricklifeless: sec, lemme sketch that23:26
mathricklifeless: http://pastebin.com/m23f854c823:33
lifelessmathrick: edit and commit in testing23:37
mathricklifeless: but then the changes will be only visible in testing, which means the pushes won't see them. They will be treated as if they were my local conf changes23:37
lifelessmathrick: when you are done, you can go to main, merge -r testing path1 path223:37
mathrickhmm, lemme parse that23:38
mathrickwhat's path1 and path2?23:38
lifelessmathrick: you have to cherry pick testing to main, regardless of the toolchain you use, for your stated desire23:38
lifelesspaths that you want to merge within the branch23:38
lifelessanother way of spelling it is23:38
lifelessswitch main; merge -r thread:testing23:38
lifelessbzr revert --forget-merges23:38
lifelessbzr revert server.conf23:39
lifelessbzr commit -m 'whatever'23:39
lifelessmathrick: have you considered 'shelve' though?23:39
mathrickright, but that's exactly what I wanted to avoid. It's heaps of manual work, and if I forget it only once, I have unwanted commits in the mainline I have to deal with23:39
mathrickhence the desire to have a tool which keeps track of what I want and don't want to merge for me23:40
mathrickloom is very nice for when you only merge downstream, but it fails to enable a nice workflow for pushes to the upstream without polluting them with distro patches23:41
lifelessmathrick: so, loom isn't finished; I think this would be great to have streamlined in loom23:41
lifelessthere are missing components in bzr core to do a *great* job, but a servicable one should be doable23:41
mathricklifeless: right, I'd love to have it in loom, although it'd really turn it upside down in some regards23:42
lifelessthe current theory is that you would keep one or more threads for 'never send upstream'23:42
lifelessas for how you do the commits, I'd like a commit like 'commit -t main'23:42
lifelessto commit a change to a specific thread23:42
mathrickright23:43
lifelessit probably would want to merge-it-up on the fly23:43
mathrickwhat does merge-it-up mean?23:43
mathricknow, for something completely different, I have a repo that bzr serve completely dies on -- it uses 500+ MB RAM, then dies with some exceptions when clients try to access the repo. How do I debug it?23:44
lifelessmerge each thread to the one above, so that the change does not appear as a change any more23:44
mathrickI guess I'll start for finding 1.9 debs for intrepid23:44
lifelessmathrick: well, firstly, newer bzr has fixed some memory issues from 1.6/1.7/1.823:45
lifelessmathrick: file a bug with the exceptions though23:45
mathricklifeless: you mean before I upgrade to 1.9?23:46
lifelessyah23:46
mathrickok23:46
lifelessif the server side is dying23:46
lifeless(and the server is already running 1.9)23:46
mathrickno, that's the 1.623:46
lifelessupgrade the server first then23:46
mathrickI'm trying to serve from my machine23:46
lifelessthere are debs in the bzr ppa23:47
mathrickoh, interesting23:53
mathrickit dies right away now23:53
mathrickhttp://pastebin.com/d73b4f03923:54
lifelessmathrick: ugh23:55
lifelessmathrick: uhm, can you run with BZR_PDB=123:55
mathricksure23:55
lifelessthen you can print self._sockname23:55
mathrick(Pdb) self._sockname23:56
mathrick('::', 4155, 0, 0)23:56
mathrickhumm23:56
lifelessI'd certainly start by filing a bug, but it does look ... odd23:56
mathrickit's getting an ipv6 socket?23:56
lifelessyeah that would fit23:57
lifelessdefinitely file that bug23:57
mathrickwill do23:57
mathrickstill, it'd be useful if I could serve in the meantime :)23:57
lifelesscomment out that line, or just print the _sockname, rather than prettyising it23:59
lifelesse.g.23:59
lifelessreturn "%s" % self._sockname23:59

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