/srv/irclogs.ubuntu.com/2010/01/07/#bzr.txt

=== mnepton is now known as mneptok
pooliehello igc00:01
chalkbag_Hey folks, is there a way to rewrite author info on locally committed revisions? I got the email wrong there...00:06
chalkbag_I tried bzr rebase but it doesn't seem to allow that, it looks like it only reapplies the local changes to the tip of the parent tree00:06
spivchalkbag_: perhaps the bzr-fastimport plugin can help.  You could fast-export the revisions, edit the export and then import it again.00:11
spivchalkbag_: I think the fast-import-filter command may even support rewriting authors directly.00:12
chalkbag_Ah, interesting - I was actually wondering if there was a way to create smth like a change set of diffs ala git. bzr send seems to be creating a monolitic diff of everything that changed and doesn't preserve individual commits - unless I missed something there00:12
spivchalkbag_: bzr send will preserve the individual commits00:13
spivchalkbag_: but as a blob that you can't really edit.00:13
chalkbag_really? How do I "replay" them? I tried "bzr patch" but is seems to have applied them all at once - will I see individual revisions after I commit?00:14
chalkbag_So I assume it'll preserve author info as well, right? If not, I can just reapply the patch after changing my email in the config...00:14
james_wchalkbag_: bzr merge or bzr pull00:15
bob2there's the bzr-rewrite plugin, too00:15
chalkbag_bob2 - yeah, I tried that one, it's not like git's rebase, i.e., it won't really let me change anything in the commits, it just reapplies them at the tip as far as I can tell00:16
chalkbag_james_w - I'm not sure I understand how merge/pull would help me?00:17
spivchalkbag_: you can "bzr merge"/"bzr pull" from the file that "bzr send" outputs.00:18
james_wchalkbag_: that's how you apply what bzr send creates, but you are right that it won't help solve your problem00:18
chalkbag_Hmm, and it won't preserve the author info? That might indeed be the easiest way to do that then00:19
chalkbag_Let me give it a quick try :p00:19
chalkbag_yeah, merge wrote the merge commit with my new author info but whatever it merged contains the original email. I guess I'll have to play with fast-import then...00:35
bob2do you care that much?00:36
chalkbag_Not too much but it looks like people on launchpad seem to be using real email addresses and all I've got is smth like foo@mylaptop :(00:37
chalkbag_I should've thought about that before doing the commits but I expected this would be something quite easy to change later on - I guess I got spoiled by git :o00:38
chalkbag_besides, it sounds like a challenge of sorts :p00:38
chalkbag_ok, it looks like fast-export/import should do that, fast-import-filter has an example for rewriting user ids in the --help00:40
chalkbag_thanks folks!00:41
pooliespiv, re bug 503878, i thought we now did better than TooManyConcurrentRequests when the server dropped the connection00:53
ubottuLaunchpad bug 503878 in bzr ""Too many concurrent requests" error during reconcile" [Undecided,New] https://launchpad.net/bugs/50387800:53
spivpoolie: often, although I see that bzrlib/reconcile.py has a "try: ... finally: collection._unlock_names()" which is what's been tripped here.00:56
spivpoolie: i.e. an unconditional attempt to perform a cleanup over the network even if the network connection has gone away.00:57
poolieright00:57
spivI'll put together a simple fix for that for trunk.00:57
poolieoh ok00:58
pooliei'll reopen it00:59
AkillaHey, all, quick question. We're using BZR to make local changes to a public SVN repo. So, we need to maintain the ability to both update from the public SVN server and make our own loacl cchanges with BZR. Some aspects of tihs work fine, but when we try to do individual file commands (i.e. remove) it tries to access the SVN server. Is there any way to disable the SVN functionality of the bzr binaries so that it will just perform B01:02
poolieAkilla: so you have one working tree that's both a svn checkout (controlled by svn) and a bzr checkout (controlled by bzr?)01:07
mwhudsonjelmer: hello, did you see http://launchpadlibrarian.net/37520409/squeezebox-7.5-log.txt ?01:12
Akillayeah... turns out tortoisebzr had a subversion integration installation option.01:12
Akillajust reinstalled adn rebooted and now i'm getting different errors that look like it's trying to actually access the bzr repo.01:13
Akillayeah, apparently this is just a user error as a result of a default option in the tortoisebzr installer.01:17
Akillaignore me. :) thanks!01:17
=== kirkland` is now known as kirkland
GungaDinhi01:40
GungaDinI have an old repo (bzr version 1.xx), and now I'm using bzr 2.0.2 and I keep getting bzr: "ERROR: No repository present: "file:///home...." when I'm trying to do something...01:41
GungaDinany ideas what the problem might be?01:41
* igc lunch01:43
PengGungaDin: Just for fun, try "bzr --no-plugins info" or whatever.01:49
PengGungaDin: Aside from that, upgrading bzr won't break anything. So, most likely there's no repo present...01:50
GungaDinthere always has been...01:50
PengWell, there have been a couple changes, but if they break anything, it should be pretty obscure.01:50
GungaDinI can see the .bzr dir01:50
PengGungaDin: OK, but what about .bzr/repository?01:50
PengGungaDin: And what does "bzr info" say?01:50
GungaDinsame error01:50
PengGungaDin: Oh oh. Did you try to "bzr upgrade"? Does .bzr/repository.backup or backup.bzr exist?01:51
GungaDinno01:51
PengGungaDin: Did you do "bzr reconfigure" or anything else?01:51
GungaDinbzr upgrade gives the same error01:51
GungaDinno01:51
PengErk. Not what I meant!01:51
PengI was asking if you had run "bzr upgrade", not saying you should. Oh well, doesn't matter.01:52
PengWhoops.01:52
GungaDinshould I try bzr reconfigure?01:52
GungaDinany ideas?01:55
maxbGungaDin: Perhaps you could pastebin the output of 'find path/to/that/.bzr'01:55
GungaDinhttp://pastebin.com/d30ca28ad01:58
maxbSo, that's a branch with no repository internally, so it must be expecting to find a shared repository in a parent directory's .bzr02:00
maxbIf there is no such repository, then directories have been moved around on disk in a way which has broken things02:01
=== mlh_ is now known as mlh
GungaDinbut I haven't moved anything...02:11
GungaDinshit...02:11
GungaDinsomething must have happened here...02:11
GungaDinI'm getting this with pretty much all my branches :S02:11
PengGungaDin: Maybe you accidentally had a shared repo very high up, e.g. /.bzr, /home/.bzr or /home/you/.bzr.02:12
GungaDin*sigh*02:13
GungaDincould be...02:13
jdubwhat up bzroes!02:51
jdubi have an http smart server issue02:51
jdubafter 10 successful POSTs to .bzr/smart, i get a timeout...02:52
jdubi have just upped my proxy timeout to 300s02:52
jduband trying it again, but it looks like it's going to fail02:53
jdub(the smart server is loggerhead behind nginx with http auth)02:53
spivjdub: hmm, what smart request, do you know?02:53
spivjdub: (run the client with -Dhpss and peek in ~/.bzr.log)02:54
jdubwill do02:54
jdubaha!02:54
jdubwas waiting for a timeout02:54
jdubbut the client had actually already returned (nothing in logs)02:54
jdubbzr: ERROR: Could not acquire lock "(remote lock)":02:55
jdubshould i try break-lock first?02:55
spivjdub: ah, yeah, probably02:56
spivjdub: this is a 'bzr push'?02:56
jdubyeah02:56
jdubok, i broke the lock02:56
jdubtrying again02:56
spivjdub: my random speculation would be that that insert_stream request might be very large, and would arrive as a single POST — it should be streamed gradually (maybe after a small initial pause), but depending on the various HTTP server bits it's easy to see how that might timeout or cause issues.02:57
jdubrock, that worked02:57
spivAh, good :)02:57
jdubso the biggest POST of about 15 that time was 1507802:58
spivOh, pfft :)02:58
jdubis there an "i'm waiting patiently for this lock to go away" delay?02:59
spiv300 seconds, I think, I don't remember the precise circumstance.02:59
jdubheh02:59
spivThe server won't delay, though (unless your server has a very old bzr!)03:00
jdub2.0.303:00
jduband was previously running 2.0.203:00
spivI don't think the client will via HPSS either (unless maybe if it's fallen back to non-smart VFS methods for some reason)03:00
jdub(before i restarted loggerhead)03:00
spivOk, that's not even close to what I meant by "very old" :)03:00
spivSo, not sure why there was a delay for you.03:01
jdub8)03:01
pooliehi jdub03:06
jdubyo poolie03:09
jdubpoolie: will you be in welly?03:10
pooliehi03:10
poolieno, i have clashing travel03:10
jdubnooooooo03:10
poolieso did you work out your issue with the delay?03:10
pooliei'd probably try stracing the server subprocess03:11
poolieand perhaps put that into a bug03:11
jdubpoolie: well, until i cranked up the proxy timeout, it didn't have enough time to tell me about the lock03:11
jdubpoolie: once the lock was broken, it worked fine03:11
jdubthat it took so long to report about the lock is a bit worrying though03:12
poolieit is03:12
poolieso it would be nice to know what it was doing for all that time03:12
jdubcan i just touch a file to create a stray lock?03:13
poolieit needs to be a directory called 'held' containing a file called 'info'03:18
pooliei think the file can be empty, at least for your purposes here03:19
=== pickscrape_ is now known as pickscrape
spivjdub: python -c "from bzrlib.bzrdir import BzrDir; branch = BzrDir.open($URL).open_branch(); branch.lock_write(); branch.leave_lock_in_place()"03:23
spivjdub: you'll need to use break-lock to tidy up afterwards, of course.03:23
pooliespiv, re bug 50410203:34
ubottuLaunchpad bug 504102 in bzr "test_format_initialize_find_open has some isolation problems" [High,In progress] https://launchpad.net/bugs/50410203:34
pooliecan you tell me off hand when the network_name should be set in a remotebzrdirformat?03:34
spivpoolie: as soon as it is known, IIRC.03:35
spivpoolie: it varies by circumstance a little, I think, which makes it confusing.03:36
poolieand so either initializing a bzrdir, or doing find_format on an existing one ought to set it?03:36
spivI think so, yes.03:36
igchi poolie04:08
igcpoolie: can we make Sphinx a dependency for 2.1 packagers?04:09
igcpoolie: I'd like to drop the old pure-rest docs because ...04:09
igcsupporting them breaks some things in Sphinx (e.g. PDF generation of the User Reference)04:09
jam1hey igc04:12
=== jam1 is now known as jam
igchi jam!04:12
igcHappy New Year04:12
jamSo did I read correctly that you may show up in Strasbourg?04:13
igcjam: maybe - I need to chat to poolie about it04:14
jamigc: well, so far I still need to find out if *I'm* going04:14
jammy wife has a potential trip around the same time, which she should find out about tomorrow04:14
pooliehello igc04:17
poolieigc, the non-sphinx things do make things a bit more confusing too04:17
pooliethere are some index.txts that don't go into the sphinx stuff04:17
poolieyou can do what you think best04:17
igcpoolie: thanks04:17
pooliei'll also mention, though it's not super urgent, the bug asking for rest->texinfo translation04:17
igcI'll email the list anyway asking for objections04:18
poolieapparently jam looked and there is a tool but it doesn't completely work04:18
poolieshall we talk now?04:18
igcas in on phone?04:18
poolieif you like04:18
poolieor here04:18
spivYeah, I've been tripped up by two slightly different doc generation systems, so it would be nice if it were just Sphinx.04:18
igceither is good by me04:18
spivI think I wanted to use some sort of link to another doc that Sphinx supports, but it turned out that the pure-rest stuff didn't.04:19
jamigc, poolie: yeah, getting to texinfo is tricky, and texinfo likes to have "type" info that we wouldn't have04:19
jam(code vs variable vs etc that all generate fixed-width output)04:19
jamspiv: yeah, I'm a bit surprised plain rest doesn't let you link via a '.txt' and then have that translated to a '.html' link when necessary04:20
Guest56789ALGUIEN ABLA ESPAÑOL04:31
=== Guest56789 is now known as ADAN
poolieigc, https://edge.launchpad.net/software-center has mvo with the most karma04:45
pooliespiv, don't forget as pilot you can nag other people for a second review05:53
poolieor even when not a pilot :)05:53
spivpoolie: sure, but it's not really worth it for a one-liner :)05:53
poolieyeah i know05:53
pooliejust meant in general05:53
spivFair enough.05:53
pooliebut also, i really like the way you're handling them05:54
pooliethat was nicely put05:54
vilahi all !07:01
vilahmm, I haven't realized that MPs now present the post-review commits in the comments, nice. The sugar on top would be a button to present the associated diff :)07:02
jmllocked 145 hours, 58 minutes ago07:03
jmlniiiice.07:03
jmlvila, you can click on the revno to get the diff07:03
vilaooh, but they are ! revnos are clickable and show just that !07:03
vilajml: hehe07:03
jml145 hours ago is not a helpful number07:04
vilaI just love those moments where you think: "IWBN if they put it here... try... it works !"07:04
jml(the rule is, if your number makes people want to do arithmetic, it's the wrong number)07:04
spivjml: sure it is, it means "less than one week"... doesn't everyone know that a week is 168 hours (and that a day is 86400 seconds...)?07:05
vilaspiv: wrong, may French still think a week is 35 hours :-D07:07
vilas/may/many/07:07
* vila always made typos in jokes :-/07:08
jmlvila, :D07:10
* igc dinner07:10
spivvila: hah07:11
vilaspiv: in case things happen without further warnings: enjoy your new life as a dad ! It's certainly one of the most exciting experience in life :-)07:29
spivvila: thanks!07:30
MFenhave a conceptual question07:55
MFeni have a branch of lp:txgenshi, call it O for original.  i also have three branches working on different features for it07:56
MFencall them A, B, and C. they build on each other in that order (B contains changes from A, C contains changes from B)07:56
MFeni'm currently working on *B*.  however i need changes from C.  how do i do that without just making B and C the same?07:57
MFeni want it to be possible to review B without looking at the changes in C07:58
MFendoes stacking help me out in any way with this?07:58
PengNo.07:58
PengWellll, if you're using Launchpad's review system, when filing the merge proposal for B, you can set C as a prerequisite; then the diff will be against C, so you'll only see B's changes.07:59
PengWell, I don't know what exactly the diff will be against, but that's the end result.08:00
MFenbut that'll be circular. B is already a prerequisite for C08:01
spivMFen: do you need all of C in B?08:03
MFenprobably, yeah08:03
MFenB is a bugfix. C is unit tests. they were opened as separate bugs.  i want to add unit tests for the bug fix, but the unit tests didn't exist before I made C08:04
spivSo you really want to the ordering to be A, C, B, rather than A, B, C?08:04
PengYou could add B's unit tests in C.08:04
MFenum. maybe!  C hasn't been reviewed yet, though. what if i need to make changes to C after that?08:04
PengThen C would need B, but B would not need C.08:04
MFeni don't understand what stacking does, if it doesn't allow me to segregate my changes08:05
spivMFen: stacking is a storage and network transfer optimisation, not a semantic difference.08:05
MFencrap.08:05
spivMFen: so it allows you to push up just the changes unique to a branch, and say in that branch "you'll find the rest of the history over *there*".08:06
MFenso basically C is B plus some changes.  therefore it doesn't make any sense to talk about making changes to B that aren't part of C08:06
MFenright08:07
spivHm, I'm having trouble following you.  One moment it seems that you say B is meant to contain all of C's changes (and history), then the next you say it's the other way around.08:07
MFenit's both. i *want* to be able to make changes to either one without impacting the other08:08
spivI guess the question to ask is "what do you want to present to the reviewers?"?08:08
MFenotherwise none of this makes any sense, workflow-wise08:08
MFenit's not just a question of what i present to the reviewers08:08
MFenthat only matters if we all assume my changes are perfect08:08
MFenif there are any changes needed post-review, then i need to make them in both places08:09
spivWell, if your changes are assumed to be perfect, you wouldn't need reviewers ;)08:09
MFenwhich means "why did i make two branches in the first place"08:09
spivWell,08:09
spivif say the branches are ordered A,B,C, and you need to make post-review changes to B...08:10
spivThen the change you'd make in C, if it is important that C is kept current with those changes, is just a merge from B.08:11
lifelessMFen: you ask 'without making B and C the same' - merge B to C regularly. Don't merge C to B ever.08:11
lifelessMFen: then they won't be the same.08:11
spivWhich might not impact things like the diff of C vs. B at all.08:12
MFenlifeless: if i do that, won't the reviewer reviewing C be looking at the changes from B?08:12
lifelessMFen: depends on how they review08:12
spivMFen: not if the reviewer is reviewing C with respect to B.08:12
lifelessif they look at (B, C] then they get only stuff new to C08:12
lifelessif they look at (trunk, C] then they get all of A,B,C08:12
MFenwell, let's assume they're using lp's diff view08:13
spivMFen: i.e. assume B as a pre-requisite that is being reviewed separately (Launchpad's review system has good support for this)08:13
lifelessMFen: lp's diff view? do you mean loggerhead?08:13
MFenhells if i know. i made a merge request, and i see a diff button.08:13
lifelessMFen: more precisely, gimme a url to be clear about what you mean.08:13
MFenhttps://bugs.launchpad.net/txgenshi/+bug/502821 green diff link08:13
MFenthat is C08:13
MFen520823 is B08:13
spivMFen: then LP will basically show the reviewer the output of "cd lp:.../B && bzr merge --preview lp:.../C"08:14
MFenspiv: how does it know?08:14
lifelessMFen: when you propose the merge, you tell it where B is08:14
spivMFen: there is a "prerequisite branch" field on the "merge proposal" form08:14
MFenyeah, but i didn't fill it in08:14
lifelessMFen: workaround time: cancel that merge proposal. Do it again.08:14
MFenoh ok, and it is in fact showing my B changes, i think08:15
spivMFen: https://code.edge.launchpad.net/~corydodt/txgenshi/502823/+merge/16954 looks promising :)08:19
MFenok, cleaning up those merge requests helped, now the diffs show only (B, C]08:20
MFenspiv: are you claiming the review or just telling me i did it right?08:20
spivMFen: just saying that appears you've navigated the lp merge proposal stuff successfully.08:20
MFenyeah. i think i did that much right08:21
MFenso moving on to the next step08:21
spivMFen: although the __provides__ hack looks a bit alarming tbh!08:21
MFenyes.08:21
MFenbzr merge B into C ... the diff for C will still ignore anything merged from B?08:21
spivMFen: it may well be right, of course, but I'll leave that to someone with some actually knowledge of the situation to review :)08:21
MFenno, it sucks. my proposal for this bug eliminates the need for the hack08:21
spivMFen: yes, if you update C (including merging a newer B into C) the updated diff will still only show the changes new in C08:23
MFenah, because it actually does cd into B first like you said. great.08:25
spivMFen: (well, not cd literally, it uses the bzrlib API, but equivalent to that yeah)08:27
MFenyeah, i get it conceptually08:27
spivCool.08:28
PengSay you have branches a, b and c. You file a proposal to merge c into a, with b as a prerequisite. Is the diff just "cd b; bzr merge --preview ../c", or is it like "cd a; bzr merge b; bzr merge --preview ../c"?08:28
PengErr, "bzr merge ../b". But you get the point.08:29
spivPeng: yes ;)08:29
PengJerk. :P Heh.08:29
spivPeng: not sure, abentley or someone else from the lp code team could answer I'm sure, or you could look at the source.  My guess is the former, though.08:29
PengI'm sure I could do an experiment, but I'm too sleepy to figure out how.08:30
PengAh. A should have revisions 1-2. B should have 1-X, and C should have 1-Y, I think?08:30
MFenPeng: what you just described is exactly what i've been doing, i think. so i can tell you it's the first one08:31
PengOK. You sure?08:31
MFeni have a <- b <- c08:31
lifelessPeng: check the code08:32
Peng:(08:32
=== loxs_wrk is now known as loxs
MFenmerge request for c into a, depends on b. the diff shows c diff b, not c diff a08:32
MFenit assumes you will land b first, i guess08:32
PengNot c diff a+b?08:32
MFennope08:32
PengHuh.08:33
PengThat would be more complicated and more likely to cause conflicts, but also more correct...08:33
MFenif you're going to land c before b, then you really don't need b at all. landing c will cause b to land08:33
MFenin my case i expect b to land first, so it makes more sense to me08:34
MFenok, one more question along these lines:08:45
MFenif i use bzr bind, does that automatically merge changes into whatever location i gave it?08:46
MFen(therefore, should i always bind A to B and B to C, forward along the dependency chain)?08:47
lifelessno08:51
lifelessbind makes a branch work like a checkout08:51
lifelesse.g. its useful for a shared branch that multiple people commit to, nothing else.08:51
MFenthe glossary says bound branch and checkout are synonyms, so that isn't helping me :)08:52
lifelesscheckout is what svn does08:52
MFenok, so it does a push?08:54
lifelessno08:54
MFenwhat happens when i commit to a bound branch08:54
lifelessit just changes the behaviour of subsequent commands in that directory08:54
lifelesswhen you commit in a bound branch it does a 2-phase commit to both the master and the cwd08:54
MFenis there any difference between that and a puh?08:59
MFenpush08:59
spivMFen: bind basically means "keep this branch in sync with the target branch", so when you make a commit both cwd and master are locked, then new revision written to both, then that transaction is committed.09:03
MFenk09:04
spivMFen: whereas if you are unbound and push, the end result is typically the same (both branches at same rev), but obviously how you get there is a bit different, and if other people might write to your branch then the master can diverge between you doing "bzr commit" and you doing "bzr push".09:05
MFenspiv: is it committed locally in both cases?09:08
spivI'm not sure what you mean.09:11
spiv(I know what sort of things I'd mean by that phrase, but not what you do)09:12
MFenbzr st will show nothing modified after09:12
Raimif the commit fails on the bound branch, it fails locally, too09:12
spivMFen: right09:12
MFenok. so that is a different end result09:12
MFenin commit+push, it is committed locally even if push fails. in bind+commit, it is not.09:13
spivMFen: (assuming the commit succeeds, as Raim points out, though commits may fail for reasons other than a bound branch with diverged master, e.g. pre-commit hook)09:13
spivSo if you like the big difference is that when things have diverged you'll get a failure at the commit step rather than later.09:14
MFenok09:15
lifelessMFen: there are two key differences between bound commits and  push:09:16
lifelessfirstly, parent ordering is preserved (because you do merges with the same parents as the master)09:16
lifelesssecondly, out of date branches cannot commit when bound.09:16
lifelessMFen: spiv: sorry for echoing spiv late there, I didn't read to the bottom :)09:52
jelmermwhudson: no idea, I thought I had fixed all places where that appears11:20
henningeHI, I know I had figured it out before but I can't remember how it worked.11:25
henningeI want to use bzr-pipelines (again) to hack on Launchpad.11:25
henningeI have my lp-branches repository and in there the devel branch (and other's).11:26
henninge(forget the ')11:26
henningeI know pipelines are "just" light-weight check-outs - but of what?11:27
henningeI don't want a light-weight check-out of devel, because then I'd be committing all changes there.11:28
henningeActually, my situation is even different. I have a (heavy-weight) branch of devel that I have been hacking on but now I want to add a pipe to do extra work. I don't know how. I must be missing something obvious.11:29
james_wbzr reconfigure-pipeline to start I believe11:31
jelmermwhudson: these issues usually take up quite a bit of time, perhaps we could have a look in NZ?11:39
henningejames_w: appearently not if you already have a repository.11:43
henningejames_w: from bzr help reconfigure-pipeline:12:05
henninge  This is suitable if you have a standalone tree, but if you have a12:05
henninge  shared repository with its own organization scheme already, it's probably12:05
henninge  better to just create a lightweight checkout.12:05
henningejames_w: I figured it out now:12:05
henningebzr branch devel mywork-pipe112:06
henningebzr checkout --lightweight mywork-pipe1 mywork12:06
henningecd mywork12:06
henningebzr add-pipe mywork-pipe212:06
henningeThis will create all pipes as siblings, so in my repository I now have directories "mywork", "mywork-pipe1" and "mywork-pipe2".12:07
henningeThe confusing thing is that that the pipe directories don't show any changes, no matter what I commit in mywork, I guess that's because the pipline commands only work on the branch, not the tree. (Or is it the other way round?)12:09
james_wyeah, I think you "bzr update ../mywork-pipe1" you will see the changes appear12:11
henningejames_w: yes, it does! cool, thanks12:13
marek_hi i have a problem, i have two computers and one server, every one has repo , from 1 computer i can push and other can merge, but when i try it in other way - while i try to push i can see "no revisions to push" but i changed some files13:38
marek_can you help me?13:38
Pengmarek_: Have you committed?13:39
marek_locally13:43
marek_yes13:43
marek_bzr status -> clean13:43
Pengmarek_: Then I guess you've already pushed?13:44
Pengmarek_: Do "bzr log -r -1 -n 1 :push".13:44
PengHmm, that looks a little Git-like. :P13:44
awilkinsYou might have a checkout rather than a branch?13:45
awilkinsaka "bound branch"13:45
PengAh, good point. marek_: What does "bzr info" on your local branh say it is?13:45
awilkinsRevisions committed locally automatically committed to remote branch... do `bzr info` in tree13:45
marek_on server: bzr info:13:51
marek_http://pastebin.com/m6657940713:52
marek_on local i can also see something about13:52
marek_related branches13:52
Pengmarek_: OK, but what's the first line of the client's info?13:54
marek_standalano tree13:54
PengAh.13:54
Pengmarek_: Then, most likely, you already pushed.13:54
marek_but i cannot see it on server13:54
marek_ecen after update13:54
marek_on othe computer if i merge changes i dont see modified files :(13:55
Pengmarek_: Ohh? What does "bzr log -r -1" say on both branches?13:55
marek_on local: revno 25 [merge] and commiter - local user13:55
marek_on server:13:55
marek_revno 23 and different user13:56
PengHuh.13:56
PengIt's possible something has gone horribly awry, but most likely it's something basic like you're pushing to the wrong place...13:56
awilkinsdo `bzr missing --mine <server branch>`13:57
marek_gosh other pc was using bzr explorer14:01
marek_and path was ....14:01
marek_local !!! ^&%&^!%^&@!14:01
mok0Is there a trick you need to do to update the directory tree in the "central" repo? I have a checkout on my laptop at home, I did a "commit" but I can't seem to extract the changes on my main workstation.14:41
mok0... bzr update doesn't do it, I should say.14:43
awilkinsmok0, If the revision you committed on your laptop hasn't been pushed to the main workstation (or a repository it can see) then you can't see those changes14:53
mok0awilkins: it's a checkout14:53
mok0awilkins: it gets pushed when I commit14:53
awilkinsThey're both checkouts of the same repo?14:53
mok0yes14:53
mok0awilkins: I can check tonite if I did something wrong14:54
mok0Just puzzled14:54
mok0awilkins: the laptop dir is a checkout of my working dir on the workstation14:54
mok0awilkins: just wondering if there's a bzr command I don't know about.14:55
awilkinsmok0, Did you do the commit while on the same network as the workstation?14:56
mok0awilkins: I am using the bzr+ssh protocol. I am not sure I know what you mean by "same network"14:56
awilkinsTry "revert"14:56
mok0awilkins: nothing happens14:57
awilkinsCan you see the revision you committed from the laptop in the local log?14:57
mok0no14:57
mok0Perhaps there's something in .bzr that could give a clue?14:58
awilkinsYou have your laptop with you?14:58
mok0awilkins: No :-) that's the problem. I did some work at home, committed it (AFAIR) and went to work14:59
mok0w/o the laptop :-)14:59
awilkinsThe tree on the laptop is either a standalone, or you committed with the --local flag14:59
mok0awilkins: well, you must be right15:00
awilkinsOr it's bound to another branch15:00
awilkinsThat isn't the one you're working on15:00
mok0awilkins: apparently :-/15:00
awilkinsStill, merges are easy :-)15:00
mok0awilkins: fortunately! Oh well I'll figure out what's going on when I get home15:01
awilkinsBefore policy locked out thumbdrives I used to bind my checkouts to a folder on a thumb drive15:01
mok0awilkins: what policy is that?15:01
awilkinsOur management policy15:01
mok0Ah15:01
mok0I guess thumbdrives are inherently unsafe15:02
rubbsso are users, but they don't stop those from connecting ;)15:02
awilkinsThat worked very nicely... since I take my laptop home I now just run a bzr:// server on it when I want to sync15:02
mok0"oops I lost my thumbdrive, the entire IP of my company has gone missing"15:02
mok0:)15:02
awilkinsThe idiotic bit is that we're working hard to open-source as much of my work as possible15:03
rubbsoops, I just left the company with all the newest ideas in my head.15:03
awilkinsAnd I don't have any confidential data15:03
rubbshaha15:03
awilkins(I work for a government agency)15:03
mok0Well managers love to enforce stupid rules they think are important15:03
awilkinsSince we are the IT arm of this agency we get to guinea-pig all the stupid ideas for the parts that DO have confidential data15:04
mok0Sysadms are generally opposed to openness. The create restrictions just because it's possible15:04
rubbsI resent that!15:04
rubbshehe ;) I'm a part time admin15:04
awilkinsThe fewer degrees of freedom your workstation has, the lower the skill required to adminster it15:04
mok0rubbs: resent what, my statement or what I'm saying?15:05
mok0rubbs: so am I15:05
mok0awilkins: hehe15:05
rubbsjust that sysadmins are apposed to openness. I wouldn't quite say that15:05
awilkinsI think it's sensible to prevent normal users doing stuff15:05
rubbsthis is true15:05
mok0rubbs: I didn't say _all_ sysadms15:05
rubbsah, then I'm sorry I over reacted15:05
awilkinsBut it's a pain in the ass for developers.. we have a different class of support problems though15:05
rubbsawilkins: I've been in your boat too, that's why I try to make it easy. finding the balance is hard.15:06
awilkinsLike the time last month when I trashed the stupid full-disk encryption boot block on both my machines... because standard users don't dual-boot Linux from external drives15:06
rubbsluckily I have a pretty small support group, so I don't have to juggle too many needs.15:06
rubbsawilkins: haha15:07
awilkinsThe knee jerk response would be to prevent booting from external drives.. and would cripple my productivity15:07
awilkinsMore interesting than "I forgot my password" though15:07
awilkinsThey're now removing admin rights from our users that need them though, on general principles15:08
awilkinsSo when you get a new machine on the refresh program, you lose admin rights until you kick up a fuss about it15:08
awilkinsEven if you are developer15:08
mok0I've been admin for our local network (~20 workstations) for 10-15 years. I've had hacker visits 2-3 times. Always amateurs, and it's taken 5 minutes to get rid of them once I discovered them15:08
awilkinsWindows?15:09
mok0That is w/o firewall15:09
mok0awilkins: No! Linux15:09
mok0Just using the standard tools like iptables etc. to block intruders15:09
awilkinsI just wish our infratructure was friendlier to Linux15:10
mok0That's why I frown at sysadms who restrict their users in every possible way in fear of hackers15:10
awilkinsThey got rid of a perfectly good IMAP server that you could access outside the office network15:10
awilkinsAnd replaced it with Exchange15:10
mok0awilkins: isn't that the PURPOSE of an imap server :-)15:10
fullermdWho needs IMAP?  Everybody just uses gmail, right?15:10
awilkinsWhich you dare not expose on the internet, so it's closeted behind an XMLRPC firewall15:10
mok0fullermd: I use gmail15:11
awilkinsSo only Outlook and OWA15:11
awilkinsCan't use gmail15:11
mok0I use gmail's IMAP :-)15:11
awilkinsStupid patient-confidentiality rules, dammit15:11
rubbsawilkins: know that well. I work with PHI too.15:11
mok0awilkins: can't you encrypt them?15:11
fullermdPointless.  Google Knows All And Sees All anyway.15:11
awilkinsUsed to be able to use thunderbird inside and out15:11
awilkinsNow I use Outlook because otherwise I'll have to use VPN, which is a PITA, or Outlook Web Access which sucketh mightily15:12
mok0awilkins: :-(15:12
awilkinsmok0, We wouldn't have a large enough contingent of people who understand encryption15:12
mok0awilkins: hmm. People can be educated15:13
awilkinsmok0, This is an organisation which advocates using an approved motorbike courier because it's apparently secure15:13
awilkinsAnd destroying _encrypted_ flash media after they served their pupose15:13
mok0awilkins: what if someone rams him and steals the documents?15:13
awilkinsmok0, Indeed.. they also advocate that sending mails to people on our own email domain to be secure15:14
* mok0 is for unlimited openess on the internets15:14
awilkinsmok0, But as we know, damn sysadmins will just read it15:14
awilkinsmok0, my personal position is GPG for everything15:14
mok0awilkins: ... and then people print out the confidential mails and bring them home :-)15:14
awilkinsAnd screw the couriers15:15
mok0awilkins: I agree15:15
awilkinsAnd post15:15
mok0awilkins: absolutely15:15
awilkinsProblem is they take their encryption advice from GCHQ which has the wrong set of requirements15:15
awilkinsLike key escrow15:15
mok0awilkins: there's no remedy for incompetence in the upper cadres15:16
awilkins"GPG for everything confidential" is a lot simpler than memorizing rules about whether it's OK to mail someone with a gmail account or which bike messengers are accredited15:16
mok0awilkins: indeed. And security != control15:16
awilkinsI mean, key escrow for signing keys on medical records... no practitioner will go for that15:17
mok0I actually don't know key escrow15:17
awilkinsThey keep a copy of the private keys centrally15:18
mok0Ah15:18
mok0awilkins: that's for unsophisticated users15:18
awilkinsSo, what doctor would be happy with "Hey, your records can be VERIFIED to be from you.. apart from if <agency X> wants to fake them"15:18
mok0exactly15:18
awilkinsOr some hacker steals the escrow DB, which lets face it, would be a FAT target15:19
mok0Most encryption schemes don't take into consideration that the "bad guy" is the government or some other agency15:19
mok0That's where GPG differs15:19
awilkinsOr some schmuck in the data centre offered a few $10k for the key database15:19
mok0awilkins: right15:20
mok0Well, the climate guys from East Anglia are probably sorry that they didn't encrypt their mail correspondence15:20
awilkinsWhereas my medical record architecture is so private that the patient can potentially restrict access to his records to everyone, except himself.15:21
awilkins:-)15:21
awilkinsShame it'll never catch on15:21
awilkinsI should write it up just as a thought experiment and see if I can get a presentation of it under the wire15:21
mok0awilkins: I'm in a university and I have to tell the students about GPG15:21
mok0awilkins: good idea15:22
awilkinsI discovered PGP in my first year15:22
awilkins(some time ago)15:22
mok0My position used to be this: "I have no secrets, I don't care if ppl see my email correspondence"15:22
mok0Now I'm not so sure. If someone evil got hold of it all, I'm sure they could dig up some dirt to throw at me15:23
awilkinsThen you have Eric Schmidt saying "Hey, if people have no secrets, they shouldn't care if we see their email"15:23
awilkinsAnd get worried15:23
mok0and Eric Schmidt is...15:23
mok0?15:23
awilkinsGoogle person?15:23
mok0ah15:23
awilkinsI may have wrong guy15:23
awilkinsNope, right guy15:24
mok0... and those statements are meant as a comment to their searching gmail accounts?15:24
awilkinshttp://gawker.com/5419271/google-ceo-secrets-are-for-filthy-people15:25
* mok0 looks15:25
* rubbs goes and checks it out as well.15:26
mok0Oh... In principle I agree with Eric Schmidt on this very particular subject15:27
awilkinsI do plenty of things that are legal that I wouldn't want people knowing about15:27
mok0Although I don't agree with the header... it's somewhat misleading anyway15:27
mok0awilkins: yes15:27
awilkins "If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place."15:28
mok0Of course there are things that are secret. But if they're not, you can't complain that Google finds them15:28
mok0awilkins: I'm sure that's taken out of context15:28
mok0Idunno15:29
mok0Google doesn't index email15:29
mok0and they shouldnt15:29
awilkinsIt seems more reasonable when you view the clip15:29
awilkinsThey don't publicly index email15:29
awilkinsThey must index it somewhere for you to be able to search it so quickly15:30
mok0Ah, ok, but my Google Chromium browser wont show it :-D15:30
awilkinsOdd, I'm running Chrome and I see it fine15:30
mok0I disabled falsh15:30
mok0flash15:30
awilkinsAh15:30
awilkinsAnd they process email so they can show context ads15:30
awilkins(which you don't see over IMAP, natch)15:30
mok0I use their imap service so I never see it15:31
awilkinsHis point that the government can technically ask them to cough up their data is fair15:31
awilkinsHis attitude doesn't seem to have the same tone as the story title15:31
mok0That is why you should encrypt email that you don't want anyone to see15:31
awilkinsAnd funnily enough, the clip is from a company owned in large part by MS15:32
mok0... then if Eric Schmidt thinks you are filthy... I can live with that15:32
mok0hehe15:32
awilkinsThey should change the email icon to a postcard instead of an envelope15:33
mok0hehe15:33
mok0yes15:33
mok0That's what email is, anyway15:33
awilkinsThat envelope icon does more to raise peoples expectations of email privacy than anything else15:33
mok0"Sending mail in an envelope are for filthy people"15:33
mok0s/are/is15:34
awilkinsThe security policy at work... actually suggests LABELLING the envelope you send with a courier as a secure document15:34
awilkinsAhaahahahahahahhahaha15:34
awilkins"STEAL ME"15:34
mok0Now THAT'S funny!!15:35
awilkinsNot that security by obscurity is a good thing15:35
mok0:-)15:35
awilkinsBut damn, labelling things as being more valuable? Before handing them to a guy who earns £5 an hour to motorcycle through British weather?15:35
* mok0 thinks most investigations are done by traffic analysis anyway15:35
mok0The (insert favourite TLA) just needs to locate terrorist/criminal/etc. networks15:37
mok0they can do that by traffic analysis, and there's nothing you can do about it15:37
mok0NOTHING15:38
J-m-DWe are using svn for versioning. Our useage is a bit "uncommon" - we mainly have binary files, and quite large ones. The central repository is very important for us so we have a central back up aswell as central access to all files. Could bzr bring something to the table that we miss out on in svn?15:39
J-m-Dbtw - we are all on windows15:40
mok0J-m-D: the most obvious advantage is the ability to have off-line branches15:41
mok0J-m-D: "distributed development"15:41
J-m-Dsomething that is not very important for us atm.15:41
mok0J-m-D: AFAIK tagging and branching is heavy in subversion. Do you use that a lot?15:42
rubbsJ-m-D: bzr also allows for easier merges. merging in svn is pretty tough... although I haven't done it in svn in a while admittedly15:42
awilkinsBazaar is less adept at coping with large binary files... but there are some advantages, esp. if they are compressible15:42
awilkinse.g. - I've got a Bazaar working tree + repo with full history that's 2.5GB... the SVN checkout on it's own is 4.0GB15:43
J-m-DBranching and tagging is almost non-existant with us for now.15:43
mok0J-m-D: if you only need a "data store" then I honestly don't think it matters what VCS you use15:44
mok0J-m-D: if you are planning to revise your workflow, then bzr offers lots of options15:44
mok0J-m-D: consider svn a subset of bzr15:45
J-m-Dsvn seems to handle binary files quite good - revisions are made incrementally which is nice. It makes updates and comitts less heavy. How does bzr handle revisions of binary files?15:45
mok0J-m-D: ugh. Don't know to be honest. I just know it works15:46
mok0J-m-D: personally, I use it quite a lot for PDF files15:46
J-m-DWhat could be interesting is if bzr is more flexible than svn in handling revisions of individual files. If we want to have an older version of something, it is allmost allways just an individual file - we never make a new branch of a project.15:48
mok0J-m-D: Don't you use the status of the entire directory tree?15:50
J-m-DNope, very seldom since we mostly work on large graphics files and 3D graphical assets.15:51
mok0J-m-D: then I'd suggest to use a separate repo for each component15:52
mok0J-m-D: that you can check out in whatever context you need15:52
J-m-Dohh, I'm afraid that would be totally impractical - there are quite a few components for every project.15:53
mok0bzr can give you a svn-like workflow, but it can also give you other options15:53
rubbsJ-m-D: I think that you could still get individual files, but it would probably be from a branch.15:53
mok0J-m-D: I see15:53
J-m-DRenaming is allso quite indflexible in svn since it seems to be made by a delet-and-re-comitt-method or something. Takes quite a while to get it done on a large repository.15:53
mok0J-m-D: the best I can suggest is to try out bzr on your project and see how it performs in practice15:54
J-m-Dmok0: I guess I'll have to do that. Thank you for all the imput - much appreciated.15:54
litwolhello15:55
mok0J-m-D: good luck! Come back later, perhaps ther are more qualified ppl15:55
litwolWhat command allows me to list available project branches ?15:55
litwoland how can i switch between them ?15:55
J-m-Dmok0 - sure will. And your suggestions were good enough for me at least. Thanx again.15:56
mok0litwol: branches are stored in each their directory15:56
rubbsJ-m-D: renames are supported in bzr as fully versioned.15:56
litwoloh ...15:56
beunovila, so we're releasing 1.0?  :)15:57
mok0litwol: there are ways of working with stacked branches but I've not tried that15:57
J-m-Drubbs: oki. interesting. thnx15:57
vilabeuno: hehe, not yet, but that doesn't forbid using the milestone :)15:57
mok0litwol: in it's basic form, no bzr branch would know about other branches... only the parent15:57
litwoli c15:58
litwolty15:58
J-m-Dthanks for now. See you later guys.15:58
mok0litwol: however, if you use Launchpad, it's different15:58
beunovila, we should figure out what we want for 1.0, and target it!15:58
rubbsJ-m-D: np. see you later15:58
vilabeuno: I agree, I think the list we did at UDS is a good target, I'm fighting for free time to work on it though :-/15:59
vilabeuno: may be we should just go for time-based release...15:59
beunovila, we'll pull through, even if it's me hacking up code you you cleaning it up  ;)15:59
beunowell, it is stable enough16:00
beunoI'll go through the list of bugs and features16:00
jammorning vila and beuno16:13
vilamorning jam16:14
beunohiya jam16:19
* vila EODing, already late for school meeting :-.16:33
=== beuno is now known as beuno-lunch
chxi just committed with the wrong commit message can i change it?17:00
=== deryck is now known as deryck[lunch]
chxah bzr uncommit17:02
chxgreat.17:02
maxbHas anyone performed any sort of trade-off analysis of methods of converting from svn to bzr? There seem to be quite a few of them.17:06
jelmermaxb: What sort of tradeoffs do you mean?17:15
maxbAny discussion that would assist me in deciding which method I'm better off using17:16
jelmermaxb: Can you give some examples of tradeoffs though, I'm not sure exactly what you mean by that.17:18
maxbI have lots of projects in a svn repository which I'd like to convert to separate bzr repositories. I see that there are at least two mainstream methods of doing so - bzr-svn and bzr-fastimport -  and a bunch of other ones too. I'm looking for any guidance that will help me choose which I should use.17:20
jelmermaxb: as far as I know both should be able to convert subprojects to separate bzr repositories17:23
jelmerbzr-fastimport doesn't do deterministic revision ids, so you can't pull from the original svn branch later on unless you have the mapping files17:25
jelmerbut on the other hand, it might do rename detection, which bzr-svn doesn't do17:25
maxbOK, I guess I'll just need to explore the options17:42
maxbOn another topic, is there any software to facilitate code review via bzr branches that companies can install for internal use - i.e. not Launchpad.17:43
maxbI was going to look at BundleBuggy, but the project doesn't seem too healthy now bzr has left it17:43
awilkinsmaxb, Launchpad can be installed locally... it's rather large though... I've just never had the time to finish configuring it17:47
maxbawilkins: Yes, but not legally, unless you find a graphics designer to make you a new set of icons17:48
awilkinsWhat license are the icons under?17:48
maxbCanonical Proprietary17:49
awilkinsDoes "internal code review" count as development or production... but yes, that's slightly troublesome17:51
=== tchan1 is now known as tchan
=== Supertan1er is now known as Supertanker
jelmermaxb: reviewboard has bnasupport17:56
jelmermaxb: reviewboard has basic support for bzr bundles17:57
maxbI will have to investigate that17:57
=== deryck[lunch] is now known as deryck
jammaxb: BundleBuggy is probably not actively maintained by abentley anymore, but it is probably a decent starting point.18:15
jamI've heard good things about ReviewBoard, though.18:15
maxbThe most dispiriting thing about BundleBuggy was that it has quickstart documentation that doesn't work :-)18:16
=== beuno-lunch is now known as beuno
rindolfHi all! I just blogged about how much bzr sucks - http://community.livejournal.com/shlomif_tech/41922.html18:24
nailuj24rindolf: well done my dear...18:25
=== chx is now known as chx_food
jpdsrindolf: Which version of bzr are you using?18:26
rindolfjpds: 2.0.318:26
jpdsFormat <RepositoryFormatKnit4> for lp-64863440:///~inkscape.dev/inkscape/trunk/.bzr is deprecated - please use 'bzr upgrade' to get better performance18:27
jpdsrindolf: Tell the Inkscape guys to do that.18:27
rindolfjpds: it's in my bug report.18:28
rindolfIf it's hosted on LP , why isn't it upgrade automatically?18:28
rindolfIt takes a second for bzr --version to run.18:29
* fullermd gets very unhappy with hosting providers screwing with his data...18:29
maxbrindolf: Because it would be very stupid for Launchpad to silently force new formats on people when their local bzr versions might not be new enough18:29
jpdsrindolf: Backwards compatibility with what the developer is using I guess.18:29
maxbrindolf: Whilst I agree that bzr's speed is not great, I don't think the attitude of your blog or bug report is anything other than unproductive18:32
* fullermd notes that the branch of postr takes 26 seconds, and the diff 0.16 from here..18:32
fullermdOf course, going over a dumb protocol (http) means that latency is going to kill you flat dead.  And you may be rather farther away from it than I am.18:33
maxbrindolf: In fact, why on earth do you comment on the time taken for the error to occur, when it's clearly a network problem18:34
Takoriginality: 4% accuracy: 6% grammar: 20% emotionality: 30% overall troll: 10%18:40
pturcotteIs there a way to prune (remove) a part of the history? Let's say from revision 1 to X while the actual version is at X+50 ?18:41
james_wpturcotte: no, that's not really possible18:41
rindolfmaxb: if it stops in the middle, I should be able to resume it later.18:41
=== chx_food is now known as chx
Flydoire|Taktikhi everyone19:16
Flydoire|TaktikI just tried to install bzr on snow leopard from the pkg. bzr command does not work : bzr: ERROR: Couldn't import bzrlib and dependencies19:17
Flydoire|Taktikanyone has an answer ?19:17
pturcottejames_w: thanks.19:28
pturcotteThen, is there a way to reduce the disk usage of the branch. My branches are around 420Mb, mostly binary files that are not in use anymore.19:29
james_wnot really, bzr is designed to have immutable history, and it's tough to get around that19:33
KinnisonDo we have history horizon yet?19:36
mwhudsonjelmer: ok, i guess we should file a bug in the mean time?19:36
awmcclainHi all -- I've been looking through help commands but can't find it -- How do I get the last revision that a particular file was changed?19:45
lukssomething scriptable? if not, I'd use bzr qbrowse19:48
luks(`bzr qbrowser -r -1` to be more specific)19:50
luksotherwise you probably have to mess with bzr log19:50
lukswhich is not going to be very fast19:51
luksI don't know of any built-in command that exposes the information, even though bzr has it easily available19:51
awmcclainluks: Ok. Sounds great. Thanks!19:52
Flydoire|Taktikfamiliar with this error ? : bzr: ERROR: exceptions.TypeError: Auth providers should be list ?20:17
lifelessFlydoire|Taktik: no, but I'd guess at a old plugin or something like that.20:28
Flydoire|Taktikhum20:28
Flydoire|Taktikwhat about bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(connected=True, username=u'fl-taktik', host='bazaar.launchpad.net', port=None)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.20:29
Flydoire|Taktik.20:29
Flydoire|Taktik?20:29
fullermdThat's usually a secondary symptom.  Perhaps of the error you mentioned before.20:31
Flydoire|Taktikwill the bazaar.launchpad.net server kill my concurent requests so that it will work in a few hours ?20:32
fullermdThere probably AREN'T any concurrent requests.  It just looks like it when the connection fails.20:32
fullermd(that error is from your local bzr, not from LP)20:33
Flydoire|Taktikhow to I fix it ? Do I have to get the latest trunk version ?20:33
fullermdAre you sure there's something to fix?20:34
fullermdThat's an error that pops up in a single bzr invocation, and usually is just fallout from an earlier error.20:34
Flydoire|TaktikI just got the bzr: ERROR: Could not acquire lock "(remote lock)":20:35
fullermdIt doesn't in itself leave anything hanging around for later runs.20:35
Flydoire|Taktikso I break-lock20:35
Flydoire|Taktikand I bzr pull again20:35
Flydoire|Taktikand boom : bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests20:35
Flydoire|Taktikwhat shoul I do ?20:36
fullermdYes, that's not from the break-lock.  That's from some failure in that specific invocation, probably having to do with the connection either breaking or not being properly established.20:36
fullermdIs there any output other than that?20:37
Flydoire|Taktikyep20:37
Flydoire|Taktikhttp://pastebin.com/d38355f1120:38
fullermdWhat the error generally boils down to is a generic sort of "Hey, I can't seem to talk across this connection I expect to be there"20:40
fullermdSo you need to figure out why the connection isn't working out.20:41
fullermdThere may be something in .bzr.log about it, or you may need some debug flag...   -Dhpss maybe, to get it to tell you more.20:41
fullermd(I don't know what would show you useful output)20:41
fullermdStart off simple; can you connect to LP with sftp?20:42
Flydoire|Taktiktrying20:42
Flydoire|Taktikyes20:43
fullermd'k...   try pulling over sftp instead of bzr+ssh (just change the protocol on the URL).  'll be a lot slower, but...20:44
Flydoire|Taktikwhere do I change the protocol ? in .bazaar/authetication.conf ?20:45
fullermdNo, just do it manually.20:45
fullermdbzr pull sftp://......20:45
Flydoire|Taktikworked :D20:46
Flydoire|Taktikthanks fullermd20:46
fullermd'k, so it's just something with bzr+ssh.20:47
fullermdTry it with that regular URL again; maybe it was just a transient problem somewhere.20:47
Flydoire|Taktik...trying...20:47
fullermd(you definitely don't want to use sftp instead of bzr+ssh in general; lot slower and more resource-consuming on both ends.  Useful diagnostic though, since it tests most of the same infrastructure)20:47
Flydoire|Taktikworked fine20:48
fullermdIf it consistently works with sftp, and consistently fails with bzr+ssh...   well, we've localized it at least.  I don't know where do go from there, if something like -Dhpss doesn't tell any more.20:48
Flydoire|Taktikmaybe a pb in my repository ?20:48
fullermdHm.  OK.  We'll just chalk it up to Random Internet Schizo Crap   8-}20:48
Flydoire|Taktikworks : bzr pull bzr+ssh://fl-taktik@bazaar.launchpad.net/~openerp-community/openobject-addons/taktik/20:49
Flydoire|Taktikdoes not work :  bzr pull20:49
fullermdWell, that's a very different URL from what you've got there as the parent...20:50
Flydoire|Taktikwith20:50
Flydoire|Taktik$ bzr info20:50
Flydoire|TaktikCheckout (format: unnamed)20:50
Flydoire|TaktikLocation:20:50
Flydoire|Taktik       checkout root: .20:50
Flydoire|Taktik  checkout of branch: bzr+ssh://bazaar.launchpad.net/~openerp-community/openobject-addons/taktik/20:50
Flydoire|TaktikRelated branches:20:50
Flydoire|Taktik    push branch: bzr+ssh://bazaar.launchpad.net/~openerp-community/openobject-addons/taktik/20:50
Flydoire|Taktik  parent branch: bzr+ssh://bazaar.launchpad.net/~openerp/openobject-addons/5.0/20:50
* fullermd blinks.20:50
lifelessok, you shouldn't be pulling here20:51
fullermdOK, well...   I'm not sure what you're asking for makes much sense.20:51
lifelessuse update instead20:51
fullermdpull'ing the branch you're a checkout of is nugatory.20:51
Flydoire|Taktikok : sorry, I'm new to bzr, and it's quite confusing20:51
fullermdNow, it may make sense to pull that parent.  I can see how that might legitimately give that error, if bzr is being too dumb or too smart about its connection, though.20:52
fullermdSo, that might actually be a legitimate case of that error message.20:53
Flydoire|Taktikpull is to get changes from other branches, update just updates the current branch, right ?20:54
fullermdUpdate roughly means "update my working tree to match the branch".  Pull roughly means "update my branch to match this other branch".20:54
fullermdSo when you run 'bzr update', you're saying "Get this working tree at . up to match the branch at bzr+ssh://[...]/taktik/"20:55
fullermd'bzr pull' is saying "Update my branch at bzr+ssh://[...]/taktik/ to match the branch at bzr+ssh://[...]/5.0/"20:55
fullermdIt's believable that bzr is doing something overly {smart,stupid} about trying to reuse a single connection to LP to do both sides of that.20:56
fullermdWhich would bring up that error.20:56
* fullermd passes that one to lifeless.20:56
jelmermwhudson, please do20:57
Flydoire|Taktikok, thank you for your time fullermd20:58
jelmermwhudson: does that branch have any round-tripped revisions?20:58
mwhudsonjelmer: your guess is as good as mine20:58
jelmermwhudson: svn proplist on the branch root should tell you20:58
mwhudsonjelmer: it has a svk:merge property, is that enough?20:59
jelmermwhudson: that would suggest at least that the problem is not in the roundtripping20:59
jelmermwhudson: although svk does often create very strange situations21:00
pooliehi jam?21:09
pooliehi all21:09
jamhi poolie21:09
jamgood morning21:09
poolieshall we talk?21:13
awmcclainluks: What if I used bzrlib? I'm scripting the rev stuff, but it's from a python script21:22
awmcclainluks: Would that be faster?21:22
luksawmcclain: should be easy enough to write a plugin that does that21:23
luksoh, it's actually a python script21:24
luksyes, that should be easy21:24
luksnot sure if I'm the best person to help though. my bzrlib knowledge is probably mostly obsolete by now :)21:25
luksI'd use something like wt.inventory[wt.path2id(filename)].revision21:28
luksbut there is probably a better way now21:28
awmcclainthanks!21:29
lifelessawmcclain: bzr ls would be a good place to put that query21:35
lifelessawmcclain: in order to make it more easily scriptable21:35
awmcclainlifeless: Ah, smart.21:35
awmcclainWhat, you don't like  bzr log  settings.py | sed -n 2p | sed "s/revno: \([0-9]*\).*/\1/"? ;)21:36
lifelessawmcclain: not really, no.21:36
lifelessawmcclain: :)21:36
=== Noldorin is now known as Leto
=== Leto is now known as LetoAtreidesII
=== LetoAtreidesII is now known as LetoAtreidesI
=== LetoAtreidesI is now known as Noldorin
jamawmcclain: besides, grepping .bzr/checkout/dirstate would be a lot faster :)22:16
igcmorning22:40
mr-russin bazaar, can I merge a number of commits and push them as a single changeset to a parent tree?  I can't find if you can in the documentation.22:43
lifelessmr-russ: bzr branch parent foo; cd foo; bzr merge source_branch; bzr commit; bzr push :parent22:45
mr-russokay, so you merge from a branch which appears then as a single changset and push that.22:46
mr-russso in bugfix lifecycle you branch for bugfix, make 10 commits to get it all fixed propertly.  merge to you parent tree, then commit and push.22:46
m3gahi all, i'm looking for a pre-commit hook that would check all the files in the current commit, check if they have a copyright notice and if they do check if the current year is included in the (c) notice. if its not it would barf.22:49
mr-russokay, now conversely, how would you keep the entire commit history when pushing?  push the child tree directly?22:51
lifelessmr-russ: yes22:53
lifelessmr-russ: no data is lost either way; its just what is presented22:53
mr-russlifeless: thanks.  I've been unable to find anything on that from google.22:56
=== nailuj24_ is now known as testuj5
* igc bbl23:36
pooliehi igc23:50
pooliehi m3ga23:50
pooliem3ga, i don't know if there is one like that23:50
pooliei think there is a plugin that enforces whitespace rules and similar things at commit time23:50
poolieand jml has one that checks for todo comments23:50
poolieso you could adapt one of them23:51
jmllp:bzr-todo23:51

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