/srv/irclogs.ubuntu.com/2008/10/20/#bzr.txt

=== jamesh__ is now known as jamesh
lifelesspoolie: ping03:24
pooliehi03:28
lifelesscan I ring?03:28
poolieapparently yes :)03:28
grettkeHi guys. Newbie question: When I create a mirror branch, I must first run init-repo. Doing so tells it to store new revisions in the src repo, not the branch. When I create a task branch, though, how does it know to keep revisions in the branch. I am confused about the role of init-repo...04:25
Verterokgrettke: the init-repo creates a shared repository, where you 'll create/branch your feature branches04:28
Verterokgrettke: maybe 'll help if you just see the shared repository as a revision storage04:29
lifelessgrettke: init-repo creates a database for the bulk content to be stored in; all other commands operate on branches - pull works branch to branch04:29
lifelessgrettke: runnning 'init-repo' is *entirely optional*. If you just want to mirror one branch of a project, don't bother with init-repo.04:30
Verteroklifeless: hi04:31
lifelessVerterok: hi :>04:31
Verterokthanks for the detailed explanation of shared repos :)04:31
grettkeVerterok: Ok. So this is something like an optimization, don't check out the entire history for every single branch I want to create, since I should just do it once for the mirror and levergae that for branches of the mirror?04:32
grettkelifeless: I see. I'm looking at mirroring and then branching multiple projects.04:33
grettkeThanks guys.04:35
lifelessgrettke: yes, shared repos are precisely an optimisation04:36
grettkeVerterok and lifeless: What repo structure do you recommend for the "Team collaboration, distributed style" of development?04:39
lifelessgrettke: any04:44
lifelessrepo structure is orthogonal to workflow04:44
grettkelifeless: I see. We are all "used to" the svn style.04:44
lifelessgrettke: svn conflates repository and branches04:47
lifelessgrettke: workflow in bzr is focused purely on branches04:47
lifelessgrettke: commonly every developer will have one or more repositories whereever they have branches04:48
grettkelifeless: So if there are two centralized projects, proj1 and proj2, then a developers run init-repo twice (creating separate directories) , one for each project?04:52
grettkelifeless: Why are centralized repos initialized with the --no-trees option?04:53
lifelessgrettke: a developer could have one repo for both, or two repos, or one repo per branch - whatever suites their needs (multiple machines, etc etc)04:55
lifelessgrettke: the --no-trees option is useful for wherever you won't be editing the source code04:56
lifelessgrettke: central servers don't generally have people editing code on them :P04:57
grettkelifeless: Understood. Thank you. I just finished reading the user-guide, so I was dying to ask some questions.04:57
grettkelifeless: One good thing about SVN is that it will get people off of CVS and onto a Distributed VCS quickly ;)04:58
lifeless:P04:58
grettkelifeless: Here is what I mean: It is not radically different from CVS, and it "fixes" some things. If you dig into SVN more than superficially, and you learn how it works, the SECOND thing you will start asking for (the first is merge tracking) is "disconnected-commits".05:00
grettkelifeless: So I wasn't teasing, SVN lowers the barrier for CVS users!05:00
grettkeThanks lifeless, Verterok, goodbye.05:10
* vila not really here, yet, but soon06:55
lifelessvila: thanks for your email06:56
lifelessvila: a bundle would have been better06:56
lifelessok, night all06:58
vilahi all07:26
vilalifeless: sry, I keep forgetting that (my editor provides shelf-like features for bundles as well as any bzr command output)07:27
vilapoolie: ping07:28
beunomornin' vila07:28
vilahi beuno !07:28
beunohow's it going?07:29
vilabetter and better, mouth can open by 2cm in the morning, reaching 3 or 4cm in the evening, eating has become a possible alternative again :-)07:32
pooliehi vila07:32
vilahi poolie07:33
vilalifeless: If you pass around and have some minutes to spare, I'd like to chat a bit (not more than some minutes, I swear :)07:40
gourhi, do you recommend 'dive into python' book for learning the lang?07:46
gour(so we can help hacking bzr one day)07:46
spivgour: its pretty good, IIRC.07:51
spivgour: it might be slightly dated w.r.t. to current versions of Python, but probably not enough to matter.07:51
gourspiv: thanks. i was reading 'learning python' but it's kind a slow, although it covers 2.5 with the reference what 2.6/3.0 changes07:53
spivgour: http://docs.python.org/tutorial/index.html isn't too bad either07:54
spivgour: it depends a bit on the audience, I think.07:55
gourspiv: how much of the language is covered by tutorial?07:55
gourstuff like generators, decorators, new-classes etc.07:55
spivgour: it covers generators, it doesn't cover decorators or new-style classes that I can see.08:01
gourspiv: thank you08:02
spiv(although new-style classes hardly warrant covering, except to say "unless you know what you're doing, always use 'class Foo(object):' rather than 'class Foo:', or use '__metaclass__ = type'".08:02
spiv)08:02
gourhmm, good to know08:03
spivgour: http://docs.python.org/glossary.html may be another useful resource for a novice Pythonista.08:03
spivgour: e.g. it gives a succint description of new-style class :)08:04
gourspiv: thanks a lot08:06
chandlercdo svn:externals work in bzr-svn?08:25
gourchandlerc: not (yet) :-(08:25
chandlerck, i suspected as much08:26
gourthat forces me to still fetch via svn :-/08:26
jelmerchandlerc, bzr-svn can't support externals atm since bzr itself doesn't have any feature they could be mapped to08:47
chandlercjelmer: the sub-tree thing?08:48
chandlercthat may be an experimental feature that i was playing with, but it seemed a pretty direct mapping onto svn:externals08:48
jelmerchandlerc, subtrees always refer to a specific revision08:48
jelmerchandlerc, svn:externals can (and usually does) point at the latest revision08:49
chandlercodd, from a subversion developer, i was told to only use svn:externals to point to a specific revision08:49
chandlercbecause the other behavior isn't well defined (what version it points to isn't itself versioned)08:49
lifelessjelmer: subtrees can have policy to update to a newer rev according to the design08:50
jelmerchandlerc, sure, but they do support it and it's the most common behaviour08:50
jelmer*commonly used08:50
lifelessvila: hai, not really here08:50
lifelessvila: drop me a mail though08:50
chandlercwell, as all the projects I want to use externals in would use them locked at specific revisions... ;] any chance of partial implementation with those semantics?08:51
vilalifeless: ok, asap08:51
jelmerlifeless, sure, what I'm saying is that atm there is no such policy08:51
jelmerchandlerc, not likely while by-reference nested tree support is still experimental08:53
chandlerck08:54
vilalifeless: email sent09:10
bugabundo_workhi11:53
bugabundo_workis it a good idea to use bzr as a TimeMachine?11:54
bugabundo_workI made two local repos on my machine11:54
bugabundo_workon for /etc and another for /home/me/11:54
beunoI don't think it is11:54
beunoit will blow up with large files11:54
beunodoesn't do binary deltas11:55
beunoetc etc et11:55
bugabundo_workI filtered *.avi *.mp3 and stuff11:55
bugabundo_workplus I'm just adding files by hand11:55
bugabundo_worknot add . recursive11:55
bugabundo_workcan that be the cause of11:56
bugabundo_workhttps://bugs.launchpad.net/bzr/+bug/286266 ?11:56
ubottuLaunchpad bug 286266 in bzr "bzr add crash" [Undecided,New]11:56
bugabundo_workit crash every time on some PDFs11:57
beunowell, if it11:57
beunoit's for text files, maybe11:57
beunostill not sure if it's the best choice11:57
luksbugabundo_work: crashes in what way?11:58
bugabundo_workit gives a backtrace11:59
bugabundo_workits attached to the LP ticket11:59
lukshmm12:00
g0ph3rhi folks, i've just tried pushing one of my branches to an FTP server of my web hoster and got temporary ftp errors 451. digging in the bazaar bugs revealed bug #154259. this bug description indicates that the ftp append/restart commands may depend on the repository format (knit in this case). my question now is: could i workaround this issue by upgrading to a newer repository format?...12:39
ubottuLaunchpad bug 154259 in bzr "traceback on temporary ftp error" [Undecided,Fix released] https://launchpad.net/bugs/15425912:39
g0ph3r...anybody familiar with the ftp commands required by the different repository formats?12:39
spivg0ph3r: the pack-0.92 format (which is the default in current releases) probably does avoid using append/restart over FTP.12:52
g0ph3rhm... upgraded a temp. branch of my branch to the 1.6.1-rich-root format but still got the same errors when trying to push to the FTP server... so it seems as if there's no easy workaround available :(12:52
g0ph3rspiv: thx, but my branch is already using pack-0.92 format...12:52
spivg0ph3r: ah, 1.6.1-rich-root should behave the same as pack-0.92 in this respect, so I guess you're stuck.12:52
* g0ph3r nods12:52
g0ph3rwell, would have been nice...12:53
spivThere's a limit to what we can do to workaround broken FTP servers.12:53
g0ph3ryep, unfortunately, there probably even less i can do to convince my ISP to fix their server ;)12:53
lifelessvila: I replied13:51
vilalifeless: Me too, unless you replied again but then it's in the pipe13:53
=== rocky1 is now known as rocky
=== lamont` is now known as lamont
trotek.16:06
strkso, it looks like bzr-gtk plugin makes X a requirement to even pull...16:22
strkapt-get remove --purge bzr-gtk # fixed it (I think I filed a bug already, just wanted to make sure, somebody here should have it assigned IIRC)16:22
strkops, bzr-gtk didn't fix it, must be bzr-dbus16:23
strkyep, confirmed16:25
dereinecan i export a certain update between 2 versions17:04
dereineso i can copy the update to another pc and merge it17:04
beunodereine, bzr send -r rev1..rev217:05
beunoshould do it17:05
beunounless you just want a diff17:05
dereinethx17:05
vilajam: ping17:35
jamvila: pong17:35
vilabug #279831 is back but a bit different17:36
ubottuLaunchpad bug 279831 in bzr-gtk "C-extensions in bzr.dev cause "bzr gcommit" to issue exception" [High,Fix committed] https://launchpad.net/bugs/27983117:36
vilaCan we chat a bit about it in around 2 hours ?17:37
jamvila: it isn't back, it was never fixed17:37
jambzr-gtk never accepted my patch17:37
vilaouch17:38
jamI'm not sure if it got enough visibility17:38
jamlifeless didn't really think it was worth patching bzr.dev, because it is really a bug in bzr-gtk that it was expecting exactly "True"17:38
vilaI'm sure it isn't, but the new case make it worst as if the gap between commit and gcommit was growing17:39
jamanyway, I'm a bit here and gone because my son is sick, but if I'm around I'm happy to chat17:40
vilajam: ok17:42
vilatake care of him17:42
DimmuRhello everyone - is it possible to configure bazaar to work only with passwords (for update to and from bzr) ?18:11
ekahi all19:22
luksjelmer: hi, is there any known workaround for https://bugs.launchpad.net/bzr-svn/+bug/260416 ?19:35
ubottuLaunchpad bug 260416 in bzr-svn "corruption when "pull" on a bazaar repo" [Critical,Triaged]19:36
SmileyChrisdoes bzr have a command to apply a patch?20:54
SmileyChris(a diff)20:54
LarstiQSmileyChris: `bzr patch` is in bzrtools20:55
LarstiQSmileyChris: alternatively, the standalone patch utility will do too.20:56
SmileyChrisLarstiQ: cheers, but the standalone one dosen't handle renames does it?20:56
LarstiQSmileyChris: if you have a bundle instead of a patch, you can use `bzr pull` or `bzr merge`20:56
LarstiQSmileyChris: if you have a plain patch produced by the diff program, that doesn't handle renames natively, no matter how you apply it.20:57
SmileyChrisit's a diff from bzr20:57
LarstiQSmileyChris: but you can use `bzr mv --after` to tell bzr about renames after they happened20:57
LarstiQSmileyChris: produced in what way?20:57
SmileyChrisbzr diff i guess20:57
LarstiQSmileyChris: (or, can you show me the first 10 lines of it)20:57
LarstiQSmileyChris: if `bzr diff` produced it, then it's in the same format as regular patch and diff, no added help from bzr there.20:58
SmileyChrisok, I'll just do the moves manually... thanks20:58
SmileyChrishrm, I can't - it says the new folder is not version20:59
SmileyChris*versioned20:59
LarstiQSmileyChris: I don't know what situation produced this diff, but for distributing changes a bundle (produced by `bzr send`) is more useful20:59
SmileyChrisi agree :)20:59
SmileyChrisi'll let my colleague know20:59
LarstiQSmileyChris: it complains about the new folder being unversioned even if you supply --after to mv?21:00
SmileyChrisnah, I was just doing something wrong (didn't need --after)21:01
LarstiQok :)21:01
dereinehow can i show which files changed, and not what changed21:08
luksdereine: bzr status21:11
dereinethx21:11
guilhembi_jam: hi! about https://bugs.launchpad.net/bzr-gtk/+bug/279831, it says "fix committed", but committed where?21:50
ubottuError: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/279831/+text)21:50
* LarstiQ looks at the activity log21:52
balorWill "bzr merge -r14..14 ../project-branch" cherrypick r14 from project-branch and merge it onto the cwd?21:53
LarstiQbalor: I'd use -c1421:55
balorLarstiQ: Thanks21:55
LarstiQbalor: or -r 13..14 if you want to provide a range21:56
LarstiQguilhembi_: seems r3767 of bzr.dev21:57
LarstiQor no21:57
* LarstiQ mistyped the bug number21:57
balorShould cherry-picking retain the providence of the patch?21:58
LarstiQbalor: the what? :) Cherry-picking doesn't record as much information as would be nice.21:58
balorLarstiQ: The ancestory of the merged patch i.e. where it came from and its change history.  But I guess not.21:59
LarstiQbalor: correct, unfortunately.22:00
LarstiQbalor: could you clarify 'change history' also?22:00
LarstiQprobably different terminology, but it sounds intrigueing :)22:01
balorLarstiQ: I think I'm talking about the entire revision tree associated with the patch....which you probably don't want to merge over :)22:01
LarstiQjust noting which revision it was should be enough for filling in later, yes22:02
abpendAnybody here?22:11
poolie_yes22:17
grettkeWhen you create a mirror branch, do you normally use checkout or branch, and why?22:18
poolie_i'd normally branch22:18
poolie_if you don't commit in it it doesn't make much difference though22:19
abpendMy question: when setting up bazaar for a central-server workflow, how is access control typically handled on the server?22:19
grettkepoolie_: Understood. The workflow I'm envisioning is that there is a mainline on a shared repo on the server, I create a branch locally, then I create a "task" branch of that and merge my changes to the trunk branch and vice versa.22:30
grettkepoolie_: This is based on reading the user guide along with my desired workflow.22:30
balorSilly question...If I check out -r 7 (of say 17 revisions) into a new tree.  Is there any way to upgrade r7 to r8, and then to r9 (I'm thinking about demo'ing tutorial code).22:37
poolie_balor: "update" :)22:43
balorpoolie_: But update doesn't take a --revision, it'll update to the latest revision not just the next (AFAIK)22:44
poolie_hm22:44
lifelessbalor: pull -r 8 source22:50
balorlifeless: thanks22:50
=== jaypipes is now known as jaypipes-afk
Peng_Wow, YUI is big..23:14
beunoblame rockstar23:15
* rockstar hides23:15
rockstarWait, why am I being blamed for YUI being big?23:15
beunoyes23:15
rockstarSuddenly, everything is so clear now.23:16
beunorockstar, so, loggerhead tomorrow?23:20
lifelessYUI?23:20
rockstarbeuno, perhaps.  I need to finish up some personal projects.23:20
rockstarlifeless, Yahoo! UI library23:20
beunorockstar, aiight, I'll catch up with my LH stuff either way23:21
Peng_lifeless: It's a really big JavaScript library.23:21
beunoI have a branch that's almost finished to user paths instead of fileids23:21
mlhpeople do like jquery - it's smaller23:21
rockstarbeuno, Maybe we ought to get something really quick and hack for a few hours tomorrow night.23:21
beunorockstar, oh, sure, that's what I had in mind. Get out hands dirty23:22
rockstarmlh, jquery is also my favorite.  However Launchpad is moving to YUI, so LH coincidentally is as well.23:22
beunobut there's no rush23:22
mlh  intewesting23:23
Peng_I think adding YUI made Loggerhead's repo 20% larger. :D23:23
rockstarbeuno, yea, let's make it a plan then.23:23
rockstarPeng_, in all fairness, Mochikit will go away soon.23:24
beunorockstar, deal23:24
beunoand, well, mootools is what's going away in LH23:24
beunobut yeah, lp is lossing mochikit23:24
rockstarAh yes, that's what I meant.23:24
beunoloosing even23:24
beunomootools isn't small either23:25
rockstarbeuno, did you get an email from me?23:25
Peng_yui-min.js /is/ smaller than MooTools.23:25
beunorockstar, gpg?23:25
beunoif that's what you mean, than no23:26
beunooddly enough, I've just ogtten emails from people sending from other addresses than @canonical23:26
beunoanyways23:28
beunooff to bed23:28
mlhbeuno: "losing" :-)23:28

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