/srv/irclogs.ubuntu.com/2010/02/12/#bzr.txt

igcmorning00:05
* fullermd waves at igc.00:11
igchi fullermd!00:12
fullermdigc: I was curious, in this post-2.1 (or almost-so) world, whether content filter stuff was perking up toward the top of people's stacks.00:14
igcfullermd: I certainly hope to get branch-specific rules into 2.200:16
igcfullermd: what did you have in mind in particular?00:16
fullermdOh, just my standard low-level antsyness for $Keywords$.00:17
fullermdThe branch-specific rules and that collapsing bug are the only things I know offhand keeping it in "PoC curiosity" rather than "Try it on for real use".00:18
fullermd(of course, once we hit the latter, THEN we ferret out the other 15,278 things it really needs   ;)00:19
fullermd(if the answer is "nahgonna'appen this cycle", that's reasonable; just trying to keep up-to-date on my mental sense of where it falls on the List)00:24
Pilkyhey got a bit of an odd theoretical question00:25
fullermdPilky: You're in luck!  I've got an odd theoretical answer right on tap!00:26
Pilkyif I have a repo with a few branches in, the revisions are stored in the repo00:26
PengIn theory, yes. :D00:26
Pilkyand if I remove the branch by using standard file operations the revisions aren't lost00:26
Pilkyso theoretically would it be possible to then reconstruct that branch00:27
fullermdBasically, yes.00:27
Pilkycool00:27
fullermdYou lose branch-specific config bits, like the parent/push/etc branches, the nick, yada yada.00:27
fullermdBut all the history revisions are available.00:28
Pilkythose are minor details, it's the code that's important00:28
Pilkybut yeah it just made me think after reading this blog post: http://rentzsch.tumblr.com/post/384353696/time-machine-your-version-control-safety-net00:28
PengThe "bzr heads" command from bzrtools will help you find them. (Check the help for the proper options.)00:28
PengThen, init a branch in the repo, and do "bzr pull . -r revid:foo" with the ID you got from "heads".00:29
fullermdYeah.  There may be cases where that config is necessarily and irreplacable, but I have a very hard time even fabricating such a situation.00:30
PengTags will be lost, too, but presumably you can pull most of them from one of your other branches.00:30
fullermdOh, yeah, I forgot about that.  That's probably the most likely source of a crippling (or at least maiming) loss.00:31
PengWho ever deletes a branch with more than 1 or 2 unique tags, though?00:31
Peng...Well, it's uncommon, at least.00:32
Pilkywell, even if you work alone, you should be pushing to a remote server frequently00:32
PengAlso you have backups, eh, ehh? :D00:32
fullermdPeng: Well, nobody, BEFORE.  Now that you've said it, 6 people will show up in the next few hours asking how to recover from it.00:32
PilkyPeng: heh I have local backups of everything, but I have my source remotely00:33
fullermdSounds like a good time for me to leave, and let YOU field them   :p00:33
Pengfullermd: Nah, I have stuff to do. (Or at least I'll find something!) Let's foist them on Pilky, he brought it up. :D00:34
Pilkylol00:34
PilkyI didn't mention tags!00:34
Pilkyyou did!00:34
PengOh damn.00:34
fullermdYou just did!00:34
PengAnyway, I really do have a little bit of stuff I need to do. See you soon! Probably!00:35
Pilkyheh as do i, that little bit of stuff being sleep00:35
Pilkythanks for the answer!00:35
PengSleep? I have a _lot_ of that I need to do, but I'm not going to. :P00:58
fullermdSl...  eep?  I believe I've heard of this concept.  I thought it was a myth.01:01
PengIt's a huge waste of time. I'm working on avoiding it.01:02
PengI keep seeing Oprah Winfrey in my wall, and I can't really do math anymore, but overall I think it's going well!01:02
fullermdHm.  Do you think those two items are related?01:04
fullermd...  actually, I'm not even sure which two items I'm asking about, and every permutation I can think of is more interesting than the last.01:04
fullermdSo maybe we're on the same page!01:05
bignoseI have a pending merge, and also some other changes that I want01:05
PengOprah would like some changes, too.01:05
PengShe thinks my hair sucks. :(01:05
bignoseis the right way to proceed to ‘bzr shelve --all ; bzr commit --message "Merged" ; bzr unshelve --all’? or is there a better way?01:05
PengWait, what are you trying to do?01:05
PengYou want to commit a merge without some of the changes that exist in the working tree?01:06
bignoseyes.01:06
bignoseI got the merge because I tried to commit my changes, but it failed because the repository was not up-to-date in this bound branch01:07
PengOooooh, bound branches.01:07
bignoseso, I updated, and ended up with a pending merge01:07
PengI was wondering how you got into that situation.01:07
PengSorry, but I don't know the right way to get out of this situation..01:08
fullermdFirst, you remove commit --local...01:08
PengThen you remove bound branches completely? >.>01:08
bignosewell, it seems that shelve gets me through it. (done now.)01:09
bignosebut I'm wondering if there's a less fiddly way.01:09
fullermdIn a way, you're a bit screwed.  You can do OK with local commits, and you can do OK with uncommitted changes, but both at once is Bad Juju.01:09
bignoseI've done no local commits.01:09
bignose(on this branch)01:10
fullermdAnd that shelve won't really _solve_ it.  It'll make a pretty sizable mess in history, since you're committing a merge in which you undo all the changes, and then another commit where you redo all of them.01:10
fullermdIf you didn't, you wouldn't get a pending merge from an update.01:10
maxbBy the same logic that 'bzr merge' will require --force if there are modifications, presumably the same ought to apply to 'bzr update' in a bound branch scenario01:11
bob2even if you have no local commits, bzr up can still cause lots of annoying conflicts01:12
bob2(and trash your local changes)01:12
fullermdYes, but only of one set of changes.  With local commits, and uncommitted changes, you're in the same position as local changes + merge --force; you've got two things inextricably intermingled.01:12
bob2it is true01:12
bob2real unbound branches ftw01:13
fullermdWell, I don't much care about bound branches, but you can have my heavy checkouts when you pry them from my cold dead hands   :p01:13
* bignose doesn't understand the difference between “heavy checkout” versus “bound branch”01:14
bignosealso, I don'01:14
bignosealso, I don't see what mess is created in history01:14
bob2haha01:14
mkanatbignose: The difference is just a configuration variable.01:14
bignosehmm. what I see in history is that the merge made a change, and the same change is then part of the local changes I've committed after the merge.01:15
bignoseweird.01:15
fullermdWell, the difference is conceptual, and doesn't formally exist in bzr-today.01:15
lifelessfullermd: some people dispute that it exists01:16
fullermdYes, but their mothers were hamsters, and their fathers smelt of elderberries.01:17
bignosefullermd: is there anyone else here I can talk to?01:17
fullermdNo!  Now, go away, or I shall confuse you a second time!01:18
bignoseheh01:18
lifelessbignose: whats the question ?01:18
bignoselifeless: about 40-50 lines back in this channel01:21
bignoselifeless: simply, is there a less-fiddly way to resolve local uncommitted changes combined with a pending merge from the remote repository?01:22
lifelessbignose: just commit01:23
lifelessbignose: bzr will know what was from the merge and what was your changes01:24
lifelessbecause you've done an 'update' right? - bzr should have done a pivot for you01:24
bignosewhat's a pivot?01:25
bignosethe problem I encountered was that I want to do partial commits01:26
bignosebut Bazaar won't allow that while I have a pending merge.01:26
bignose(to answer the question: yes, I did ‘bzr update’, which is where the pending merge came from.)01:27
lifelessok, then you should shelve the stuff you aren't ready to commit, and then commit.01:28
bignoseright. that worked. is there a less-fiddly way? say, to get just the merge committed?01:28
bignoseor, ideally, to get the update done without resulting in a pending merge?01:28
lifelessso the update only adds a pending merge if you have done disconnected commits01:29
lifelessso one way is 'do not do disconnected commits'01:30
bignosenever happened on this branch.01:30
bignose(or did it? can I tell?)01:30
lifelesssomeone uncommitted then on trunk01:30
lifelesseither an uncommit, push --overwrite, or you did a 'local' or 'offline' commit01:30
bignosecan that be detected after the repository is synchronised?01:31
lifelessnot really; log -n0 may give a hint01:33
fullermdMechanically?  Not really.  But by looking at the revision in the log, you can probably figure it out.01:33
bignosethanks for the help01:34
=== khmarbaise_ is now known as khmarbaise
lamalexHi, can someone help me figure out why one of my co-developers is getting this error when he pushes to what (should be) a shared branch? bzr: ERROR: Cannot lock LockDir(chroot-24202192:///var/trac/c4398s10_2/repo/trunk/.bzr/branch/lock): Permission denied: "/var/trac/c4398s10_2/repo/trunk/.bzr/branch/lock/5ffyoe3oy1.tmp": [Errno 13] Permission denied: '/var/trac/c4398s10_2/repo/trunk/.bzr/branch/lock/5ffyoe3oy1.tmp'02:49
lamalexwhat should permissions be to prevent this from happening02:50
fullermdHe needs to be able to write into that dir.02:52
fullermd(and some others under .bzr; probably simplest to be able to write to _everything_ under .bzr)02:52
spivlamalex: as fullermd says; they need filesystem write permissions.  You may want to have a 'bzrrepo' group that owns all files/directories in that repo to help with that.02:55
bignoselamalex: My understanding is that (like most DVCS) Bazaar works on the assumption that there is a single owner of each repository.02:55
spivbignose: not really02:55
bignoseso, for a repository to be shared with multiple users, there should be a single account that owns the repository; and some mediator to allow other users to act as that user.02:56
lamalexspiv: so if I chgrp -R the repo, we should be ok?02:56
spivBazaar is perfectly happy for multiple users to be able to write to the repo, but you do need to arrange the filesystem permissions to allow that, which probably means a common group and maybe also setting a sticky bit on the group perms so new directories are owned by that shared group.02:56
fullermdlamalex: On a filesystem with SysV semantics, you'll need g+s on the directories as well.02:56
bignosee.g. the Bazaar server; or the PQM; or an account used via SSH public key.02:56
lamalexfullermd: merci02:57
lamalexbignose: that's definitely not true at all02:57
lamalexthat's not even how launchpad works02:57
fullermdLaunchpad works by using FM technology.02:57
spivfullermd: fairy munchkins?02:58
lamalex:)02:58
fullermdF.....lippin' Magic.02:58
BuginatorIs there a good bzr GUI client for SnowLeopard ?02:58
fullermdYou can't set a snow leopard loose in a bazaar.  It would be chaos.03:00
fullermdBuginator: Explorer and/or qbzr are the general answers on most platforms.  AFAIK they work on OS X, though I don't know how hard they are to get installed.03:01
Buginatorok, thanks03:03
bignoselamalex: there's quite a lot of infrastructure difference between “multi-user repository” versus “Launchpad”03:06
=== JFo is now known as JFo-afk
spivNeed coffee.03:09
slestakhey guys.  i was just tinkering with bzr before trying to use it for real, and I would liek to start my repo over from nil03:15
slestakive googled and looed at the docs but I do not see how to do this03:15
slestakfor instance, i had my eol settings in a state i do not want them longterm, so I think I have crlf stored in the repo.03:16
fullermdWell, the general means of starting from scratch involves "rm -rf" and...  well...   starting from scratch.03:18
slestaki think that will just remove the branch,03:19
slestaki may have not even doen an init-repo, I may have just init'd a single dir03:20
slestakhow can one tell the difference between a repo that holds branches and a dir in your projects folder that is just a branch of a remote project you were hacking on?03:21
fullermdinfo will tell you.03:21
fullermdBut if you have a repo separate from the branch, that just means "rm -rf" * 2   :>03:22
slestaki use several workstaitons and I have not reconciled where my repos will live03:22
meoblast001hi03:23
slestakok, bzr info list root as being . which is good.  And a push branch as my fileserver at home.03:23
meoblast001is there any way to read Bazaar commits from PHP?03:23
slestaklet me look at bzr help info, thx for assist03:24
spivmeoblast001: not that I know of, the format is pretty complex so it would take a fair bit of effort to write the PHP to decode it.03:25
meoblast001maybe this is more of a PHP question03:25
lifelesssystem('bzr info')03:26
meoblast001ok03:26
lifeless?03:26
lifeless:)03:26
pooliemeoblast001: i'd probably run 'bzr log' in a subprocess with popen03:26
poolieand parse that03:26
meoblast001ok03:27
poolielifeless: rereview https://code.edge.launchpad.net/~mbp/bzr/368931-rename-case-2.0/+merge/19079/+request-review pls?03:28
slestakif I have a project that is a proof of concept, but could grow large in the future, is it commonr to refactor branches from one repo to another?03:29
slestakduh, merge.  sorry for elementary questions03:30
lifelessslestak: repos don't matter for workflow: all the affect is performance.03:30
slestaklifeless: ive been really in analysis paralysis about project dir setup.  i have a mix of personal and work machines and projects.  I work on all of them on all the machines03:31
lifelessslestak: thats fine, just do it03:31
lifelessonce you know how you're using it you can decide how to tune it03:32
meoblast001spiv: http://m.mysticgalaxies.com:8080/host/meoblast001/software/dontwant/bzr.php03:32
meoblast001that's the only problem :P03:32
lifelesspoolie: + if tests.CaseInsCasePresFilenameFeature.available():03:32
lifelesswon't work too well03:33
pooliewhy?03:33
spivmeoblast001: well, a <pre> tag and HTML-escaping will help a lot :)03:33
meoblast001ah, probably03:33
lifelesspoolie: its already in tests :)03:33
lifelesspoolie: # new coding style is for feature instances to be lowercase03:33
lifelessdunno if I'd bother with the comment03:33
spivmeoblast001: also, I think there's an xmloutput plugin03:33
poolieyou can import a module from within itself03:34
pooliebut it's a bit messy03:34
spivmeoblast001: so that you could do "bzr log --xml", which might be more convenient (or maybe not)03:34
lifelessoh I see you have. I wish colourisation upon these diffs03:34
spivmeoblast001: https://launchpad.net/bzr-xmloutput03:35
lifelesspoolie: anyhow, I'd use the global name space rather than importing inside the feature. other than that , JFDI03:35
pooliei did that03:35
pooliejust now.  i previously put it in features but then decided it was better next to its buddies03:36
lifelessthen +103:36
poolietell me, do you think my comment in make_canonical_tree is correct?03:36
poolieif i change it to use _convert_tree i do get some failures03:37
lifelessthis isn't actually guaranteed to return the class ?03:37
poolieit seems to be returning a workingtree03:37
pooliewhereas this class also wants to test some revisiontrees03:37
lifelessso per_tree is a bit stubby03:38
lifelessbut the intent of it is definitely to test more than working tree03:38
lifeless Ihaven't seen make_canonical_tree before, I'd guess someone adding a helper that is either meant to be _convert_tree'd, or that wasn't really following the intent.03:39
meoblast001thanks spiv03:40
* igc lunch03:57
lifelesswhere?03:58
* lifeless WANTS03:58
fullermdMaybe he was suggesting himself AS lunch...04:03
idnarlaunch04:05
idnarlunchpad?04:05
* fullermd . o O ( bzr pull lp:BLTandFries )04:05
dOxxxgreetings04:35
spivfullermd: hmm, have you signed the contributors agreement?  I have a feeling that you probably have, but don't see your name in the LP team.05:23
dOxxxgood night all05:42
lifelessfullermd: thats cruel man... oh I could so eat that05:53
igcnight all07:44
gerard_aahh09:06
gerard_admin!09:07
lifelessjelmer: ping09:08
lifelessjelmer: I'd like to ask a small favour: update the bzr-search packaging :)09:09
lifelesssomeone remind me to unban him tomorrow09:11
gerard_lifeless: thx09:14
jmlhello09:19
jmlif I want to stop receiving emails about bzr merge proposals, I have to leave ~bzr-core, right?09:19
lifelessjml: I dunno10:00
lifelessjml: perhaps you coul subscribe to the relevant branch directly and say 'dont mail me' in that subscription10:00
lifelessjelmer: ping10:00
jmllifeless, there's a thought. I'll try that.10:02
lifelessjml: ping10:09
lifelessmeh10:10
lifelessjelmer: ping10:10
tonfagug10:33
tonfacan anybody point me to the details of the protocol used by bzr to discover remote changes?10:33
jpdstonfa: I think it uses Avahi.10:41
ronnyjpds: he means the dag differnce finder, not location discovery10:42
ronnylifeless: is there any spec on/doc on what exactly smart-server does?10:43
spivronny: not really11:05
spivronny: there's some basic stuff in network-protocol.txt in the developer docs11:05
spivronny: but that's more about the basic RPC serialisation than what the RPCs do and how to use them11:06
tonfaspiv: ok11:06
spivronny: the individual RPCs are implemented in bzrlib/smart/*.py, and mostly have terse docstrings explaining what they do, e.g. http://starship.python.net/crew/mwh/bzrlibapi/bzrlib.smart.repository.SmartServerRepositoryGetParentMap.html#do_repository_request11:07
spivtonfa: oops, I should have been addressing you :)11:07
spivtonfa: I'd be quite happy to answer questions here (if I'm around, probably not for much longer tonight) or on the mailing list11:08
tonfaI see11:08
spivtonfa: the RPC API assumes a fair bit of familiarity with bzrlib, really.  e.g. the Repository.get_parent_map RPC essentially works the way bzrlib.Repository.get_parent_map does.11:09
spivtonfa: the complete list of methods can be seen in the source in bzrlib/smart/request.py11:09
spivtonfa: I'd very much like to improve the protocol docs, but there hasn't been much motivation to so far11:10
LeoNerdI think I broke my bzr-svn cache :/11:10
LeoNerdbzr: ERROR: exceptions.KeyError: 'No such TDB entry'11:10
spivtonfa: if you'd like to provide that motivation, great :)11:10
spivLeoNerd: whee!11:10
LeoNerdI ctrl-C'ed it once because I ran "bzr st" instead of "svn st" by mistake, and didnt' want it to spend 5 minutes now pulling new revs... ever since then it's been broken11:11
spivtonfa: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head%3A/bzrlib/smart/request.py#L489 is where the RPC registrations start11:11
tonfaspiv: btw we plan on adding early error returns for http in hg11:11
spivtonfa: what do you mean by "early returns"?11:12
spivYou're talking about something to do with the finding the differences in the remote graph?11:12
tonfaspiv: errors happening while streaming data,11:13
spivOh, right.11:13
tonfathere's a discussion about that at http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head:/doc/developers/network-protocol.txt11:13
spivYeah.11:13
tonfaso maybe if it works well for us you can do it too :)11:13
spivThe current bzr protocol allows that, I can't remember if the HTTP medium handles it appropriately or not.11:14
spivMid-stream failures are actually a fairly rare occurence for us!11:14
tonfafor us too, it's just that we then don't show a meaningful error to the user11:15
spivYeah.  And they are usually "interesting" errors that you'd rather have some hint about :)11:16
tonfayes, instead of asking the user to launch wireshark11:16
tonfaor looking at the server logs11:16
tonfawhich isn't always possible11:16
tonfaspiv: how do you clone the bzr repo in one line? (ie what's the url)11:17
tonfait will be easier to browse the code if I have it locally11:17
tonfabzr clone lp:bzr seems to work11:18
spivtonfa: in bzr, you clone branches, not repos (a confusing terminology difference vs. hg)11:21
spivtonfa: the canonical form is 'bzr branch URL', but 'get' and 'clone' are aliases of 'branch'.11:22
tonfaok, so I still didn't do anything wrong :)11:23
spivtonfa: so, that command is fine.  Note that Launchpad doesn't yet provide the smart server over HTTP, so you'll need to run provide an SSH key to Launchpad and use 'bzr lp-login' to make lp:bzr fully efficient :)11:23
tonfaI see11:23
spivtonfa: oh,11:24
spivtonfa: if you add -Dhpss to your command line (or debug_flags = hpss to your ~/.bazaar/bazaar.conf), then your ~/.bzr.log will show much of the smart protocol conversation11:25
spiv"hpss" stands for "high-performance smart server", our original jargon for this feature11:25
spivWhich will certainly give you a much more helpful picture than wireshark :)11:26
tonfaindeed11:28
=== salgado is now known as salgado-afk
lifelesswe'11:38
lifelessre nuking clone and get for branches I believe11:39
fullermdlifeless: Well, so setup a munch proposal on lunchpad   :p11:42
fullermdspiv: This iteration, I don't think so.  Seems I went through whatever we had before it.11:43
tonfaspiv: looks like search_missing_revision_ids() was what I wanted11:44
spivtonfa: yeah (although different operations use different codepaths sometimes, sometimes for good reasons sometimes not... :/ )11:48
spivtonfa: we have some plans to make some relatively cheap improvements to search_missing_revision_ids, but we haven't gotten around to implementing them yet11:49
spivtonfa: I'd be happy to compare notes with what you do in hg :)11:49
spivBut not tonight, it's getting late here.11:50
fullermdIs the fallout from the last round of contributor agreement stuff expected to arrive soon?11:52
tonfaspiv: ok, night'11:53
spivfullermd: not sure, poolie is the one that would know11:57
fullermdMmp.  Well, I'd guess you'd know if it were expected in the next few days...11:58
=== mrevell is now known as mrevell-lunch
spivfullermd: me?  Not likely, I'm essentially working part-time atm due to a newborn12:06
fullermdOh, I thought you were older than that   :)12:06
fullermdDamn child labor laws...12:07
spivfullermd: and I'd be superfluous to that discussion anyway, poolie understands all the requirements12:07
* spiv submits a merge proposal and goes to bed12:08
fullermdWell, I was just thinking if it were about to show up, I'd hold off for it instead of sending in the current one.12:08
fullermdOwell.12:09
spivfullermd: yeah, I understand.  Unfortunately I really have no insight to offer :)12:12
fullermdHm.  irc.ubuntu.com is a CNAME for freenode, but isn't it still a little weird listing it in README?12:14
fullermdspiv: 'k, sent.12:17
rubbsmorning all!13:11
=== mrevell-lunch is now known as mrevell
=== jml is now known as jml-afk
=== jml-afk is now known as jml
quicksilvercan two completely unrelated projects live in the same shared repo?14:30
beunoquicksilver, yes14:30
beunothey just won't share revisions14:30
quicksilvergood.14:31
quicksilverCan I somehow make bzr push push stuff up as g+w ?14:31
quicksilvermy umask on that machine is actually 00214:31
quicksilverbut newly pushed branches still go up as g-w14:32
quicksilver(using bzr+ssh, that is)14:32
quicksilverI remember some discussion years about about sftp ignoring umask14:36
quicksilverbut that was considered to be a shortcoming of sftp14:36
quicksilverand I thought one of the good things about bzr+ssh was going to be fixing it.14:37
mzzhmm! I haven't actually done this recently, but are you sure the shell startup script that sets your umask actually gets run if you use bzr+ssh?14:37
mzz(I'd try putting a "touch /tmp/this-is-reached" in whatever script this is)14:37
mzzI don't know if bzr+ssh sets umask itself14:38
mzzbut if whatever's setting your umask to 002 isn't reached that'd obviously cause this :)14:38
quicksilverthat's true enough.14:45
quicksilverNo, I'm not sure.14:45
fullermdquicksilver: bzr preserves the +/-w based on the permissions of the directory.14:49
fullermdsftp doesn't ignore umask; the problem there is that it refuses to set the set[ug]id bits.14:49
quicksilverfullermd: but the enclosing directory is drwxrwsr-x14:50
quicksilverfullermd: and new branches are getting pushed up as drwxr-sr-x14:51
fullermdThere's some uncertainty as to which directory it bases on.  It might be .bzr itself, or .bzr/repository, rather than the packs/ directory.14:51
quicksilversetgid is being preserved, but not g+w14:51
fullermdOh, new branches.  Yes, bzr doesn't itself muck with perms on those.14:51
quicksilverright, new branches.14:51
quicksilveralthough perhaps your implication is that if we switch this to a shared repo, which we are about to do anyway, this problem will go away?14:52
fullermdProbably an issue with which [parts of] rc files the shell reads in interactive vs. batch environments.14:52
fullermdNo, the packs for the revs would get the right perms, but the branch files themselves will still wind up umask-based.14:52
=== JFo-afk is now known as JFo
=== salgado-afk is now known as salgado
=== salgado is now known as salgado-brb
LeoNerdIs there a way to alter the number of lines of context 'bzr shelve' uses? I have two unrelated changes in one file that are just close enough that they come out as one diff chunk... I'd like it to be two16:35
MethsI imagine the solution would be to shelve one change, then make the second and shelve that but I may be corrected.16:39
fullermdIf you were thinking it before the fact, you wouldn't need shelve at all  ;p16:41
fullermdAFAIK there's no way to split patch hunks in shelve.  There's some 'edit'-ish functionality, but I don't know how easy it would be to fake up what you want.16:41
LeoNerdIt's not that I want to split it, as such16:42
LeoNerdIf you use  bzr diff --diff-options="-c 1"  then they're split OK16:42
=== deryck is now known as deryck[lunch]
=== IslandUsurper is now known as IslandUsurper-af
=== deryck[lunch] is now known as deryck
=== radoe_ is now known as radoe
pooliefullermd: re contributor agreement updates; i do expect it soon but it's unpredictable18:42
mtaylorNEAT!18:43
mtaylorbzr: ERROR: syntax error: line 1, column 018:43
=== IslandUsurper-af is now known as IslandUsurper
nosklocan't use a proxy, how do I get meaningful error message?18:58
nosklolost connection, somebody answered?19:10
rubbsno19:10
rubbswhat is your question again? I'm not quite understanding it19:10
noskloI'm trying to use a proxy19:14
noskloso I can branch some code19:14
noskloBut when trying to do so, bzr returns a cryptic error which I can't make sense of19:14
rubbscan you post the error on pastebin?19:15
rubbs!pastebin19:15
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.19:15
rubbsI can't stay long (I have a meeting) but someone here can usually help if they can see the full error.19:15
nosklorubbs: http://paste.ubuntu.com/374922/19:16
noskloI don't know exactly *what* is not known19:17
nosklowget downloads fine19:17
noskloalso using bzr alternatives like git and mercurial works19:17
rubbshmmm19:17
noskloI've tried to setup some proxy19:17
noskloin the bzr config files19:17
=== salgado-brb is now known as salgado
nosklobut the bzr docs are hard to find19:18
noskloI can't find any mention of how you configure the proxy19:18
noskloso I'm doing guesswork19:18
rubbsnot sure how to help :(19:18
rubbsany dev's in the house now?19:18
rubbsoh... before I go, have you checked .bzr.log? it's usually in your home directory, or my documents if on windows.19:20
rubbsthat might give you more info, it can help others on here too.19:20
nosklooh19:20
noskloCOOL19:20
rubbsbut I have to go. I'll be back in an hour or so.19:20
luksit would be easier to use plain http url19:20
luksI think the lp: directory service does some non-http API calls19:21
noskloluks: I've tried that and got a different error19:21
noskloluks: http://paste.ubuntu.com/374927/19:22
lukshttp://bazaar.launchpad.net/~washort/ecru/trunk is the right url to use19:22
nosklosame thing :(19:23
nosklohttp://paste.ubuntu.com/374930/19:23
luksnot code19:23
luksbazaar19:23
luksbazaar.launchpad.net19:23
nosklooh19:23
nosklothat works!19:23
noskloluks: thanks19:24
lukscode.launchpad.net is the launchpad website19:24
luksand it seems to force you to use https19:24
lukswhich you can't do over a http proxy19:24
nosklohttps should work on my proxy19:24
* nosklo tests19:24
noskloyeah, wget can use https just fine19:25
nosklowget https://code.launchpad.net/ecru # works19:26
luksno idea then19:26
luksI prefer to use direct http/bzr+ssh URLs for launchpad to avoid problems like this19:27
nosklothe error on .bzr.log is InvalidHttpResponse: Invalid http response for https://code.launchpad.net/%7Ewashort/ecru/trunk/.bzr/branch-format: Unable to handle http code 502: Proxy Error ( The parameter is incorrect.  )19:27
nosklohowever wget https://code.launchpad.net/%7Ewashort/ecru/trunk/.bzr/branch-format works19:28
noskloreturns a file with "Bazaar-NG meta directory, format 1" in it19:28
luksI don't know how http/https proxies work19:28
luksbut maybe bzr is doing something stupid like using http to talk to a https server19:29
nosklounfortunately I'm forced on this proxy in my company19:29
luksdo you have the https_proxy environment variable set?19:30
noskloyes19:30
nosklothat's how wget works btw19:31
noskloif I remove the var, wget stops working19:31
luksah19:31
luks(as I said, I don't know much about proxies, so just guessing)19:31
nosklome neither, but I'm trying to debug bzr anyway :) I'm trying to read the source code and reproduce the error on python19:32
noskloso I can ask on #python instead :)19:32
luksjam might help :)19:32
jamhi luks19:33
lukshey19:33
pooliehi jam, luks19:33
nosklojam: I'm having some issue when using a https proxy with bzr, can you help me debug?19:33
jamhey poolie, nice to see you so early again :)19:33
noskloHm I think I figured out19:40
noskloreading the logs of the proxy server19:40
nosklobzr is sending some unprintable bytes instead of CONNECT19:40
noskloI think it is trying to talk SSL to the proxy (it's a http proxy that can handle https)19:41
nosklowget sends a CONNECT 443 first19:41
jamnosklo: we have you provide the format19:41
jamso https_proxy=http://proxy.com:PORT19:41
jametcc19:41
jametc19:41
noskloI did it19:41
jamnosklo: you can also try running "bzr -Dhttp COMMAND" which should add some debugging information to ~/.bzr.log19:44
jamwhich might help figure out when we are trying to connect, and how19:44
jamalso, what version of bzr?19:45
noskloI'm gathering the info...19:45
nosklo1.13.1-119:45
nosklohttp://paste.pocoo.org/show/177244/19:51
jamwell if you can, I would recommend upgrading to at least 2.019:54
jamI think we've had some recent work done on the proxy support19:54
jamyou can get it from our ppa19:54
noskloI will upgrade.19:55
jamhttps://edge.launchpad.net/~bzr/+archive/ppa?field.series_filter=hardy19:55
noskloI'm on jaunty :)19:56
nosklobut okay19:56
jamI would have thought jaunty had newer than 1.13...19:56
jambut sure19:56
jamsame archive has hardy => lucid19:56
KhaZHello: I'm having an issue pushing to a remote repository - it says they're not compatible due to rich root support.  How can I fix this?20:03
KhaZAh; nevermind.  bzr upgrade worked, on a hunch.20:04
=== webchick is now known as webchick|supper
jelmerpoolie, hi22:13
pooliehi jelmer22:15
jelmerpoolie: Should I request a sync of 2.1rc2 to lucid yet or would you prefer to wait until 2.1 itself is out?22:21
pooliei agree with james_w, we should sync now22:23
jelmerok22:24
james_wjelmer: I can pull the trigger if it's just bzr22:24
james_wor if you tell me what else22:24
poolieyou'll probably need some plugins too22:24
jelmerjames_w: all of the bzr world basically :-)22:25
fullermdWhat's happening with 2.1 anyway?  I thought it was to be released yesterday or today...22:25
james_wjust a list of source packages will do then22:25
james_wsaves you filing all the bugs22:26
poolieit will be soon, i think jam was busy with somethig else22:26
jampoolie, james_w: Yeah it was supposed to be yesterday or today, but today I got caught up with $OTHER22:27
fullermdAh, 'k.22:28
jelmerjames_w: oh, it actually seems like most things are already synced22:30
jelmer(looking at http://qa.ubuntuwire.com/mdt/bazaar.html)22:30
james_wah, I'd forgotten about that page22:31
jelmerjames_w: can you just sync bzr from experimental?22:31
=== webchick|supper is now known as webchick
=== salgado is now known as salgado-afk
james_wthere's no bzrtools release to go with it>22:33
pooliei think there is?22:33
fullermdThere's a 2.1.0 out.22:33
poolieat least upstream, announced 5 feb22:34
james_wjelmer: do we not want that first?22:36
jelmerjames_w: hmm, that's a good point. I guess I'm not running the packaged version on my debian box, otherwise I would've noticed22:37
jelmerI'll upload a newer version of bzrtools to experimental as well.22:37
james_wthanks22:37
james_wany chance of a bzr-builddeb upload as well?22:37
jelmersure22:38
jelmerI think the changelog entry needs some work though..22:39
james_wI'm writing it now :-)22:40
lifelessjelmer: hi22:47
lifelessjelmer: bzr-search :) please pretty please please.22:47
jelmerlifeless, hey22:47
jelmerlifeless, can you explain what you would like me to do to it exactly?22:47
jelmer:-)22:47
lifelesspackage a newer snapshot of trunk22:47
lifelessthe ~70 snapshot that is packaged is broken with CHK repos22:47
lifelessits fixed in trunk, and we're getting lots of bugs from packaged-bzr-search users.22:48
jelmerlifeless: revno 77 is the latest version packaged22:48
jelmerat least according to my debian qa page22:49
lifelessinteresting22:49
lifelessoh, I see - karmic.22:49
lifelessSo I think what I mean is 'sob, karmic is bust'22:49
lifelesswe could look at an SRU I guess22:50
james_wjelmer: lp:bzr-builddeb should be ok for an upload now22:53
jelmerjames_w: thanks22:53
jelmerlifeless: ouch :-/22:53
jelmerjames_w: wow, that's a lot of bugs that are fix released now :-)22:54
lifelessbzr-search | 1.7.0~bzr70-1 | karmic/universe | source, all22:55
james_wsome have been fixed for ages, it's just not clear exactly what constitutes a release22:55
jelmerjames_w:   * Upload to lucid.22:56
jelmerthat's not quite true :-)22:56
james_woh yeah :-)22:57
james_w+ (indirectly)22:57
jelmerjames_w: the removal of the dependency on bzrtools isn't mentioned in changelog, did it make it into 2.3?23:36
jelmerjames_w: Looks like it, I'll update changelog23:43
lifelessjames_w: ping23:49
lifelessjames_w: I don't understand why import-upstream would delete stuff (re your calling it dhmake23:49
lifelessjames_w: in fact, bzrtools already has a tarball import; I guess I'd like to see that tarball import do the pristine tar stuff and then builddeb could lose that code altogether (or move it from both into core)23:50

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