/srv/irclogs.ubuntu.com/2007/11/20/#bzr.txt

abentleyYeah, we be hardcore.  But how come it's not listed in Gutsy's /etc/services?00:11
jroeshow do I revert to a specific revision?01:28
lifelessrevert -r revno01:30
jroeswhere would that be documented? :)01:31
lifelessbzr help revert01:31
AfCbzr help revert01:31
lifelessas well as the man page and IIRC users guide too01:31
AfC"Come join #bzr, the channel with attitude for the tool with attitude"01:31
lifeless:)01:32
jroescool :)01:32
jroesthanks guys, not sure why I couldn't find it01:38
RotundI have some questions.02:59
RotundIs it costly to push from a repository (init-repo) to a branch not in the repo?03:00
radixRotund: you mean, push a branch which is sitting in an existing repository to somewhere else? yep03:01
radixRotund: you can push it anywhere you want, including other shared repositories03:01
radixoh. I should read *all* the words03:02
RotundWould that be more expensive than pushing from one branch not in a repo to another that is not in a repo03:02
radixRotund: so, if you're pushing to an existing branch, only the new revisions will be sent03:02
radixso it can be very fast03:02
radixif the other side has most of the revisions already03:02
RotundI'm not finding that to be the case03:03
poolieigc, hi?03:03
radixand you can even push into remote repositories, so even if you're creating a new branch it can be fast if the repository has most of the revisions.03:03
igchi poolie03:03
RotundI have a collection of drupal sites I'm managing with bzr03:03
RotundI have a "base install" and each site gets a branch.03:04
RotundI make changes to the base.  Go to each website and merge03:04
RotundFAST great (they are in a shared repository).03:05
poolieigc, would 9am tomorrow be ok for a standup meeting?03:05
RotundNow pushing those changes to an already created repository is pretty costly03:05
poolieactually, 9am daily starting tomorrow?03:05
igcpoolie: my 9am or your 9am?03:05
poolieyours03:05
igcyes03:05
pooliecool03:06
igcI was expecting one today :-)03:06
RotundI've tried sftp, bzr (running a server), and bzr+ssh.  All seem to take 2+ minutes to push just a module change03:06
radixso you've got something like site-repo/{base,website1,website2,website3} ?03:06
igcpoolie: this channel?03:06
Rotundradix: exactly03:06
radixRotund: and it gets slow when you push what to where?03:06
RotundI now need to push from my local (my computer) branch to the server's branch03:07
radixRotund: ah, do you have this structure mirrored on your local computer and on the server?03:07
Rotundyup03:07
RotundI don't have it bound (is that the term?)03:08
radixRotund: ok. and are you extra-sure that both sides have the shared repository in the parent directory? there should be a .bzr there03:08
Rotundwould that help?03:08
radixRotund: binding shouldn't matter03:08
radixi.e. site-repo/.bzr03:08
Rotundonly one side has the shared-repo03:08
radixRotund: I'm not exactly sure what kind of operation you're doing, but making both sides shared can vastly increase speed of some operations03:09
Rotundis there an added penalty for having one side shared and the other not?03:09
radixnotably, pushing up new branches03:09
RotundI'm just pushing changes though (version 8->9 for instance)03:09
radixhm. to an existing branch?03:09
radixin that case, it should be fast no matter what your shared repo setup03:09
RotundThat's what I would've thought03:10
radix2 minutes definitely sounds weird, for just one revision. are the revisions large?03:10
Rotund933K03:10
radixRotund: is it made up of many small files?03:10
Rotundit is 42 files03:11
radix933k isn't exactly a light revision, but I guess this is the point where my knowledge reaches its limit03:12
RotundI've done things like 1 big file and it'll end up 20 min +03:12
radixRotund: what kind of bandwidth and latency do you generally get between these hosts?03:12
Rotundbig = ~3 MB03:13
RotundI'm not sure.  It's dreamhost03:13
Rotundgonna test... one sec03:14
Rotundouch.  50KB.03:15
RotundHmmm.  That's awful.03:15
radixthat's plenty fast for uploading 3MB :)03:15
radixway faster than 20 minutes, anyway03:16
RotundThough, I'm still getting the file in ~6 min03:16
Rotund(Testing a 25 MB one)03:16
RotundI just walked away for that03:16
RotundIt's typically the fetch stage that kills me03:17
Rotund(stage 1)03:17
RotundIs that the actual transfer?03:18
RotundIf so, I guess I could live with it.03:19
radixI assume it is03:19
Rotundokay.  Well, thanks03:19
RotundBTW: I'm all hyped for PyCon this year =)03:20
radixMph. I guess I'm probably not going to be there.03:20
RotundThey have a week before and after for sprinting, right?03:20
RotundWhy not?03:20
warrenHow good is the bzr to CVS export tools?03:21
warrenCan they relied upon in an automated way...03:21
abentleyYou mean converting from bazaar to CVS?03:22
warrenYes.03:22
RotundThat was my question03:22
radixRotund: a friend of mine (who would also be at pycon were it not for this) is getting married :)03:22
Rotundradix: were they there this year?03:22
abentleyOkay, well, I have no idea about that.03:23
RotundMan, I may have to find someone else to bug all the time now =(  ;)03:23
radixRotund: glyph was.03:23
radixRotund: heh. it was pretty good convo last year.03:24
Rotundglyph's getting married?03:24
radixrighto.03:24
radixRotund: I hope your game projects are going well, btw :)03:24
Rotundradix: Wow.  And he chose PyCon to do it during?  Why am I hearing the cracking of whips over and over ;)03:24
radixheh heh03:25
Rotundradix: so is most of the Twisted guys gonna be MIA?03:25
radixI imagine there will be a weakened presence this year.03:26
Rotundradix: I wish... unfortunately, real world work is taking all my time03:26
radixRotund: stupid real world.03:26
Rotundradix: Though, I've been doing quite a bit of Python training and evangelism03:26
Rotundradix: Many of our customers are switching to python03:27
radixexcellent03:27
jamwarren: are you saying the conversion tools, or the one that lets a CVS user checkout files from a Bazaar branch03:27
warrenjam, conversion03:27
jam(AFAIK they are readonly, but reasonably good)03:27
warrenah, didn't know the latter existed03:27
jamI don't know of any specific converters that start with Bazaar and go to CVS03:27
warrenoh03:27
jamI suppose Tailor would be an any-to-any03:27
Rotundradix: Honeywell, Rockwell Collins, (testing for both) and most of the tools used for the 787 are Python (though I don't think I've seen Twisted)03:28
jamhttps://launchpad.net/bzrcvsserve03:28
Rotundradix: well, that real world thing is calling.  have a good one.03:29
radixyou too man. take it easy.03:29
jamRotund: fun to hear about Rockwell Collins, I interned there for a summer for the Large Format Displays on the 76703:30
jamIIRC they were looking at Python because its license was better than Perl03:31
jam(being BSD rather than a form of GPL meant it was more obvious that it wouldn't invade accidentally)03:31
* igc lunch04:04
ubotuNew bug: #163995 in bzr "Re: bzr register-branch is undocumented in manpage" [Undecided,New] https://launchpad.net/bugs/16399507:10
AfCSo notwithstanding the email thread on the topic, should I be telling people to `bzr branch` or `bzr clone` when downloading the sources (for the first time)?08:23
lifelessbranch08:23
lifelesshere's how I describe it08:23
lifeless'if you want a mirror that you won't edit, do 'bzr checkout''08:23
lifeless'if you want to start a new line of development, to hack on the code yourself, do 'bzr branch''08:24
lifeless(for the former, use bzr update to keep the mirror up to date, for the latter use bzr merge to incorporate changes from the origin)08:25
jameshI wonder if people would complain if "bzr fork" was an alias for "bzr branch"?08:33
fullermdfork should do more than just branch, though.  It should send of a fiery "screw you guys, I'm going home" mail to the project's mailing list.08:40
fullermdObviously another address we need to store in branch metadata...08:40
AfClifeless: (actually I was asking about `clone` vs `branch`, not `checkout` vs `branch`) abentley was pretty adamant that clone and branch behave differently, which was rather an interesting surprise.09:03
AfCMeanwhile, you know how you look at the generated Index listing on a web server for a directory with a Bazaar Branch present, but no Working Tree, and it looks to a lay person like nothing is there? I had some fun this afternoon and scratched an itch:09:05
AfChttp://research.operationaldynamics.com/bzr/java-gnome/mainline/09:06
mwhudsonAfC: neat09:11
mwhudsonfor launchpad we were thinking of running codebrowse from the same url space as the branch09:11
AfCmwhudson: yeah, that works too09:12
lifelessAfC: abentley said that the internals differ for the 'sprout' and 'clone' apis.09:12
AfCmwhudson: I had a darcsweb installation before, but at a different URL space09:12
lifelessAfC: at the ui clone is an alias for branch.09:12
AfClifeless: oh. Ok. I will stick with clone, then.09:13
lifelessAfC: saying 'branch' is really better IMO09:13
AfClifeless: (he really made it sound like there was some difference having to do with Working Trees or soemthing)09:13
lifelessAfC: it indicates the semantic action that takes place.09:13
fullermd'get' is the one that always throws me for a loop.09:14
AfClifeless: personal reasons: 1) I find the term branch getting overloaded, especially with new users:09:14
AfC"run the bazaar branch command to get a branch of the bazaar branch which is then a branch that you can branch yourself"09:15
fullermdAfC: I did a mini-rant on that Way Back When...09:15
AfClifeless: personal reasons: 2) many of my new potential hackers at the moment are Git aficionados; making the very first command they see a bit more familiar helps get them going. It's a little thing, but it seems to help.09:16
AfC[and I'm hyper conscious of trying to present them a good impression]09:16
lifelessfair enough09:17
AfClifeless: had a really interesting run through that with Carl Worth via phone the other day. He'll be down at LCA in Melbourne; I'd like to encourage you and Martin and whoever else to have a chat with him then using him flailing at [as it happens my project] as a case example for someone who is _really_ deep into Git but not a shit when dealing with other people.09:18
mwhudsoni alternate between get and branch randomly i think09:18
mwhudsonmore likely to use 'get' on a remote branch09:18
AfCmwhudson: that makes sense too09:19
LarstiQlifeless: pong09:42
lifelessLarstiQ: where is your subtrees branch ?09:42
lifelessLarstiQ: It keeps coming up, and no-one knows where to go to get your current state.09:43
lifelessLarstiQ: so I'd really love it if you made it visible - it doesn't matter if its not functional, just making it accessible++.09:43
LarstiQlifeless: https://code.edge.launchpad.net/~larstiq/bzr/nested-trees may not be entirely up to date, just a sec09:44
lifelessthanks!09:44
* LarstiQ needs to fix the pending work and actually commit something09:44
lifelesssmall commits++09:45
LarstiQlifeless: I'm spending 2 hours on that now09:45
lifelessLarstiQ: yay!09:45
lifelessI'm about to sleep, so gnight!09:45
LarstiQlifeless: I cognitively entirely agree with small commits++09:45
LarstiQlifeless: good night09:45
jayesh_i think bazaar don't have many starting level tutorial !09:47
jayesh_i really struggled to start with09:48
AfCjayesh_: what are you having trouble with?09:49
jayesh_to understand DRCS09:50
jayesh_i am an svn user09:50
=== weigon_ is now known as weigon
=== mrevell is now known as mrevell-lunch
=== mw|out is now known as mw
matkorHi. Is it possilbe to downgrade branch/checkout to given revision ? How can I do it ?13:24
fullermdWhat do you mean by 'downgrade'?13:24
fullermdChange the files?  Change the basis tree?  Discard later changes semi-permanently?13:25
matkorfullermd: checkout source is now under -r 10013:25
matkorI did bzr update13:25
matkorbut no I want have checkout at revison 5013:25
matkorbecouse sth went  wrong13:25
AnMasterhttp://bazaar-vcs.org/ConfiguringBzr#head-8b89e546875b2447e015c0b83e423ef4d99ce6e0 refers to "when-required"  "Sign newly committed revisions only when the branch requires signed revisions."13:26
AnMasterhow does one set a branch to require it13:26
AnMasterI can't find it13:26
fullermdmatkor: Well, still, kinda a question of what you're trying to accomplish.  Are you wanting to just look at/play with the files as of rev 50?  Are you wanting to craft up a rev 101 that looks just like r50?  Are you wanting to throw away r51-100 and start over from 50?13:27
matkorI want temporarly have rev 5013:29
matkoruntil I fix problems and commit more13:29
matkorrevisions13:29
matkorlets say 105 which fix poblems13:30
fullermdWell, sounds like using 'revert' is probably your closest bet.  That'll just change your WT files, not anything else.13:30
AnMasteranyway what about the signing?13:31
AnMaster:)13:31
=== mrevell-lunch is now known as mrevell
fullermdAnMaster: Search me.  I think there's some branch config option that may do it, but last I heard the gpg code had a lot of exposed innards and spiky edges in those places.13:32
AnMasterI see, I searched all docs, googled and so on13:33
AnMasterI really need to enforce signing however :/13:33
fullermdMight try asking jam when he shows up (couple hours, probably); I think he knows that part of the code reasonably well.13:33
AnMasterhm, couple of hours, argh. not here then probably13:34
mwhudsoni think you edit gpg_policy or something in locations.conf13:34
AnMasterhm? isn't locations.conf for the old way of storing parent branch and such?13:35
* AnMaster thought it was stored in the branch nowdays13:35
AnMasterif it matters: I'm using a shared repo for all my branches with the format "dirstate-tags"13:35
AnMaster(and I do use tag feature)13:36
matkorfullermd: Thank you very much ... revert seems ok13:36
matkorfullermd: To get latest reviosion again. I do : bzr revert ; bzr update, right ?13:36
fullermdmatkor: Just the 'revert' by itself should do it (unless more new revs showed up in the branch of course)13:37
=== cprov is now known as cprov-lunch
jayesh_i just created an experimental branch in bazaar.. and i am trying to push to that.why it is taking long time?15:01
jayesh_is it not pushing a diff ?15:02
=== bigdo1 is now known as bigdog
AnMasterfullermd, hm you there?15:49
AnMasterhow long until that "jam" shows up do you think?15:49
jonny2hi, can use a command to use my version of all conflicts?15:58
=== cprov-lunch is now known as cprov
lifelessmoin19:14
jelmerhey lifeless19:33
thumpermorning bizarre dudes20:32
lifelesshi20:33
=== cprov is now known as cprov-away
floamis the push-and-update plugin still the "right way" to maintain a working tree on a sftp remote location?21:34
lifelessfloam: yes21:35
floamok. I thought maybe it was replaced by something smarter since I've been getting deprecation warnings every time I use it since 0.90 and I've seen no updates to it21:36
lifelessperhaps you could file a bug on it then ?21:36
floamwell, it works fine21:36
floamI just get this every time:21:36
floam/Users/floam/.bazaar/plugins/push_and_update/push_and_update.py:119: DeprecationWarning: bzrlib.transport.split_url was deprecated in version 0.90.21:37
lifelessyup, please file a bug.21:37
floamok.21:37
Pengcheck_signatures = always is invalid, right?22:05
PengArrgh.22:05
PengI mean create_signatures.22:05
Pengcheck_signatures uses always but create_signatures uses "require".22:05
PengOh. I do mean check_signatures.22:07
PengApparently I needed more sleep.22:08
PengAnyway, I was asking because the configuration.txt doc gives an example of check_signatures = always once but usually uses "requires" and only lists "requires" as valid.22:09
PengErr, "require". no s.22:09
igcmorning22:22
jam-laptopigc: good morning22:22
igchi jam-laptop22:23
=== jam-laptop is now known as jam
jamsilly Colloquy won't let me change the default username22:23
jam... :(22:23
jamI blame Mac's "don't have an Ok button" design philosophy22:24
=== asak_ is now known as asak
jamlifeless, igc:  so are we getting ready to do the conference call?22:57
jami don't see poolie22:57
thumperjam: there he goes ^^23:00
jamhi poolie23:00
jambye everyone23:00
jam  thumper: will you be joining us?23:02
thumperjam: no, got to go and collect my daughter23:02
jampfff, weak23:02
jamyou make a big deal about sitting in23:02
thumper:)23:02
jamand then back out :)23:02
thumperI was just checking23:02
jampoolie, igc, lifeless: Are we meeting now? It was supposed to start 10 minutes ago23:13
jamwell 13 by my clock23:13
igcjam: we did :-)23:13
jamshoot23:13
jami pinged at 3minutes till and nobody said anything23:14
jamI'm glad it went quickly, though23:14
igcit was a conference call - just finished23:14
jamsure, but I don't like calling phone numbers cold...23:14
jamwhen I know there are people online23:14
jamanyway, sorry I missed it23:15
igcpoolie is waiting for lifeless to arrive so there may be a follow-up shortly if you're still around23:15
jamwas there a conference code number?23:16
igcjam: anyhow, for me today: 1. blackbox tests for switch; 2. User Guide23:16
jamor is that just Martin's room23:16
jam#23:16
jamI think we need to address the community pushback about 1.023:16
igcyes23:16
jamwhich probably isn't a 15-minute phone call23:17
igcagreed23:17
jamanyway, I actually need to get going23:20
jamI'll thank you in advance for all your help23:20
jam(since I'm gone for Thanksgiving :)23:20
* jam => away23:21
lifelessola!23:34
lifelessjamesh: enjoy!23:36
lifelessjam: Enjoy!23:36
jameshenjoy what?23:40

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