/srv/irclogs.ubuntu.com/2009/09/24/#bzr.txt

m3gaon karmic, have bzr 1.18-0ubuntu1 and python-paramiko 1.7.4-0.1 installed, trying to pull from sftp url and getting "Unable to import paramiko (required for sftp support): No module named paramiko". Clues?00:03
m3gahmm, did "apt-get install --reinstall python-paramiko" and that fixed it. weird!00:06
Peng_Wasn't there a plan to quiet all of the muttering in groupcompress's _trim_block and _rebuild_block?00:13
Peng_"creating new compressed block on-the-fly in 0.177s 618357 bytes => 293599 bytes" and all.00:13
jelmer"bzr branch hg.hg hg.bzr" now works and takes less than 5 minutes :-)00:19
jelmerit still needs more work (corner cases, tests, memory usage improvements) but the basis is there00:19
Peng_hg -> bzr? Wow.00:20
jelmerPeng_: yep. It's a local conversion though, not sure what it would take to clone a remote hg repo00:21
Peng_Does it use the Mercurial Python library or what?00:22
jelmerPeng_: Yeah00:22
Peng_Very cool. :)00:23
Peng_Is it read-only?00:23
lifelessPeng_: we had it 3 years back, but it bitrotted :)00:27
lifelessjelmer: I'm very glad you've cleaned it up and made it work well00:27
hoelzrohello bzr devs and users, I'm trying to do the following: 'bzr branch lp:gwibber' and I get a strange error00:36
hoelzrobzr: ERROR: Invalid url supplied to transport: "lp:gwibber": OOPS-1362ED1106900:36
ubottuhttps://lp-oops.canonical.com/oops.py/?oopsid=1362ED1106900:36
lifelesslaunchpad is in maintenance at the moment00:37
lifelessthumper: ^ bugworthy?00:37
hoelzroubottu: auth required =(00:37
ubottuError: I am only a bot, please don't think I'm intelligent :)00:37
hoelzrolifeless: I noticed, but the repos are read only, so it should work, right?00:38
zsquarepluscthe lp: shortcut uses the smart server, i guess it would work if you use a http: url manually00:40
zsquarepluscat least that's what i observed last time i had problems being behind a proxy and firewall00:40
lifelesszsquareplusc: thats not really connected to this issue00:41
jelmerpeng_: yeah, it's read-only for now00:41
lifelesshoelzro: yes it should work00:41
mwhudsonlifeless: the lp-resolution problem is already reported00:43
zsquareplusclifeless: my idea was that http should work as it's guaranteed read only. "lp:" doesn't use http i think00:43
mwhudson(reported by me, just after the last rollout)00:43
lifelesszsquareplusc: lp: will use http if you're not logged in, and http still does db access00:43
lifelesszsquareplusc: all of launchpad *should* work in readonly mode, with write *attempts* failing. branching isn't a write attempt.00:43
wgrantBut codehosting is entirely down during read-only mode ATM.00:44
thumperlifeless: LP is in readonly00:47
thumperlifeless: we need better errors00:47
thumperlifeless: so yes, bug worthy00:47
poolieigc: did you see ej around at all?01:13
igcmorning01:34
igcpoolie: I didn't01:34
GPHemsleyI upgraded to 1.18 from 1.14 and I got this error when I ran `bzr version`: "Key 'foreign-mapping-upgrade' already registered"01:49
GPHemsleyUnable to load plugin 'rebase' from '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins'01:49
lifelessyou need to upgrade your plugins too01:52
GPHemsleyI thought I did01:53
GPHemsleylifeless: Doesn't the installer do that?01:54
GPHemsley(Mac OS X 10.4)01:54
meoblast001hi again02:03
meoblast001if you use fast-import to filter a directory out, does it work on all files within it?02:04
GPHemsleyhmm... unusually quiet tonight...02:08
meoblast001hm02:10
lifelessGPHemsley: only the plugins it included; you may have installed others02:11
lifelessGPHemsley: also I think there was a bug in the 1.18 installer or something, now that I think about it02:11
GPHemsleymeh02:11
GPHemsleyI seem to recall that being the case a couple of version ago, too :(02:12
GPHemsleyactually, yeah, this problem was causing trouble the last time I was here02:21
GPHemsleywhen I was trying to get svn-bzr (or bzr-svn, I forget) to work02:21
lifelessyour bzr.log should show the path to the failin import02:22
=== SamB_XP_ is now known as SamB_XP
GPHemsleylifeless: http://gphemsley.pastebin.com/d20033a0a02:24
lifelessGPHemsley: it does look like an old rebase to me02:32
GPHemsleylifeless: It's 0.5.4, from what I can gather02:33
GPHemsleyoh02:34
GPHemsleyhmm02:34
GPHemsleybzr_plugin_version = (0, 5, 4, 'dev', 0)02:34
GPHemsleybzr_compatible_versions = [(1, 14, 0), (1, 15, 0), (1, 16, 0), (1, 17, 0)]02:34
GPHemsleyI may have compiled this myself when I was having the problem with svn02:34
GPHemsleylifeless: WCS, how do I uninstall these plugins?02:40
poolieigc, i'll try to set up the site somewhere on orcadas this afternoon02:42
lifelessGPHemsley: delete the directory02:46
RenatoSilvalifeless: hi, it seems that the diff generated by bzr diff -r ancestor:lp:moin-solenoid on the update-merged branch is exactly the same for -r 22..23 on rebased one :)02:46
GPHemsleyoh, that simple?02:46
lifelessGPHemsley: yes, plugins are discovered bywalking the directory layout on disk02:46
RenatoSilvalifeless: but the problem is: how to make that diff --after merging with trunk-- :(02:47
RenatoSilvalifeless: in the rebased branch, the diff can be extracted from the trunk, even after deleting the feature branch02:48
RenatoSilvalifeless: unsing branch diff, I need to keep all feature branches forever even after merging them into trunk02:49
RenatoSilvaIs there a way to run a bzr diff -r ancestor:$trunk *after merging into trunk*? that is, some command on trunk that will result in the same diff02:50
meoblast001ok, i successfully removed the contents of my examples/ directory from every revision of my project with the fast-import, but how do i actually remove the directory?02:52
meoblast001>.< scratch that, i still have a 10 MB .pack file02:53
RenatoSilvasorry if I'm being unclear, am I?02:53
meoblast001hm, seems like everything is smaller though02:54
lifelessRenatoSilva: it can without rebase too02:54
lifelessRenatoSilva: diff -c -102:54
meoblast001i did this bzr fast-import-filter ame.fi -x examples/ > amethyst-mm/new.fi02:55
meoblast001should i do bzr fast-import-filter ame.fi -x examples/ -x examples > amethyst-mm/new.fi02:55
GPHemsleyIs there a way to edit the information of a commit after it's already been committed?02:56
GPHemsleyspecifically, the committer info02:56
GPHemsley(`bzr whoami`)02:57
meoblast001you can reroll the whole repository, but i think that's overkill02:58
igcpoolie: that would be great. I need to head off around 3pm for a medical appointment but I should be back later02:58
lifelessGPHemsley: imediatelt after you can use uncommit + commit02:58
* igc lunch02:59
RenatoSilvalifeless: oh! it's just a single diff command :)03:00
GPHemsleyexcellent, thanks, lifeless03:01
RenatoSilvalifeless: bzr diff -r 22..23, bzr knows here that 22 is a merge and switch to a branch diff, right03:02
RenatoSilvalifeless: I'll try to understand it later, what matters atm is that it just works :)03:03
RenatoSilvabut because of the clearer history, it still seems to me that rebasing is a good option for "unbranchable" branches :)03:05
meoblast001ugh :/03:18
meoblast001how do you filter out a directory with fast-export03:18
lifelessmeoblast001: I don't know; I'm not answering because I don't know.03:20
lifelessmeoblast001: if the docs don't tell you, file a bug about that; then ask a question on the project :)03:20
meoblast001i read the help page03:20
meoblast001lifeless: i honestly don't know if i'm understanding the docs03:23
idnarI also couldn't figure that out the other day, so I'd go ahead and file the bug03:27
lifelessmeoblast001: if you can't understand it, it needs to be clearer :)03:27
SamBif you can't TELL, they still need to be clearer ;-P03:29
meoblast001i'm not sure if it's actually addressing the point i'm wondering about, or not03:29
meoblast001i don't think it is though03:29
meoblast001i think it's just saying you need a trailing slash on directories (which i did)03:29
lifelessagain, you're not sure. So its a bug.03:32
lifelessplease file it? Pretty please?03:32
meoblast001lifeless: i have to double check things before i file a bug, so i'll reread it again to make sure i didn't just have a "brain fart"03:33
lifelessmeoblast001: we like bugs.03:34
meoblast001ok, i checked it over, i understand it03:34
lifelessmeoblast001: the fact that you can have a brain fart is usually a sign of something we can improve. Please share these opportunities with us!03:34
SamBmeoblast001: well, file one anyway03:34
meoblast001but i think the problem is that it's not deleting the directory03:34
meoblast001only the contents of the directory03:34
meoblast001lifeless: if i file a bug we'll hit 4294967296 bugs03:35
meoblast001and we all know what happens then03:35
RenatoSilvameoblast001: there's another line of thinking where you just file a bug, even if it is invalid. In lp it can be converted to a question/answer. The point here is have a documentation of the issue itself, so that other people can find iformation about the same problem03:35
RenatoSilvameoblast001: for example you file a bug because you want Ubuntu blue. Then it's marked as won't fix. When other people go file the same bug, they'll find that bug and know that it won't be implemented. They can comment and ask please please. Maybe if millions of people do that Ubuntu could become blue someday :)03:36
meoblast001RenatoSilva: i want Ubuntu to be blue to be honest03:38
meoblast001ouch, my eyes03:38
RenatoSilvameoblast001: well, me too :)03:38
meoblast001i want to switch to gNewSense sort of, it's a stripped down Ubuntu03:38
meoblast001i wonder if Canonical would ever make gNewSense official :)03:38
meoblast001they would need permission from it's creators (one of which i know on IRC)03:39
lifelessI'm pretty sure we'd be delighted to be able to stop shipping firmware etc, but its very bad for users to do that at the moment.03:41
meoblast001bad for users to do?03:43
meoblast001someone on Ubuntu brainstorm thinks i'm RMS :P03:44
* RenatoSilva don't want Ubuntu blue, maybe03:44
RenatoSilvais there any way to ignore spaces / tabs /line-break style on bzr diff?03:47
lifelessmeoblast001: users being unable to use their own hardware03:47
lifelessRenatoSilva: content filters can do it; you need to be using 2.0.003:47
meoblast001ah yes03:47
meoblast001i recently had to use a firmware (i switched from NVIDIA to ATI)03:48
meoblast001at least my drivers are freed now :)03:48
RenatoSilvalifeless:   I'm worried about plugin compatibility like bzr-xmloutput and bzr-email03:48
RenatoSilvalifeless: I wonder whether UNIX diff command can do that too, it should I think03:49
RenatoSilvalifeless: if you just s/\r\n/\n, diff will think yo've replaced the file completely, when in fact it is semantically equal03:49
lifelessonly for some languages03:50
lifelessother languages consider them semantically different03:50
lifeless[many of which are 'binary']03:50
RenatoSilvabecause of style of line breaks ? o.O03:50
meoblast001this is so strange03:51
RenatoSilvawell a diff ignoring \s and kind of \n wouldn't be a real diff, e.g. for patching, it's just a nice view of the diff for the user03:52
meoblast001my examples/ directory still exists :/, i wonder if specifying "examples/./" would help?03:52
lifelessmeoblast001: filed the bug ?03:53
meoblast001i'm not sure if it's a bug though03:53
poolielifeless: you asked before 'did i commit a conflict' and i didn't mean to commit a conflict03:54
poolieand now i see spiv has also got conflict markers in his cleanups mp03:54
poolieso i suspect a bug in lp03:55
pooliethumper: ^^03:55
mwhudsonpoolie: merge proposal diffs are merge --preview style diffs now03:55
mwhudsonpoolie: so conflicts are possible03:55
spivHuh.03:56
meoblast001lifeless: so you want me to file a bug?04:04
lifelessyes!04:05
meoblast001even if it might not be one04:05
meoblast001on bazaar?04:05
meoblast001i should probably do it on this plugin04:05
lifelessmwhudson: thumper: will they update now?04:06
lifelessmeoblast001: bug reports are a sign that something might be wrong, not a statement.04:06
mwhudsonlifeless: yes04:06
lifelessmeoblast001: and yes, on the plugin please.04:06
lifelessmwhudson: _THANKS_04:06
mwhudsonlifeless: thank abentley, i had nothing to do with it!04:06
lifelessit was to the team :)04:07
lifelessabentley: thanks04:07
meoblast001lifeless: is this related https://bugs.launchpad.net/bzr-fastimport/+bug/41014004:07
ubottuLaunchpad bug 410140 in bzr-fastimport "pruning of empty directories" [Medium,Fix committed]04:07
meoblast001it looks like a similar problem04:07
meoblast001it appears from that bug that it should be fixed04:11
meoblast001but i'm not seeing it here, and this is a fresh checkout04:11
thumperlifeless: the script isn't running04:13
thumperlifeless: but it should soon04:13
thumperlifeless: the losas have been busy04:13
lifelessthumper: naturally04:13
meoblast001lifeless: https://bugs.launchpad.net/bzr-fastimport/+bug/435621 happy now? :P04:23
ubottuLaunchpad bug 435621 in bzr-fastimport "Specifying Directories to Filter only Deletes Subdirectories/Files, Not the Directory Itself" [Undecided,New]04:23
lifelessmeoblast001: thank you04:23
meoblast001:)04:23
meoblast001lifeless: i was just kidding, you're the one who helped m04:24
meoblast001me*04:24
meoblast001my only problem is that i planned to fix this by tonight >.<04:24
RenatoSilvawhat's a submit branch in zbr info?04:34
RenatoSilva*bzr04:36
spivRenatoSilva: the default branch used by "bzr send", any maybe other things.04:38
RenatoSilvaok thanks04:38
spivI sometimes use "bzr diff -r submit:" in my feature branches to see what I've changed vs. that branch (which is usually lp:bzr, for me).04:39
RenatoSilvaisn't it bzr diff -r ancestor:$trunk?04:40
spivYes, that's often the same.04:41
spivor rather, if $trunk in your example is the submit branch, then it's exactly the same.04:42
spivBut "submit:" is shorter to type :)04:43
RenatoSilvatrue, gotta write it down somewhere :)04:43
meoblast001lifeless: i fixed it now :/04:45
meoblast001so the bug report was useless04:45
* RenatoSilva doesn't like bugs that much either04:46
RenatoSilvahow to find revisions that fixed certain bug (committed with --fixes=)04:53
RenatoSilvacan't find anything in bzr help diff04:53
RenatoSilva*log04:54
meoblast001sleep time, good night04:58
lifelessvila: nice05:26
vilalifeless: ?05:27
igcbbl05:49
pooliehi vila06:00
=== BasicPRO is now known as BasicOSX
vilapoolie: not really there yet :-) I'll say 'hi' then...06:16
poolieok :)06:17
pooliereading your new shell-like diff now06:26
=== oubiwann_ is now known as oubiwann
jtvWhat's the proper way to get a revision's timestamp into a datetime?06:58
jtv(I should say timestamp plus timezone)06:58
Peng_Oh god. Just thinking about that makes my brain shut down.07:00
jtvPeng_: I take it that's a "no" on an easy solution?07:02
lifelessugh, where has the day gone07:02
lifelessjtv: it is one ?07:02
jtvlifeless: it's gone over here, to the west of you07:02
Peng_jtv: That's my standard reaction to mention of datetime.07:02
jtvlifeless: that's what I thought, but when I try to subtract a timedelta, I get an error saying the timestamp was a float.07:03
Peng_There shouldn't be anything bzr-specific about converting timestamp + tzoffset into a datetime.07:03
Peng_Unless bzr has a nice API for it or something.07:03
jtvPeng_: the timezone offset doesn't seem to be the one that datetime.fromtimestamp expects.07:04
lifelessjtv: pydoc bzrlib.osutils07:05
Peng_datetime.fromtimestamp can take timezone offsets?07:05
jtvPeng_: yup07:05
lifelessjtv: has bits in there.07:05
jtvlifeless: they all seem to involve turning it into text and then parsing that text though07:06
jtvseems brittle07:06
lifelessjtv: well, I"m not saying there is exactly what you need07:07
lifelessjust that you should find the closest function, and then refactor it;)07:07
jtvI think I can use datetime.utcfromtimestamp07:07
jtvbut then should I add the timezone to the timestamp, or subtract it?07:07
jtvHmm... contrary to reason it also seems to produce a timezone-naïve datetime.07:08
lifelessthe python datetime module?07:09
vilahi all07:10
lifelessyou need to subclass tzinfo07:10
jtvlifeless: yes07:10
jtv!?07:10
lifelesshave I mentioned I hate that module?07:10
lifelesshave a look at subunit.iso860107:11
lifelessor if its bundled on your system is860107:11
jtvlifeless: you haven't mentioned it to me yet, but I'll have you know it wouldn't shock me07:11
jtvwhat is subunit?07:12
* vila takes a deep breath and restart yet another build failing on a time related issue...07:12
lifelessits a testing protocol library I develop07:13
lifelessits relevance here is simply that iso8601 is an MIT licenced module I embedded07:13
vila. o 0 ( The common cause between all of them seems to be..... using a virtual host.... )07:13
jtvlifeless: I have an iso8601.py lying around.07:14
lifelesslook for Yoinked07:14
jtvlifeless: nope07:14
jtvnot found07:14
lifelessclass Utc(tzinfo)07:15
jtvlifeless: got it on google07:15
jtvokayyyy... what's wrong with regular UTC?07:16
jtvdatetime.fromtimestamp(revision.timestamp + revision.timezone, UTC) does complete successfully...  the + is a guess though.07:17
lifelessjtv: where is UTC defined? its not in the datetime module ...07:18
jtvlifeless: pytz07:19
lifelessah07:19
lifelessnot in the stdlib :)07:19
poolievila, shell-like-ears +107:23
pooliealso http://www.phrases.org.uk/meanings/414550.html07:23
vilapoolie: wow :D A bit of explanation may be ? Should I continue or should I stop using "shell-like" ?07:26
pooliecontinue :)07:26
poolieit's a nice name07:26
lifelessjtv: timezones07:26
vilaCan it be interpreted as "we listen to you: we help you write tests" ? :D07:27
jtvlifeless: ?07:27
lifelessjtv: the offset is the offset of the time when it was recorded; so if it was recorded at +3600, you would subtract 3600 to get UTC07:27
lifelesshowever, what you probably want07:27
lifelessis fromtimestamp(timestamp, magic_tzinfo(offset)),07:28
jtvmagic_tzinfo?07:28
lifelessyou get to write that07:28
lifelessa factory to get the right thing from pytz, or curry a class on the fly07:28
lifelessdatetime is _not_ a good example of easy to use API07:29
vilapoolie: that's the kind of surprise I love after using a word (shell here) for more than 20 years without realizing some of its other meanings07:29
jtvlifeless: seems overkill...  I don't give a rat's kidneys about the timezone—all I want is the UTC time.07:30
* jtv fondly reminisces the lady who tried to get "the real time" from a stewardess on a transcontinental flight...07:31
jtv(The continent in question being Eurasia)07:31
jtv"Yes but what time is it on the plane?"07:32
* vila giggles about the TRUE things (time is a funny example of that, but many people also have strong views about pasta, chocolate, ice cream, you name it ;)07:33
jtvvila: don't get me started about True Internet, basically the only alternative to state-run internet here...07:33
vilajtv: hehe07:36
LarstiQkfogel: ah! I'm going to look at your merge proposal today (after all my lectures are over in ~9 hours). Sorry it took so long07:50
ronnyjelmer: whats the purpose of subvertpy.NODE_NONE/NODE_UNKNOWN07:59
ronnyjelmer: oh, and RemoteAccess.check_path doesnt normalize leading '/'08:00
igcback08:15
jtv1lifeless: printf debugging tells me that the timestamp in a revision is already in UTC, so I can ignore the timezone.  Just datetime.fromtimestamp(revision.timestamp, pytz.UTC) does the trick.08:21
lifelessjtv1: hmm, I'll have to check the source to be sure.08:21
lifelesstime to learn more RDF08:22
jtv1lifeless: I commit to a branch, then I look up the revision and run its timestamp through that, and it gives me (roughly) the current UTC time.08:23
=== jtv1 is now known as jtv
johnfCan anyone besides abently do a bzrtools release?09:11
johnfjelmer: will you be doing a bzr-svn 1.0 release before tomorrow?09:13
pooliehi johnf!09:17
johnfpoolie: howdy09:17
bialixhello bzr09:17
pooliejohnf: i don't think anyone but abentley regularly _does_ releases09:18
pooliethis is a drawback of having them version-locked and recommended by the package...09:18
johnfyeah09:18
johnfbzrtool 2.0.0 is released09:18
johnfbut it expects bzr to be version 2.0 not 2.0.009:18
johnfI'll just fix it manually for now in the PPA09:19
pooliegood idea09:19
jelmerjohnf: no, I doubt I will have time for that.09:20
johnfI'd love to move to a process where when bzr goes rc1 all the plugins aim to do a final release or something. Trying to keep plugins in synx seems to be the most difficult task09:20
johnfjelmer: no probs I'll just use the rc09:20
jelmerjohnf: there's still a couple of test failures that have to be fixed before a final release09:21
johnfjelmer: Are they major enough to not copy it to ~bzr PPA?09:21
jelmerjohnf: no09:23
* bialix shocked by new LP UI09:24
bialixthey killed Kenny!09:24
thumperbialix: you don't like it?09:24
bialixmmm, not really09:25
bialixI'm very conservative perhaps09:25
bialixand used to old UI09:25
bialixthis new UI is TOO radical change for me09:25
bialixbut my first reaction was not positive, sorry09:26
bialixalthough big green button for release downloads is definitely cool09:28
bialixnever mind me09:29
Peng_Is it...chartreuse?09:31
* igc dinner09:54
=== doko_ is now known as doko
garyvdmHi all11:19
garyvdmPlease will someone take a look at https://code.edge.launchpad.net/~garyvdm/bzr/get_trees_and_branches_to_diff/+merge/12077 </nag>11:20
Peng_garyvdm: There's no newline at the end of test_diff.py. :P11:22
garyvdmPeng_: Ok - I'll fix that.11:22
Peng_I don't have the knowledge to do real reviews, but I figure my nitpicking makes things a little cleaner, and saves someone else from having to think about it...11:25
Peng_Thus Peng_ explains the justification for his existence.11:25
Peng_I should've gone with "In which Peng_ attempts to justify his existence." instead.11:26
AfCPeng_ is clearly attempting to pass the Turing test.11:27
garyvdmSuperseded request: https://code.edge.launchpad.net/~garyvdm/bzr/get_trees_and_branches_to_diff/+merge/1234111:29
strkerror: must supply either home or prefix/exec-prefix -- not both11:30
strk^^^ following instructions in the INSTALL file11:30
strkbeing: python setup.py install --home ~11:30
strkbzr-2.0rc211:30
strkPython 2.611:30
Peng_strk: That's exactly the command line you ran?11:37
strkpython setup.py install --home $HOME11:38
strkpython setup.py install --home ~11:38
strktried both..11:38
strksame error11:38
Peng_.....Huh.11:38
garyvdmstrk: I think what you want is python setup.py install --home11:39
bialixhi garyvdm11:39
garyvdmHi Alex11:40
bialixcan you refresh my memory: why qbzr needs branches for diff?11:40
strkerror: option --home requires argument11:41
strkgaryvdm: ^^11:41
strkfor: python setup.py install --home11:41
garyvdmTo get the revno for the revisions to display in the title, and if the branches are different, it also show the locations of the branches.11:41
garyvdmstrk: sorry - I don't know then.11:42
bialixgaryvdm: ok, understood11:42
* garyvdm -> lunch11:42
* bialix too11:42
Peng_Does installing other Python apps work?11:44
strkhaven't tried11:44
strklemme try paramiko...11:45
strkalright, same error with that command line for paramiko11:47
strkusing --prefix instead of --home seems to work fine for bzr11:48
strkworth noticing in the INSTALL file11:49
=== strk is now known as strk_lunch
asabilhi all12:25
asabilI have a small query concerning qbzr12:25
asabilmaybe qbzr log should sort revisions based on the commit timestamp when there is a tie about what to show12:26
asabilI have got multiple release branches that represent the release series, and that are not merged in the mainline and will never be12:26
asabilqlog shows the release branches at the top of the graph even if the commit is 2 months old12:27
johnfjelmer: what should I be branching off to create debian packages of bzr-svn?   http://bzr.debian.org/pkg-bazaar/bzr-svn/unstable12:38
garyvdmasabil: https://bugs.launchpad.net/qbzr/+bug/32138912:52
ubottuLaunchpad bug 321389 in qbzr "bzr visualise: sort by date" [Low,Confirmed]12:52
asabilgaryvdm: ah thanks, didn't see that one12:52
jelmerjohnf: yeah13:21
=== strk_lunch is now known as strk
jelmerjohnf: I've just released 1.0 btw13:22
lifelessjohnf: theres a new loom release too :)13:22
johnfjelmer: Also I finally got back my DD status today. So when you have a moment would like to talk about the bzr-pkg team and how to start helping out13:22
* lifeless shoves work johnf's way13:22
lifelessjohnf: package shit & up load it ;) ?13:22
johnflifeless: I'm in total package mode and aim to keep working through plugins till midnight :) Feel free to prioritise. bzr-svn is at the top of the list13:23
lifelessjohnf: loom isn't high, but would be nice to have; it breaks switch -b rather badly using the packaged version :)13:23
jelmerjohnf: bzr-loom in debian needs some work in particular13:24
lifelessjelmer: what does it need?13:24
jelmerlifeless: somebody to keep an eye on it mainly13:24
johnfAlthough I fell I'm about to be sidetracked by continuing jelmer's work from a year ago and making autoppa use builddeb13:24
jelmerlifeless: and I think you have an open bug about it being out of date13:24
jelmerjohnf: I've also orphaned trac-bzr earlier, you might want to pick it up if it interests you.13:27
james_wyay johnf13:28
garyvdmjohnf: I would like to get qbzr in to debian. I got to run now, so I'll send you a mail...13:30
Lo-lan-dojohnf: I'm half inclined to start a bzr-miscplugins package.13:31
Lo-lan-doI'd shove bookmarks and extcommand into there.13:32
lifelessjelmer: its out of date cause it hasn't been updated ;P13:32
lifelessWhat I'd like to do is plugin-info -> debian/control13:32
lifelessand bzr-log -> debian/changelog13:32
lifelesspossibly wants doap rather than plugin-info13:33
jelmerlifeless: we did a simple script that does the first bit (plugin-info -> debian/control) at debconf13:33
jelmerlifeless: basically will update dependencies on bzr based on info in plugin-info13:33
lifelessjelmer: cool13:33
lifelessjelmer: have you seen moap?13:34
jelmerlifeless: yes13:34
jelmerlifeless: I mentioned it in my reply to you about doap13:34
garyvdmBye all.13:34
lifelessjelmer: oh hmm, must have dropped that mail somewhere13:38
lifelessI spent this avo looking at rdf tools; rather a sad landscape after so many years13:39
jelmerlifeless: indeed13:39
jelmerlifeless: I can forward that email again if you can't find it. It contains some complaints about moap :-)13:40
lifelessplease13:40
lifelessah found it13:41
lifelessyou did a pile of bug noise after it13:41
lifelessI'm crashingish, too tired to reason well13:42
OllieRHow do you find out what version a checkout is on?14:13
IslandUsurperbzr revno14:14
OllieRthats tells you the latest revno of the tree not what the local checkout is updated to...14:17
fullermdThe branch, not the tree.  revno --tree tells yo uabout the working tree.14:21
jelmerhmm, could it be that 2.0rc2 isn't tagged yet?14:22
OllieRfullermd: ty :)14:31
OllieRIslandUsurper: thank you (should of looked up its parameters)14:31
=== strk is now known as strk_away
OllieRis it possible to update just one file in bzr like you can in svn?14:57
bialixтщ14:59
bialixno14:59
kfogelLarstiQ: cool15:00
OllieRisn't that a major drawback to bzr?15:01
kfogelOllieR: not really.  You could always just duplicate the branch (cheap, in a shared repository), update the copy, and use that version of the file.15:04
IslandUsurperI don't think so. About the only time files are truly independent of each other are when they are binary files, and Bazaar doesn't handle those very well anyway15:05
IslandUsurperit's better to think of revisions as snapshots of the whole project, not separate snapshots of each file15:05
OllieRkfogel: interesting book :)15:05
kfogelIslandUsurper: (how does Bazaar not handle binary files well?  just curious)15:05
kfogelOllieR: thank you :-).15:05
IslandUsurperkfogel, if they're changed a lot, the changes don't pack very efficiently, so it slows bzr down15:06
kfogelIslandUsurper: ah, gotcha.15:06
james_wIslandUsurper: I don't think that's the case15:06
james_wnot any more at leat15:07
IslandUsurperjames_w, oh, well that's good to hear15:07
james_wthough if you are storing random data it's not going to compress different versions very well15:07
james_wand I wouldn't expect too much extra compression on changes to files that are themselves compressed15:07
IslandUsurperI'm just going off hearsay, anyway15:08
james_win the past bzr only did line based storage, so depending on the data that might not work very well at all15:09
jblountHi! How do I tell bzr that the branch I'm merging in should have preference over my existing branch?15:09
james_wif there were zero \n bytes in the file the storage would be one line that changed completely every time15:09
james_wthat obviously doesn't work too well15:10
james_wjblount: hey, preference in what way?15:10
jblountSomething like: bzr merge lp:~someguy/project/some-work --please-use-these-changes-not-my-branch15:10
james_wpull?15:10
jblountjames_w: the branch I'm merging wins over the existing branch.15:10
james_wyou want to resolve all conflicts in favour of OTHER?15:10
james_wor you just want to use everything in that branch?15:10
jblountjames_w: resolve conflicts in favour of OTHER (I think)15:11
james_wok15:11
james_wthere's no clean way to do that currently unfortunately15:11
james_wyou're stuck with "bzr merge" and then fix up afterwards15:12
kfogeljames_w: :-(15:12
james_wfor i in $(bzr conflicts --text); do mv $i.OTHER $i; done; bzr resolve15:12
james_wthat will get you most of them15:12
james_wbzr conflicts will then list the tricky ones15:12
jblountjames_w: I'll try that. Thanks for the clarity :)15:12
james_wand I can't come up with a shell fragment to fix them up off the top of my head15:13
james_wjblount: please file a bug though, this would be something that would be useful to have15:13
jblountjames_w: Will do!15:13
kfogeljames_w: https://bugs.edge.launchpad.net/bzr/+bug/25729715:14
ubottuLaunchpad bug 257297 in bzr "Add option to resolve to either THIS or OTHER" [Low,Confirmed]15:14
kfogeljames_w: https://bugs.edge.launchpad.net/bzr/+bug/23251215:14
ubottuLaunchpad bug 232512 in bzr "Command line tool for resolving all conflicts in favor of 'merge-source'" [Wishlist,Confirmed]15:14
kfogeljames_w: I think one of those might be a dup of the other15:14
james_waha15:14
kfogeljames_w: on phone, so can't look further right now15:14
james_wthanks kfogel15:14
james_wand hi :-)15:14
kfogeljames_w: np, and hi! :-)15:14
jblountkfogel: Thanks!15:14
james_wkfogel: are you in London at the moment/soon?15:14
james_wjblount: ooh15:15
james_wcheck Aaron's comment in bug 23251215:15
ubottuLaunchpad bug 232512 in bzr "Command line tool for resolving all conflicts in favor of 'merge-source'" [Wishlist,Confirmed] https://launchpad.net/bugs/23251215:15
kfogeljblount: my personal goal is to organize the world's information and make it universa... Oh, wait.15:15
kfogeljames_w: no, in NY, but in London next week.15:15
james_wkfogel: cool, might catch you then15:15
kfogeljames_w: +1  you know about the launchpad meetup monday, right?15:16
jblountkfogel: I'll sadly miss the LP meetup next week, but hanging out with beuno and crew this week in Millbank.15:16
james_wkfogel: I do, I don't know if I'll still be in London then though15:16
kfogeljblount: ah dang, but cool you're in Millbank now.15:18
kfogeljames_w: hope you can make it!15:18
=== OllieR is now known as ORattie
=== ORattie is now known as ORattue
=== ORattue is now known as orattue
bialixthumper: I think I can articulate why new UI is shocked: absence of lines, borders around buttons, too much white background in which letters fly as in outer space.16:09
jelmerlifeless: any chance you could have a look at https://code.edge.launchpad.net/~jelmer/pqm/merge/+merge/6122 ?16:09
=== cprov is now known as cprov-lunch
=== Island_Usurper is now known as IslandUsurper
kfogelLarstiQ: eventually I will run https://code.edge.launchpad.net/~kfogel/bzr-hookless-email/byte-limit/+merge/11233 through a lolcatz filter.  Don't say I didn't warn you :-).16:56
=== IslandUsurper is now known as Island|away
LarstiQkfogel: euh :)17:01
=== cprov-lunch is now known as cprov
=== deryck is now known as deryck[lunch]
=== Island|away is now known as IslandUsurper
squeI am not sure if this is the right place to ask. But can someone please explain me what (loggerhead's) serve-branch --user-dir exactly does? This thing comes with no ducemantation at all.18:28
beunosque,18:31
beuno  --user-dirs           Serve user directories as ~user18:31
beuno./serve-branches --help?18:31
squebeuno, have you used it?18:32
squebeuno, If you set this arguments it demands to set --trunk-dir too. What should I do there?18:33
squebeuno, I tried various configurations but didn't managed to do http://loggerhead-server/~sque and work18:33
squebeuno, bbl in 10 minutes.18:39
squeI hope you have a clue for me to solve this puzzle :)18:40
=== deryck[lunch] is now known as deryck
davidstraussI can't help but notice that Bazaar 2.0 is recommended from the Launchpad blog but not actually released yet.18:59
jamdavidstrauss: the code is cut, the official announcement hasn't happened because we haven't built all the installers yet19:02
davidstraussjam: Since when did installers hold back a release? ;-)19:02
jamdavidstrauss: for 1.18 and 2.0 and onwards19:03
davidstraussah19:03
jamwe now have a "gone gold"19:03
jamseparate from "officially released, come get some"19:03
davidstraussjam: 1.18 still lacks an os x 10.5 installer19:03
jamI'm a bit surprised that launchpad blog would announce it before we do...19:03
davidstraussjam: http://blog.launchpad.net/releases/launchpad-3-0-is-here-new-ui-and-more19:03
jamdavidstrauss: apparently mac installers are a very manual and painful process19:04
davidstrauss"To use Bazaar’s new 2a repositories, you should upgrade to Bazaar 2.0."19:04
davidstraussjam: Yes, I've build them for Bazaar before.19:04
=== EdwinGrubbs is now known as Edwin-lunch
Takwhat can I do about a DirstateCorrupt error?19:08
Taksuicide?19:09
james_wTak: "mv .bzr/checkout /tmp/; bzr checkout; bzr status" should fix you up19:13
james_wthen looking at /tmp/checkout/dirstate might give a clue as to what happened19:13
james_wusually it is truncated19:13
TakI think what happened is that I was trying to pull while something else was trying to look at statuses19:24
james_wthat shouldn't cause a problem19:25
james_wit is supposed to have locking so that that will not cause this19:26
james_wthere may be bugs though19:26
LarstiQkfogel: you online by chance?19:28
jfroy|workjelmer: Congratulations on bzr-svn 1.0. Been a long time coming ;)19:34
Takjames_w: hmm, that fixed it; not really any indication as to what the issue was, other than the aforementioned19:42
meoblast001hi20:17
meoblast001i have a question.... this isn't necessary that i'm able to do this, but it would help if i could... is there a way to rewrite old commit messages?20:17
=== Edwin-lunch is now known as EdwinGrubbs
=== cprov is now known as cprov-afk
zsquarepluscmeoblast001: when the branch is published you'll have different comment for the same rev..20:25
meoblast001?20:25
zsquarepluscwell if you publish your branch and then you edit  the history20:26
zsquarepluscso someone else could have a copy of your old commit message20:26
meoblast001doubt it, my project isn't too popular yet20:27
zsquarepluscmeoblast001: i think bzr does not support editing them directly. you probably could use fast-export, edit the data and do a fast-import again20:27
meoblast001yeah, with fast-export, how would i edit this20:27
zsquarepluscfor the last commit you can also uncommit, but i guess you already know that20:28
meoblast001yeah20:28
zsquarepluscfast-export generates a semi readable text file (XML? did not look at it). it should be editable with your favorite editor20:28
meoblast001hexedit20:29
meoblast001nothing else will really edit it20:29
meoblast001well, at least Gedit can't open it20:29
meoblast001it has binary20:29
zsquarepluscyou write source code using a hex editor? wow ;-)20:29
meoblast001no20:29
zsquarepluscoh20:29
meoblast001perhaps Wine Notepad can open this20:30
LarstiQyou really don't want to do that20:31
zsquareplusci can perfectly view the contents: bzr fast-export . |less20:31
meoblast001it uses NT line braks?20:31
meoblast001breaks*20:31
LarstiQmeoblast001: you could use `bzr uncommit` and commit again with a better message20:31
zsquarepluscits a simple line based protocol it seems20:31
meoblast001LarstiQ: well, i used fast-import to remove a directory that shouldn't be in my project20:32
meoblast001i wanted to remove all references to that directory from commit messages so people don't get confused20:32
LarstiQmeoblast001: using fast/ex/import should be fine20:32
meoblast001well, people might get confused "where is this examples/ directory the commit message speaks of"20:33
* LarstiQ thought you were trying to hexedit commit messages in a revision20:33
LarstiQmeoblast001: how many revisions are we speaking about?20:33
meoblast001well, i have 74 revisions in my project20:33
meoblast001probably not a ton, but they would be scattered around20:33
LarstiQand how deep down are these?20:33
LarstiQok20:33
=== kiko is now known as kiko-afk
meoblast001i found the commit messages in the bzr-export data20:34
meoblast001should i just edit those there?20:34
zsquarepluscsure20:34
meoblast001would Wine Notepad mess anything up?20:34
zsquarepluscyou probably want to import the data in a fresh branch to check it out before you trash your original ;-)20:35
meoblast001i know Windows Notepad on Windows computers i had to use a few times have had trouble reading files i wrote on my Ubuntu machine20:35
zsquarepluscnotepad? what's this???20:35
LarstiQwhy would you use notepad?20:35
meoblast001Wine Notepad because Gedit can't open files containing any binary20:35
LarstiQI doubt that20:35
zsquareplusctry SciTe if you need a programmers editor thats small and simple :-)20:35
meoblast001i get errors opening the output file20:35
meoblast001ok20:36
meoblast001i don't even use WINE anymore.. i don't know why i have it installed >.<20:36
meoblast001zsquareplusc: turns out there's an integer saying how long these commit messages are20:44
LarstiQmeoblast001: isn't there something else to filter these streams?20:45
LarstiQI'm pretty sure there is20:45
zsquarepluscok. so you have to count the characters? some editors show how many characters you have selected in the status bar20:45
meoblast001yes, for filtering20:45
meoblast001not for directly editing20:45
meoblast001hm i suppose i do :/20:45
zsquarepluscheh, so there is your next project ;-)20:45
zsquarepluscfyi, the fast-import/export format is documented in the bzr wiki20:46
LarstiQit comes from git land actually20:47
LarstiQso there is more documentation/tools for it20:47
zsquarepluscyes i think the bzr wiki guides you there. however it also says something like "forward compatible"20:48
meoblast001zsquareplusc: ok, what text editors count characters, i need one21:03
meoblast001:O emacs probably does21:04
meoblast001since emacs is insane21:04
zsquarepluscSciTE, at  least with the settings i have counts them. vim with default settings should work too (if your brain is vim compatible ;-)21:05
meoblast001zsquareplusc: i can't find that option21:06
meoblast001zsquareplusc: by count characters i mean count the ones you have selected21:06
zsquarepluscsure21:06
zsquarepluscin SciTe?21:07
meoblast001yup21:07
LarstiQvim does21:09
zsquarepluscmeoblast001: http://paste.ubuntu.com/277378/  put that in Sciteuser.properties (opened in options->open user config)21:10
meoblast001i can't figure vim out21:10
meoblast001thanks21:12
meoblast001with the bzr fast-import filter, can i replace a particular file with another?21:56
RenatoSilvaHow to list all $revno - $commit_msg?22:01
lifelessmoin22:07
meoblast001bzr: ERROR: Bad restart - attempted to skip commit :47 but matching revision-id is unknown22:07
meoblast001how do i fix that?22:07
zsquarepluscmeoblast001: you probably need to run the fast import on a new, empty repo22:08
meoblast001what do you mean?22:09
meoblast001mkdir dir && cd dir/ && bzr init?22:09
zsquarepluscisn't it failing to import your edited fast export?22:09
zsquarepluscyes22:09
meoblast001ok, that worked thanks22:12
_habnabitIs there a way to make bzr-svn remember the HTTP auth username/password used when connecting to a svn repository over HTTP?22:45
mwhudson_habnabit: i *think* that if you connect with svn and get it to remember the credentials, bzr-svn will use that22:46
_habnabitWhat do you mean by 'connect with svn'?22:47
lifelessdo a svn operation22:47
_habnabitYeah, I already tried that.22:47
mwhudsonah22:47
_habnabitI did a checkout and then an update and it didn't remember my credentials.22:47
zsquarepluscwith the svn binary?22:48
_habnabitNo, with bzr.22:48
_habnabitI did 'bzr checkout https://example.com' and then 'bzr up'22:48
lifeless_habnabit: do one with svn itself22:48
_habnabitOkay.22:49
_habnabitOh hm.22:51
_habnabit'svn co https://habnabit@example.com/' isn't using 'habnabit' as my username.22:52
_habnabitNever mind, I forgot about --username.22:52
_habnabitAnd nope, it's still asking me for my username and password.22:53
_habnabitI checked out the repository over svn and I can 'svn up22:54
_habnabit' without entering it, but bzr doesn't recognize it.22:54
meoblasthi23:02
meoblastwith bzr fast import, can i replace 1 particular text string with another?23:02
spivGood morning.23:06
meoblastugh23:09
meoblastdoing this manually is going to be a PITA23:09
meoblastis there a bazaar plugin for replacing a particular string with another in every commit23:11
meoblastif anyone knows of any plugins that do that, please tell me, i'll be up all night manually editing this fast-import file23:27
lifeless'sed' ?23:28
meoblastno, won't work23:28
meoblastthere's a "data" line23:28
meoblastand it says how many bytes are in the proceeding data23:28
meoblasti have to edit all those fields manually23:29
meoblastlifeless: know of anything that can automate this process for me?23:30
meoblastlifeless: thousands of lines i'm going through :(23:33
lifelessmeoblast: git has some filter scripts for fast import streams23:37
meoblasti don't think i can handle this any longer23:37
meoblasti'm 9000 lines into the file and can't take it anymore23:37
meoblastthis is taking forever23:37
meoblastlifeless: someone in #git told me that git doesn't actually take the same streams as bazaar23:44
meoblastnow i understand why Linus Torvalds was using tarballs and patches23:44
lifelessmeoblast: they are lying :)23:46
lifelessbzr's fast-import/fast-export use the common fast import format created by git23:47
lifelessigc is discussing various extensions to improve the format, but its not a bzr invention23:47
james_wmeoblast: there is "bzr fast-import-filter" or similar isn't there?23:49
james_wnot sure it can do that operation though23:49
meoblastyes there is23:49
meoblastbut i can't find anything on filtering the actual contents of source files23:50
Nghow do I remove a tag from a remote branch? (a bzr+ssh branch on bazaar.lp.net)23:57
NgI removed the tag locally and pushed some changes, then retagged locally and now when I push it tells me the tag conflicts23:57
spivNg: push --overwrite23:58
Ngaha :)23:59

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