/srv/irclogs.ubuntu.com/2008/11/19/#bzr.txt

jfroy|workthrope: sure, probably just use a file:// URL00:00
thropegot it with the svn+file00:00
thropehow can I push to a seperate branch with no shared histroy00:04
thropeI'm trying to push to an empty branch00:04
meoblast001hi00:15
meoblast001how do you delete a project in launchpad?00:15
lamalexmeoblast001: you have to request it in launchpad answers00:30
lamalexthere's no way to do it yourself00:30
meoblast001ok00:31
meoblast001thanx00:31
=== bac is now known as bac_afk
lamalex#launchpad would be the place to ask though00:31
lamalex;)00:31
Peng_beuno: ping00:33
jelmerjfroy|work, thanks, just replied00:34
jfroy|workjelmer: and I sadly just spammed you with the same merge bundle...00:34
jfroy|workApparently send -r respec doesn't mage a merge bundle for the specified revisions...00:35
jfroy|workI'm not sure how to send you a separate merge bundle for the foo fix, and another one with the test suite changes.00:35
jelmerjfroy|work, you probably have to recommit the changes on separate branches00:36
jfroy|work:sigh:00:36
meoblast001i always forget this specific bazaar command when i dont commit changes often00:42
meoblast001i think it's bzr -ci but im getting error00:42
bob2bzr ci00:42
meoblast001ah thanx00:42
meoblast001oops.. how do i register a folder as a branch.. havent done that in a long time00:43
jelmermeoblast001, bzr init00:44
beunoPeng_, pong00:56
Peng_beuno: Hi.00:56
Peng_Err, wait, I wanted to go watch TV in 3 minutes.00:56
=== kiko-afk is now known as kiko-zzz
Peng_beuno: Anyway, I wanted to poke you about the traceback Googlebot likes causing.00:57
Peng_beuno: Ignoring the part about how Googlebot found a bad link (and if it really should be a bad link), there's a second traceback that looks to me like a bug, but I dunno. http://paste.pocoo.org/show/91709/00:59
Peng_...Bye.01:00
beunoPeng_, thanks, enjoy01:00
Peng_Thanks.01:00
meoblast001why am i getting Launchpad user 'braden' doesn't have a registered SSH key01:05
meoblast001it works on my other projects01:05
meoblast001this makes no sense01:06
beunomeoblast001, can you ssh into bazaar.launchpad.net?01:07
meoblast001ok01:07
meoblast001wait.. i think i figured it out01:07
meoblast001i forgot meoblast@01:07
beunoright01:07
beunoyou can set that up in .ssh/config01:07
beunoset a rule for the bazaar.launchpad.net host01:08
meoblast001nah its ok01:08
meoblast001beuno: would you be interested in helping out with my day old project?01:09
meoblast001with many bugs01:09
meoblast001welll... 1 bug01:09
beunouhm, I should probably try and keep up to date with my current projects before getting into new ones   ;)01:10
Peng_With bzr 1.9 you don't need the user in bzr+ssh://bazaar.launchpad.net/ URLs (and in previous versions, you can probably edit authentication.conf to set it up.)01:10
pooliespiv, hi, are you around?01:12
spivI am.01:12
thumperabentley: I'm having problems with bzrtools with the nightly bzr ppa01:13
thumperabentley: 'module' object has no attribute 'diff_writer_registry'01:13
poolieare you busy today? i'd like to talk about the Ideal hpss stuff01:14
abentleythumper: it sounds like your bzr is too old.01:14
thumperabentley: it says 1.10 dev01:14
thumperpoolie: I'd like to talk this afternoon about it01:15
thumperpoolie: perhaps in an hour or so?01:15
pooliethumper, sure, together with the three of us, or pairwise?01:15
thumperpoolie: sorry, I thought you were talking to me :)01:16
spivI'd be happy to chat about ideal hpss stuff.01:16
spivAlthough I'm starting to get hungry, so perhaps after lunch?01:17
poolieok so the three of us in one hour at 2:00 utc01:18
abentleythumper: you need revno 383801:18
thumperpoolie: or 2:30 utc01:18
thumperabentley: how can I check the revno?01:18
thumperis the nightly ppa building?01:18
thumperI haven't seen an update for a few days01:18
abentleythumper: I see it when I do bzr --version01:19
thumperabentley: mine just says 1.10dev01:19
spivthumper: if you installed from a PPA, I guess look at the version of the package, and/or maybe the changelog in /usr/share/doc/bzr01:20
abentleythumper: Sorry, I don't use a PPA.  It might be in the description or something.01:20
thumperabentley: package says 383701:21
abentleyYeah, 3838 is from Nov 1701:22
thumper:(01:23
thumperabentley: how can I downgrade my bzrtools branch a few revisions?01:25
thumperabentley: as I use a bzrtools from trunk01:25
abentleythumper: bzr revert -r 68101:26
thumperabentley: that leaves me with modifications in the tree01:27
thumperabentley: then just plain revert?01:27
abentleythumper: no, if you want to unpull, do bzr pull -r 681 --overwrite .01:27
* thumper tries that01:28
thumperabentley: dude, you are a walking bzr man page01:28
thumperabentley: notice I didn't ask "could it be done", I just assumed that it could and I didn't know how01:29
abentleyhehe01:30
jmlwhat's the complement of 'bzr revert --forget-merges'?01:35
* jml remembers: "bzr revert ."01:35
abentleyjml: right01:35
=== mw is now known as mw|out
=== meoblast001 is now known as meo|away
=== meo|away is now known as meoblast001
Peng_Heh, using "pull --overwrite" like that is a bit of an evil way to avoid "uncommit"s prompts and verbosity.03:02
jammarkh: I wasn't, but I'm around a bit now03:10
markhhi jam - in bug 298013, the reporter notes "When adding new plugins to the standalone version of the installer many expect certain python modules to be available. Be they are not due to the fact that the standalone ships only a minimal python distribution"  Do you have any thoughts on that?03:12
ubottuLaunchpad bug 298013 in bzr "latest release of tbzr spoils command line" [Undecided,New] https://launchpad.net/bugs/29801303:12
jammarkh: I believe xmloutput has that "solved"03:12
jamin that it packages the stdlib it expects to have available03:12
jamI'm not 100% sure on that, though03:13
jamI don't *think* we want to include a complete python install03:13
jamand it doesn't address plugins that go outside the stdlib anyway03:13
jam(bzr-gtk, for example)03:13
markhjam: you mean xmloutput nominates the set of the stdlib it includes rather than ones that are strictly needed by it?03:14
jammarkh: no, that the packaging for xmloutput (as a separate installer from bzr-setup.exe) also includes the stdlib it needs03:14
markhI think the point of that report might be that if you try and add a plugin to the plugins directory in the win32 standalone binary installer, it is likely to fail as some module it uses, but we don't, isn't packages in py2exe03:16
markhI expect xmloutput finds itself in the same basic situation?03:17
jammarkh: the original point of the bug report was for people that use a plugin by putting it in BZR_PLUGIN_PATH03:18
jamoften  don't find it works03:18
jambecause it doesn't have the necessary stdlib03:18
jamor even 3rd party03:18
jamxmloutput, IIRC, needed more of the XML parsing and generating libs03:19
jamfrom stdlib03:19
jambasically, it ends up that if you use the standalone installer03:19
jamyou need to have "proper" installers for the plugins as well03:19
jamcontrast that with when you install things into C:\Python2503:20
jamthen it becomes much more straightforward that a plugin can run03:20
jmlplease come up with different ways to say branch(n) and branch(v). kthxbye03:20
jamand where you need to install any dependencies.03:20
jamjml: branch'n branch'v ?03:20
markhjam: I'm a little confused - that bug report doesn't make any reference to BZR_PLUGIN_PATH or xmloutput.  IIUC, our windows installer explicitly leaves plugins on the file-system rather than in the .zip so additional plugins can be plonked there.  Am I misunderstanding?03:21
jmljml branches a branch to make a new branch branched from the old branch.03:21
jammarkh: they can also plunk them in APPDATA/bazaar/plugins, IIRC03:21
jambut the point is plonking them somewhere that gets auto-loaded03:21
markhcorrect - but if they fail due to some stdlib module not existing, how should they proceed?03:22
jamAPPDATA/bazaar/plugins and $INSTALL/plugins are both on the default BZR_PLUGIN_PATH03:22
jammarkh: if you use a standalone installer for bzr, you need an installer for your plugin03:22
jamI don't think we can do better than that03:22
jamWe *could* package all of python03:22
jamwe could even just bring in the python .msi file03:22
markhso what would we recommend that installer do?03:22
jamI wouldn't necessarily change the bzr installer03:23
jamaside from helping plugins build their own installers03:23
jampossibly just documenting how to do it03:23
jamas it seems that xmloutput "solved" the problem for plugins03:23
markhbut if the "official" answer is "you can't use a plugin on windows unless it ships with bzr, or the author has made a special installer for it", I'll be happy to spread that word.03:23
jammarkh: well, what are our alternatives?03:24
jamI would rather see a python-based installer, but it is hard to make that slick03:24
markhI'm still not clear how that plugin installer would install a missing stdlib module - I guess they could ship it - but many plugins shipping copies might be somewhat strange.03:24
jamand not necessarily better than documenting how plugins can install the stdlib they need03:25
markhjam: an easy alternative may be to nominate parts of the stdlib we include - possibly even all of it.  What is your concern there?03:25
markhsize?03:25
markhobviously we sould avoid the subdirs that don't make sense03:25
jamwell, "du -ksh" seems to say that stdlib is approx 22MB03:26
jambut that includes .py, pyc, and .pyo03:27
jamIt also says my site-packages is 97MB03:27
jaminteresting, bzrlib is 2x the size of PyQt4, but I bet it compresses a lot better03:28
jam:)03:28
markhits a cost-benefit tradeoff - istm the benefit of having more plugins work is greater than the cost of including the stdlib - especially given the number of plugin authors who would create a special installer will be approx. zero.03:30
jamhowever, the installer is already getting enormous (14MB so far?) what's another 5MB or so03:30
markhjust before you disconnected I said:03:31
markhits a cost-benefit tradeoff - istm the benefit of having more plugins work is greater than the cost of including the stdlib - especially given the number of plugin authors who would create a special installer will be approx. zero.03:31
markhand yeah, for 5mb, that cost isn't high at all03:31
jam(I'd rather see a 5MB installer *total*, but that seems to not be possible.)03:31
markhyeah, long term there are a few nice things we could do03:32
vilahi all07:01
igchi vila - sorry to hear about your lousy trip home07:04
vilaHi Ian !07:04
vilaBah, don't worry that much, it makes for some nice memories and I learned a few lessons :-)07:05
eferraiuoloI'm looking to understand something about checkouts compared with svn07:06
eferraiuoloin SVN you can do a checkout of a sub-directory07:06
eferraiuoloin bzr is seems you can only checkout a branch07:06
eferraiuolobut what if I just wanted to checkout a sub-folder in a branch?07:06
eferraiuolofor ex. in my local repo --no-trees I have a /trunk/ branch with two folders /trunk/foo and /trunk/bar07:07
eferraiuoloI want to bzr co /trunk/foo .07:08
RAOFeferraiuolo: You can't really right now.  Or at least, last time I checked; this _may_ have changed with bzr 1.9.07:08
Peng_It may have changed in 1.9?07:09
eferraiuoloRAOF: anyone using some combination of branching?07:09
eferraiuolo...I'm using 1.9 and can't seem to get this work07:09
RAOFPeng_: I know there's _some_ work on support for subtrees like this, and I haven't followed 1.9 dev...07:09
Peng_I don't think anything new happened.07:10
RAOFeferraiuolo: There's the 'bzr split' command, which goes about half way to what I guess you want.07:11
RAOFThat takes a subtree of a branch and converts it to a separate branch.07:12
eferraiuoloso I would first have to create a new branch outside my shared no-trees repo to run the split cmd on07:13
RAOFOh, tell a lie.  As long as you don't mind hitting buttons marked "experimental", a combination of bzr split and bzr join --reference looks like it'll do what you want.07:13
RAOFYou split out trunk/foo and trunk/bar into two separate branches, then join foo & bar into trunk; if the documentation doesn't lie, you'll have a trunk/ with sub-branches foo and bar, and commits on trunk will recurse into foo & bar.07:15
eferraiuolohmmm... interesting. I'll give it a try07:15
RAOFI suspect you'll need to upgrade your branch to the latest-greatest-experimental subtree variant first.07:16
eferraiuoloit's on --1.9-rich-root already, which seems it should work07:17
eferraiuoloLooks like I will have to branch my trunk outside my repo since my repo is set to no-trees07:18
RAOFIf it doesn't work first time, I'd guess you'll need to upgrade to whatever the relevant -subtree variant is.  rich-root gets you the ability to 'bzr split'; I think you need -subtree to 'bzr join', though.07:18
Peng_eferraiuolo: If a branch doesn't have a working tree, you just need to use "bzr co" to create it..07:19
eferraiuoloIt's odd... bzr split is create the sub-branch, but I can't checkout or branch against the newly created sub-branch, it pulls down the whole parent branch (trunk)07:38
hmelandeferraiuolo: I think it's by design that the sub-branch produced by the split command will include the entire history of the parent branch.08:08
vilaI have a repo with empty inventory sha1s 8-/ Thoughts ?08:13
hmelandeferraiuolo: That way, if someone commits new stuff to a pre-split version of the parent branch, you stand a reasonable chance of having "bzr merge" just do the right thing.08:14
* hmeland . o O ( Oops, that doesn't sound good. )08:15
eferraiuoloSo I ended up just splitting my repo for that project into to main, but separate branches and dealt with the issue that way.08:21
eferraiuolothanks all for the help and insights08:21
igcpoolie: did you want ~mbp/bzr-usertest/277376-strict reviewed & merged?08:21
igcpoolie: it looks ok to me at first glance08:21
Peng_Oh my god! "bzr check" finally finished!10:54
Peng_Nothing was wrong. :10:54
Peng_\10:54
jelmeryou sound disappointed11:12
Peng_jelmer: Well, it was an anticlimactic ending.11:20
EarthLionhey how can i ignore specific files. I have added .DS_Store to my .bzrignore file and that shows up under bzr ignored but the other lines e.g. database.php don't get picked up11:34
Peng_Maybe database.php is already versioned?11:39
EarthLionyeah it is already versioned11:43
EarthLionso i have to remove it first?11:43
Peng_Yes.11:44
Peng_Ignore rules don't apply to things that are already versioned.11:44
Peng_You could "bzr rm --keep database.php" to stop versioning it without physically removing the file. (commit too, of course)11:45
EarthLionPeng: thanks :)11:59
awilkinsjelmer: Who's building the python-flavoured 1.9 windows installers, because it doesn't have the C extensions for bzr-svn  ?12:13
jelmerawilkins, jam or markh I think12:13
jelmeror maybe Alexander12:13
awilkinsHmmph, maybe LP should list who uploaded a given file :-)12:14
arnarlIs there any way to do something like svn:externals with bazaar? and point to a web address or a subversion repository something similar?12:25
arnarlgoogling didn't yield anything obvious and there were a few references to "when the stacked branches" lands12:26
Peng_That's not what stacked branches are for.12:27
arnarlthere is ConfigManager, but it seems a bit abandoned with no checkins since march 200612:27
arnarlok, then I have searched for the wrong thing :-)12:27
Peng_That's what, uhh, by-reference subtrees (or by-reference nested trees? I forget the terminology) are for, and they've been in an experimental state for ages.12:27
arnarlnot sure I follow12:28
Peng_There's work on stuff similar to svn:externals, but I don't think there's been any progress for ages.12:29
arnarlanyway, what I would like is a way to point to a file in subversion so that it is updated when a user branches or that I can automatically keep it up to date in my own branch.12:29
jelmeronly 2 more failing tests away from bzr-svn 0.5rc1 \o/12:38
Peng_Congrats :)12:41
awilkins\o/ \o/ \o/12:44
awilkinsjelmer: Does 0.5 still carry the "eek, metadata may change" warning (esp for branches managed on 0.4 series) ?12:50
=== awilkins is now known as awilkins_food
jelmerawilkins_food: yaeh, it does at the moment (though it's pretty stable)12:52
awilkins_foodjelmer: The "pretty stable" part is the best ; I'm more interested in the actual risks rather than the warning message per se  :-)12:53
awilkins_foodjelmer: So can it operate on branches with 0.4 bzr:properties?12:54
jelmerawilkins_food: still there?13:02
jelmerawilkins_food: it will fetch 0.4 branch correctly13:02
jelmerawilkins_food: I would recommend using the v3 (0.4) mappings for now though13:03
jelmerawilkins_food: by settings the default mapping to 'v3' in mapping.py13:03
awilkins_foodjelmer: Using the v4 mappings presumably is the secrete sauce that makes it work better with truly horrible repository histories and layouts though?13:09
jelmerawilkins_food: yep13:10
jelmerawilkins_food: and which allows not using file properties when roundtripping13:10
=== awilkins_food is now known as awilkins
awilkinsjelmer: I think I'll build it up and try it on my "monster repo" here -this one always kills 0.4 just before it finishes branching trunk13:11
awilkinsKeyError13:12
jelmeroh, that should never happen, not even with 0.4..13:12
jelmeris there a bug open about that?13:12
awilkinsyes13:12
awilkinsI've mailed you stack traces in the past13:12
awilkinsSpecifically for this one ; opening the repo would not be practical alas, it's about 1.5GB as SVN FSFS I think13:13
awilkinsjelmer: I'm not certain there is a bug for it ; stack trace is in a mail dated 6th September13:18
jelmerawilkins, any chance you can forward it to me again?13:20
awilkinsSure, no problem.13:21
awilkinsI'm going to built the tip of 0.4 and try it out on the branch that throws it ; but not necessarily a good test, because the branch might be in a bad state which is causing the error (it has most of the revisions pulled into it by now).13:24
awilkinsFor a rigorous test I'll have to pull the branch from scratch I suppose ; but that isn't fast, it takes at least 10 hours. I'll have to dump the repo and unload it at home because the IT drones have imposed a "drop into standby" policy on all desktop machines here unless you push the right button at 190013:26
awilkinsSo I can't leave it going overnight13:26
awilkinsBecause I leave at 1700 :-)13:26
jelmerre13:27
jelmerit should be a lot faster these days, maybe that helps..13:27
jelmerhow many revisions is it?13:27
awilkinsAround 10,000 revisions and 1.5GB13:28
awilkinsOf revisions13:28
awilkinsMedium to large binary files, enormous number of paths13:28
awilkinsAnd horrible branch layout ; I tried pulling a branch that should have been a v.small revision size but it turned out to generate a rather large revision (I stopped it before it finished as it was clearly not right)13:30
awilkinsHence enthusiasm for 0.513:31
awilkinsThe prospect of this repo actually switching to bzr is slim but it would be nice to have options :-)13:31
awilkinsAnd I like to use it for the other, more reasonably sized, repos that I access. Being able to cope with a horrible monster improves my confidence :-)13:32
=== bac_afk is now known as bac
=== thekorn__ is now known as thekorn
jelmer:-)13:32
awilkinsThis repo has upward of 42,000 paths13:32
awilkinsWould split inventories improve it's performance characteristics?13:32
jelmerawilkins: yeah, that would certainly help I think13:36
jelmerawilkins: 10k revisions isn't that much for bzr-svn anymore these days13:36
jelmerespecially for local repositories13:36
awilkinsIs split-inventory in --1.9 ?13:37
=== mw|out is now known as mw
* awilkins reads release notes13:37
jelmerawilkins: no, not yet13:37
jelmerawilkins: with which version of bzr-svn did that KeyError last occur?14:03
awilkinsjelmer: The version in the log is the last version I tried it with14:08
awilkinsjelmer: I'm packing up that repo so I can take it home and test it there.14:10
awilkinsjelmer: I still have the partialluy-pulled branch lying around, do you think a newer version may fix it?14:10
jelmerawilkins: I would rather just try a new pull14:12
jelmerawilkins: It may well be significantly faster than two months ago..14:13
awilkinsI'm going to try a new pull tomorrow (via the ra-local layer rather than http or svn)14:13
awilkinsI could try it here as well.14:13
awilkinsI'll try both - a pull on top of that partial pull, and then a new one (I'll trash the branch, and the svn metadata cache first)14:14
balorGiven a diff generated by "bzr diff".  How can I apply that diff to a source tree?14:16
awilkinsbalor: gnu patch ?14:16
balorawilkins: bzr diff is in a different format AFAIK14:17
luksno, it isn't14:17
balorah, ok14:17
awilkinsAFAIK it's udiff14:17
awilkinsIf it's a bundle, it's easier to use "pull" or "merge"14:17
awilkinsAs long as your target is a bzr branch ( I presume it is not)14:18
balorawilkins: My target is a bzr branch14:18
lukswhy not use bzr send then?14:18
awilkinsYes, use send or bundle14:19
balorluks: I should have used bundle.  But I can make do with the diff.  Thanks.14:20
luksdon't use bundle, it's a hidde command not meant to be used anymore14:21
lukshidden14:21
awilkinsMy bad advice ; I hadn't noticed it was hidden14:22
balorluks: So diff is my only option on a Windows machine with no network connection?14:25
LarstiQbalor: no, bzr send -o thing.patch14:26
LarstiQbalor: well, I assume you can get the patch of the machine, if not typing over the diff is probably the least work :)14:27
balorLarstiQ: thanks14:27
=== vednis is now known as mars
awilkinsjelmer: Upgrading to tip of 0.4 has 2 obvious effects i) It seems to be working, it pulled that revision it got stuck on previously ii) The "determining changes" stage was a lot faster14:30
awilkinsI'll try it fresh and see how it does when it catches up with the tip14:32
awilkinsDoes it still repack every revision?14:32
jelmerno, only every 50014:33
Peng_Is it just me, or does the "determining changes" step often run twice, the second time much slower than the first?14:37
Peng_Why is that?14:37
* LarstiQ on occassion sees it running much more than two times14:38
LarstiQPeng_: I assumed it was per-file14:38
Peng_Oh?14:38
awilkinsMeh, I can't use "1.9-rich-root" as a format14:39
Peng_What? Why not?14:40
awilkinsAh, that's better14:40
awilkinsI think it may be a "quirk" of my shell14:40
Peng_Oh.14:40
awilkinsIt wasn't taking the parameter14:40
jammorning vila, how was your night?14:42
vilajam: hi ! Pretty good, woke up at 5h30 only :)14:43
vilaotherwise, slept like a baby :)14:43
jamwell, my son woke up at... 2130, 0030, 0130, 053014:46
jamso I hope you slept better than that :)14:46
jambut I guess you got up together :)14:46
jam(and no, that isn't actually UTC)14:46
jamvila: have you had a chance to look at the merge issue?14:46
vilajam: ouch, poor daddy :-/14:47
vilajam: yes, ready to chat about that and also about empty inventory sha1s...14:47
vilaand running the test suite under a solaris VM with my third hand :)14:48
jelmer'morning Vincent, John14:51
jelmerLarstiQ, Peng_: "determining changes" runs once to find the branch history and then once per tag14:52
=== kiko-zzz is now known as kiko-fud
Peng_jelmer: Oh, okay.14:58
LarstiQjelmer: what tag, svn tags and branches?15:02
LarstiQmoin vila, jam15:02
jelmerLarstiQ: yeah15:02
vilahi LarstiQ !15:02
LarstiQjelmer: right, that could explain it. We have more of those than I'm fond of :)15:04
jelmerok, with bzr-svn 0.5 importing vala (2319 revisions) over the svn:// protocol takes 258 seconds now15:49
LarstiQdoesn't seem to bad to me?15:50
jelmeryeah, that's pretty good15:51
uwsHeya16:03
uwsI'm getting errors when committing to launchpad16:03
uwsbzr: ERROR: Repository KnitRepository('bzr+ssh://uws@bazaar.launchpad.net/%7Euws/winwrangler/winwrangler.uws/.bzr/repository/') is not compatible with repository KnitPackRepository('file:///home/uws/Computing/Projects/winwrangler.uws/.bzr/repository/')16:03
uws...16:03
LarstiQuws: rich-root vs non rich-root?16:04
uwsguess so16:04
uwshow do I fix it?16:04
jelmeruws: upgrade repository that is not yet rich-root to rich-root(-pack)16:05
uwsjelmer: how? I tried16:05
uwsbzr upgrade lp:~uws/winwrangler/winwrangler.uws/   doesn't work16:05
uwsbzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.16:05
uwssame for  bzr upgrade --rich-root-pack lp:~uws/winwrangler/winwrangler.uws/  btw16:06
LarstiQuws: unfortunately, try sftp:// instead of lp:16:07
uwsLarstiQ: ok, seems to do something16:10
uwsLarstiQ: thanks, worked16:19
awilkinsjelmer: 0.4 isn't exactly slouching16:32
awilkinsIt's done 6000 fairly hefty revisions in a couple of hours so far16:32
awilkinsPretty much CPU limited, I'm sure using the SVN protocol as opposed to HTTP wouldn't help much16:33
jelmer0.5 should be better in that regard16:35
* jelmer starts a KDE import16:35
awilkinsI'll be trying it later, barring any nasty surprises trying to build it on win3216:35
awilkinsI'll be interested to see if it passes the "branching a tag should produce a tiny increase in pack size, not 100MB" test16:35
jelmerawilkins: ? was there anything that didn't pass that test then?16:38
awilkinsjelmer: This repo has a somewhat horrible branch layout and some moves as well16:38
awilkinsjelmer: I tried it with an older version and branching a tag that the repository should already have had the parent revision for made a rather large new pack.16:39
awilkinsA few hundred K for the inventory, yes, over 100MB, no.16:39
jelmerin that case, it would just end up using a different branching scheme and copying most of the history again16:40
awilkinsI messed about with the branching config a bit but never really got a satisfactory result (again, this repo is horrible)16:40
awilkinsSince 0.5 does not use the same mechanic, I shall see how it works :-)16:40
Kobazallrightey... so i'm moving from svn16:41
Kobazis there a way to have a svn-esque authentication system on a central bzr server16:41
Kobazie: bob has hsi own password, joe has his own password16:42
Kobazrather than a shared ssh account where everyone pushes to16:42
awilkinsKobaz: You can use HTTP methods of auth if you use the HTTP server16:42
awilkinsKobaz: Whatever IIS and Apache support at a minimum16:43
Kobazah16:43
Kobazit would be apache.. okay, that makes sense16:43
awilkinsKobaz: No path-based auth like SVN but it's rather silly in a DVCS because everyone can commit to the whole tree if they can commit at all16:43
awilkinsKobaz: You could probably arrange matters so that distinct ssh accounts could all push to the same repo - after all, Launchpad does this16:44
awilkinsBazaar itself has no authentication but the transports it uses may do, is the quick answer16:45
Kobazk16:46
awilkinsI'd like to see it do client-certificate auth over http, but I can't grok how to get curl to do it.16:48
dobeyKobaz: the ssh is just a method. you don't have to have a shared account16:52
LarstiQKobaz: in fact, at work we use multiple shared repositories over bzr+ssh, with everyone using their own account.17:00
LarstiQKobaz: and acl (setafcl \o/) to control who has access to which branch.17:00
LarstiQKobaz: (which boils down to: everybody, but it could be more complex :)17:01
* LarstiQ hops off to jitsu17:02
Kobaznifty17:09
=== bac is now known as bac_lunch
emmajaneIn CVS I can run a diff against the last update... cvs diff -up original.php > filename.patch in bzr I would have to check my revision numbers first to see what "original" was? I read bzr --help diff, but I didn't see a syntax that matched what I use in CVS.17:34
beunoemmajane, bzr diff -r -217:34
emmajanethat's "two revisions ago"?17:35
beunoI don't quite know the rationale for -2 instead of -117:35
beunoactually17:35
beunoI think it's, "show me the difference between the end of 2 revisions ago and now17:36
emmajaneLet's say, for example, I was working on a branch and when I downloaded it was at revision 159... and now I'm at revision 178... I want to send a patch back because politics are weird... james_w suggested bzr send as well.17:37
emmajane(and the branch is 500M because of images so pushing will not be fun)17:37
james_w"bzr send --mail-to person@place.com"17:38
beunobzr send is *the* tool to send a patch for the differences between branches, yes17:38
james_wanother is "bzr diff -r ancestor:http://server/path/to/branch"17:38
emmajanejames_w, and it's just the diff that gets sent?17:38
james_wno, it sends the diff + bzr meta-data.17:39
emmajanejames_w, what does bzr diff spit out? is it like the patch file that cvs diff gives?17:39
beunoemmajane, diff + bzr metadata (commit information)17:39
* emmajane nods17:39
* beuno waves at james_w 17:39
james_wyou can "bzr merge" from the file that "bzr send" produces, much like if you pushed this to a branch17:39
james_whey beuno, how are you?17:39
emmajanethat popping noise? that was my brain exploding... just a second. :)17:40
emmajaneok. I'm back.17:40
beunojames_w, pretty good, how are you?17:40
james_wbeuno: good thanks.17:40
beunoemmajane, bzr send generates a file which is the diff plus bzr data, so you can "merge" in the file with all its commits17:40
emmajane*nod*17:41
beunoso it's different than a plain diff, because you can send them around, and you'll get branches with the same revisions in them (sort of, but let's say yes)17:42
beunojames_w, will I see you at UDS?17:42
james_wbeuno: of course :-)17:42
emmajaneit's a diff on bzr steroids. :)17:42
beunojames_w, fantastic, looking forward to it. I want to talk to you about package branches over beer!17:42
beunoemmajane, you got it!17:42
emmajanegotcha.17:42
james_wbeuno: of course :-)17:43
emmajaneHow are the email addresses configured?17:45
emmajanei.e. if the mailing list is subscriber posting only...17:45
emmajanedo I have to change my whoami?17:45
beunowell, that's kinda out of bzr's realm17:45
emmajanei.e. what email address is announced when you use send?17:45
beunoso, you can send it to any email address17:46
beunothe whoami is used for the "from" IIRC17:46
emmajaneheh. so I can fake someone's email? :)17:46
beunowell, you know how email works...17:47
emmajane:)17:48
fullermdI always just have send output to a file, then write the email and attach it manually.18:00
fullermdThe work isn't ever where the mail client is anyway.18:01
beunome too18:02
emmajanefullermd, as in bzr send > file_to_send_later.txt ?18:03
vilafullermd: It really depends on your mail client and your workflow, I generally prefer to have send spawns my mail client with the patch already attached, a subject roughly correct and To already set18:03
emmajanevila, that sounds clever... will it work with thunderbird?18:03
vilaBut I also had workflows where *sending* the mail directly was even better suited18:03
vilaemmajane: I'm pretty sure yes, you have to find the the right mail_client setting in bazaar.conf18:04
emmajaneahh, ok.18:04
vilabzr help send18:05
vilamentions thunderbird :)18:05
fullermdWell, when my branch is on this machine here, and my mail client is on that machine there, it's out of the question anyway   ;)18:05
emmajane  Mail is sent using your preferred mail program.  This should be transparent18:05
emmajane  on Windows (it uses MAPI).  On Linux, it requires the xdg-email utility.18:05
vilafullermd: bah, my branch is always there or one  mounted file system away :-)18:06
beunovila, you use emacs, it's a different universe all together  ;)18:07
* vila discovered the joy of auto_master recently when configuring a new OS X.5 laptop :)18:07
vilabeuno: hehe, true, but not relevant here :)18:07
beunowhenever I see "email" and you in the same phrase, it becomes relevant!18:07
vilalol18:08
emmajanehmmm.18:08
beunoyou're the only person I know who uses non-standard way of replying to emails18:08
beunowhich I blame on emacs, of course18:08
emmajaneapt-cache search xdg-email18:08
emmajanexdg-utils - desktop integration utilities from freedesktop.org18:08
* emmajane contemplates wondering if the documentation should say that or if it's just an Ubuntu thing...18:09
vilabeuno: what do you mean by non-standard ?18:09
vilacitations ?18:09
beunovila, yes18:09
beunoemmajane, is there anything else?  :)18:09
emmajanebeuno, well...18:10
emmajanebeuno, I don't thinks so....18:10
vilawell, the supercite engine is... older than me I guess, so I'd be surprised to be the only one using it...18:10
emmajanebeuno, I had a friend tell me about this "VSD" thing once? Or was it BSD? ;)18:10
beunoemmajane, they do all kinds of odd experiments with operating systems18:11
emmajanebeuno, crazy! :)18:11
beunoemmajane, so, FWIW, the documentation is in the bzr tree  ;)18:11
emmajaneyeah, yeah.... ;)18:11
beunonot that I'm implying anything, of course...18:12
emmajanenono, of course you're not.18:12
emmajanebut this is me resisting the urge to screen cast instead of eating before a meeting.18:12
vilabeuno, emmajane : You should try opensolaris (just to be reminded on the huge work made by distros....)18:12
emmajanevila, I read about solaris in the documentation for GNOME accessibility.18:13
emmajanevila, I can't remember if it was all things they COULD do, or could NOT do. :)18:13
vilaopensolaris: 1465 packages and counting !!! All prefixed nu SUNW to make them easier for you to understand what they contain ! SUNWman : the man pages ! ulimit.1 contains sorry guy, we didn't provide the man page in that release, try again later :-(18:14
* emmajane chuckles.18:15
fullermdIt's a pathetic attempt to regain the heights Solaris once held, when they installed a compiler that told you they wouldn't give you a compiler without more $$$$.18:16
vilaI mean, I respect Solaris (a bit less than SunOS, but that's not the point), after all, that was the first house for most of the GNU utilities18:16
vilafullermd: full agreement18:16
vilaBut bashing aside, opensolaris 08.11 is better than os08.05, at least there *is* a package manager now18:17
emmajaneheh18:17
vilafullermd: and the day they stop providing the compiler is the one I consider the worst day in Sun history18:18
vilathey obviously didn't realize how they shot themselves in both feet18:18
* emmajane quietly tiptoes out for lunch while y'all discuss Solaris compilers. :)18:19
vilaemmajane: enjoy your lunch :)18:19
emmajanevila,  thanks :)18:19
=== bac_lunch is now known as bac
verterokhi!19:10
=== mw is now known as mw|food
sinelawdoes bzr have default ignore rules?19:19
sinelawand where can i see them19:20
beunosinelaw, yes, pyc files and other common generally unwanted ones19:20
sinelawwhere can i see the full list19:20
beunothat's a good questions19:20
sinelawbzr ignore has only "--old-default-rules"19:20
sinelawah19:20
luksany launchpad people here? can you please check why is https://code.launchpad.net/~luks/bzr-pager/pager "Disabled"?19:21
sven_hi! bzr log crashed for me when selecting a specific revision in mysql 6.0, using --forward : http://pastebin.com/m7b7b165919:21
sinelawnope,19:22
fullermdYou can see them in the ignore file bzr creates if it doesn't already exist.19:22
sven_is this a known bug? it doesn't crash for arbitrary revisions, so i don't know how to reproduce it with a smaller tree19:22
beunoluks, mwhudson would know19:23
sven_would be very good to know if this is a bug in bzr's algorithm or something corrupt in mysql's revision history19:23
beunobut I'm not sure if he's around yet19:23
beunoif not, open up a question in answers.launchpad.net/launchpad19:23
sinelawfullermd, there bzrignore file doens't list the built-in ignores19:24
mwhudsonluks: "a bug"19:24
sinelawthere doesn't seem to be a bzr command for viewing them19:24
luksthanks, at long as it's not an error on my side, I'm fine :)19:24
luksor can I do something to enable it?19:24
fullermdsinelaw: ~/.bazaar/ignore19:25
sinelawfullermd, thanks. that should be documented in the bzr command somewhere though :)19:25
mwhudsonluks: specifically https://bugs.edge.launchpad.net/launchpad-bazaar/+bug/29744819:25
ubottuLaunchpad bug 297448 in launchpad-bazaar "Launchpad will not do initial mirror of a branch that's the development focus of a project" [High,Fix committed]19:25
mwhudsonluks: i'd recommend deleting it, reregistering it, waiting until it's mirrored once, then making it the dev focus19:26
luksmwhudson: thanks, will do19:26
mwhudsonnp19:26
beunoPeng, any ideas on how google got to the URL http://bzr.mattnordhoff.com/loggerhead/bzr/configobj-4.5.2/files/1185.1.29?file_id=http-20060113083522-fa806bfc2aca663c19:30
beuno?19:30
=== cprov-lunch is now known as cprov
mathrickhi, what gives? http://pastebin.com/m64d5e87d19:48
mathrickI thought that's was the point of mv --after19:48
luksevent.list is removed19:48
lukser19:48
vilasven_: sounds more like a bug in index manipulation than in revision history to me19:48
vilasven_: can you retry the command without --forward (that will  clearly draw the line)19:49
sven_vila, ok, good to know. i reported https://bugs.launchpad.net/bzr/+bug/30005519:49
ubottuLaunchpad bug 300055 in bzr ""bzr log --forward FILE" crashes for specific revision" [Undecided,New]19:49
mathrickluks: no, I moved it19:49
mathrickI just didn't use bzr mv19:49
sven_vila, without --forward i don't see any crash19:49
luksI *think* it would work if src/event.lisp wasn't "bzr add"ed19:49
mathrickluks: it complained about that before, too, that's why I added it19:49
sven_vila, also, without the file argument, i don't see any crash19:49
mathrickbut lemme try19:49
vilasven_: ok, shouldn't be hard to fix then, I'll look into it tomorrow19:50
sven_vila, thanks!19:50
mathrickluks: nope, no cigar19:50
luksmathrick: are the files also changed or only renamed?19:52
mathrickluks: at least event.lisp is changed because of a merge19:53
mathrickhmm19:53
lukswell, if it's not manually edited I'd suggest to revert and start over19:53
luksand if it is, backup the files, revert, move, put the backups back in place19:54
hydrapheetz:319:54
hydrapheetzoops19:54
* hydrapheetz shouldn't switch channels at high speeds D:19:54
mathrickluks: http://pastebin.com/m29a5bf0d <-- huh?20:01
mathrickI don't get it20:01
mathrickI reverted that, and now it says that event.lisp is both removed and unknown20:02
luksmathrick: that is after running "bzr revert"?20:03
luksno extra arguments?20:04
luksit can't be, because "src/" is still added20:04
mathrickluks: with arguments20:04
mathrickI moved it back from src/ to ./20:04
mathrickI reverted event.lisp, and now it's all confused again, albeit differently20:05
lukswell, I can't help other than to suggest to do "bzr revert" (not selectively, but the whole tree) do the renames and put the original files back20:06
mathrickooh, because I did bzr pull instead of merge20:06
mathrickI get it now20:07
=== mw|food is now known as mw
=== kiko-fud is now known as kiko-afk
=== spm_ is now known as spm
abentleypoolie: ping20:26
mib_aevfashow do I publish a branch to an FTP server that requires identification (user: foo, pass: bar)?20:29
beunomib_aevfas, bzr push ftp://user@host:/path/to/repo20:29
beunoand bzr will ask you for a pass20:29
mib_aevfasbeuno: thanks!20:42
beunomib_aevfas, you're very welcome20:42
philsfI'm having a little trouble with bzr: 'No handlers could be found for logger "bzr"'21:31
beunophilsf, are you running 1.9 and bzrtools?21:31
philsfFrom what I gather, this is a fixed bug, so I must have done something wrong that left a lock file. How can I debug this?21:31
philsfbzr 1.3.1-1ubuntu0, from ubuntu 8.0421:32
beunophilsf, can you pastebin the output of "bzr plugins"?21:32
beunoalso21:32
beunotake a peak in ~/.bzr.log21:32
philsfthis is a local-only branch. I usually develop in the laptop, and rsync the full dir to my desktop. I only see the warning in the desktop. Is the rsync of the full dir the probable cause?21:33
philsfhttp://paste.ubuntu.com/74493/21:34
beunothat seems like a problem with bzr, not the branch21:34
philsfhttp://paste.ubuntu.com/74495/21:34
philsfbeuno: that's what I thought, since the warning appears in whatever dir I call bzr from21:35
beunophilsf, is .bzr.log writable by you?21:35
philsfwell, no... it has root ownership, dunno why21:36
beunothat's probably it21:36
beunochange the permissions, the error should go away21:37
philsfcool, it was!21:37
beuno:)21:37
philsfthanks, beuno!21:37
beunophilsf, you're welcome21:37
philsfbeuno++21:37
beunow00t!  I've been increased!21:38
w00thuh?21:38
w00tack21:38
beunoah21:38
beunouhm21:38
fullermdGreat, now there's two of them.21:38
beunowhat are the chances someone would have "w00t" as their nick...21:39
w00tbeuno: if i'm around - fairly high! i've been using it for the past ~10 years now :) </offtopic>21:39
* jdong wonders if stdin has even more problems with his nick :)21:40
=== sdboyer is now known as sdboyer|class
beunogood, now I have autocomplete for w00t21:42
beunowe should get more people with words in their nicks in here21:42
beunojust having "revision", "branch" and "push" would save a lot of typing21:42
LarstiQbeuno: you do know irssi can do completion from dictionaries? :)21:48
beunoLarstiQ, really????21:48
* beuno googles21:48
fullermdAnd if we got people choosing dirstate-tags and pack-0.92 and rich-root and rich-root-pack and 1.6 and 1.6.1-rich-root, we could have some good arguments about whether some of them should be kicked off the channel!21:49
poolieabentley: pong21:50
abentleypoolie: I've done some work on your branch, to try getting pack to heal these repo-spanning-deltas.21:51
poolieoh thanks21:52
poolieas i said in the bug, i found out yesterday evening it doesn't handle all cases in fetch21:52
abentleypoolie: Mainly what I've got so far is a failing test.21:52
poolieso unless something more important comes up in our standup, i was going to keep working on that today21:53
poolieah :) that's still useful21:53
abentleypoolie: I'll push the work-in-progress, and you can keep going on it.21:53
abentleypoolie: http://code.aaronbentley.com/bzr/bzrrepo/288751-pack-deltas21:56
abentleypoolie: As you can see, I was going to try inserting missing records.  But I'm thinking fulltexts is probably saner.21:57
abentleypoolie: Inserting the records could mean making an Inventory referenceable without making the corresponding files referenceable.  Which violates our longstanding policy.21:59
jampoolie: call?22:05
Kobazwhat's the recommended method for setting up a series of central bzr repos22:28
Kobazi've been trying to get the webdav stuff going without success22:28
Kobazi tried the mod_python method too22:29
Kobazthat doesn't work either22:29
Kobazor should i just run bzrserv and shove all the projects in one repo22:30
awilkinsKobaz: I've suceeded on IIS using the WSGI application, so that method should work on Apache also. What problems are you having?22:30
Kobazwith webdav, i get...22:31
Kobazbzr init-repo https://bzr.local/newrepo22:31
Kobazbzr: ERROR: Transport operation not possible: http does not support mkdir()22:31
Kobazi have the webdav plugin22:31
Kobazbut it's not being used22:32
Kobazand there's no docs22:32
awilkinsKobaz: Try bzr+http:// instead and see if that works22:32
Kobazif i try the mod_python approach, everything is a 40422:32
awilkinsI'm not sure you can initialise a repo over HPSS though22:32
Kobazyeah22:32
Kobazi've tried that too22:32
Kobazzr: ERROR: Generic bzr smart protocol error: Invalid http response for https://bzr.local/newrepo/.bzr/smart: Unable to handle http code 404: Not Found22:32
awilkinsHave you seen http://doc.bazaar-vcs.org/bzr-0.15/http_smart_server.htm22:32
Kobazah okay22:33
awilkinsIt looks like it's not catching /smart URLs and redirecting them to the application22:33
Kobazyeah22:33
Kobazi was using the mod_python spot in there22:33
Kobazlemme uncomment the python stuff22:33
awilkinsI think your RewriteRule is absent or fubar22:34
KobazRewriteRule ^(.*/|)\.bzr/smart$ /home/web/bzr.local/scripts/bzr-smart.py22:35
Kobazi think the rewrite rules aren't kicking in at all22:38
Kobazi tried a simple rewrite, and it doesn't do anything22:38
Kobazhmm22:38
Kobazah22:40
Kobaz    RewriteEngine on22:40
Kobazhad to add that22:40
Kobazshould have looked into that before22:41
Kobazokay, now that rewrite is working22:48
Kobazwhere do i get bzr-smart.py22:48
Kobazit's not in the source, and i can't find any download links at all22:48
lifelessjml: see the code :P. It's not a TSP solution, its what I postulated would work way back and hadn't had time to code22:50
jmllifeless: ahh ok22:50
lifelessjml: I don't think the problem is actually NPC though, because it has no shortcuts22:50
lifelessgiven ABC A->B is never more expensive than A->C->B22:51
Kobazdo de do22:51
Kobazso would anyone know where one would get bzr-smart.py22:51
pooliehi lifeless22:51
lifelesshi poolie22:52
Kobazis it a plugin?22:52
lifelessKobaz: there is no such file, its just what is described in the docs22:52
jmllifeless: I'll need to refresh my graph traversal knowledge to make the connection between that and NPC22:52
Kobazlifeless: what would i use then?22:53
lifelessKobaz: what is described in the docs, it gives the code as I recall22:53
Kobazhmm22:53
lifelessspiv: ^ kobaz could do with a hand, I think22:53
Kobazi didn't see any code22:53
Kobazthere was a download of the fastcgi code22:53
Kobazbut not the bzr-smart22:54
Kobazand there's some wsgi code22:54
Kobazoooh22:55
Kobazthere is some code22:55
Kobazhmm22:55
Kobazwow, that's not obvious at all :P22:55
lifelessjml: well Travelling salesman is np-complete, as its got no known solution that isn't polynomial; because there is no way to be sure that AB is better than ACB in the above example, without calculating both22:55
lifelessjml: it is possible that the solution I have is actually polynomial overall because of the setup22:56
lifelessjml: but anyhow; it works for all the tests we have today. So I'm happy.22:56
KobazImportError: No module named modpywsgi22:57
Kobazmmm22:57
jmllifeless: so, like I said, I want to refresh my graph traversal knowledge to make the connection between the shortcut thing and NPC :)22:57
lifelessjml: :>22:57
* jml suspends and resumes, to see if that fixes a thing.22:58
beunothings usualy break when I do that22:59
beuno*never* fixes them23:00
epperHi all23:03
Kobazso now i need the modpywsgi module... the link is a 404 and the site is really really slow23:04
epperI'm a svn user and, looking ad distributed VCS I come to Bazaar23:04
epperI don't really understand the real difference between the "Decentralized with shared mainline" and "centralized with local commits" workflows23:05
epperCould someone tell me?23:05
epper(here's where i found that names: http://bazaar-vcs.org/Workflows)23:06
Kobazepper: i've trying to move to bazaar from svn too... it's been a bit of a pain so far, but hopefully it will be worth it23:06
epperReally we don't need to make a switch, we have to choose a VCS for a new project ;)23:07
epperSo... It will be hopefully easy... both ways :)23:07
Kobazditto23:07
Kobazheh23:07
Kobazall i'm trying to do, is set up a webdav style repo so it can be accessed from anywhere with a password23:08
Kobazbeen fighting it all day23:08
Kobazwith svn it took all of 5 minutes23:08
epperright23:08
epperHope one single day will be enough for Bazaar :)23:08
Kobazokay, i found a copy of the modpywsgi somewhere else, the script isn't barfing anymore at least23:09
Kobazbzr init-repo bzr+https://bzr.local/bzr/newrepo23:11
Kobazbzr: ERROR: Transport operation not possible: readonly transport23:11
Kobaznow what?23:11
Spazyou shouldn't be using https to do that.23:11
Spazuse bzr+ssh23:11
Kobazi thought you were supposed to be able to have write access with the mod_python setup?23:11
Kobazhmm23:11
Kobazfor creating the repo?23:11
Spazusing the bzr_access script (it's easy to set up)23:11
Kobazor for all write operations?23:12
Kobazk23:12
Spazfor all write operations23:12
Kobazhmm23:12
Kobazso i should use ssh for everything then?23:13
Kobazi don't really want to use one for reading and one for writing23:13
epper"Centralized with local commits" and "Decentralized with shared mainline" workflow aren't in fact two different ways to get the same result?23:13
Kobazno idea... sounds the same to me23:14
epperso: developers working alone on their tasks and commiting to the main repository when ready?23:14
Kobazyeah23:14
bob2they're all different ways to get the same result, more or less23:15
Kobazthat's the advantage of a decentralized vcs23:15
bob2Kobaz: you can just use ssh for everything, and it is a lot easier to get going than webdav + mod_python + ...23:15
Kobazsubversion: commit new feature... commit fix for new feature... commit fit for the fix... commit documentation23:15
fullermdAll the smart server protocols are capable of writing, if writing is enabled.23:15
bob2assuming you have the infrastructure to easily manage accounts etc23:15
epperYes, I agree... It's a huge advantage... even with the ability to commit to someone else working copy without touching directly the main trunk23:16
Kobazdistributed: checkout repo, commit commit commit commit (to local)... and then when you finish all your work... commit that batch to the central repo23:16
Kobazfullermd: oh, that's good23:16
Kobazfullermd: how would i enable writing?23:16
Kobazbob2: i dont really want to have to give out ssh accounts for each developer23:17
fullermdKobaz: The examples given in the docs all set things to read-only.  Just flip the boolean value of the readonly setting, and it should work.23:17
fullermd(this is educated guesswork, since I've never used the HTTP smart server variants, but I'd expect it to Just Work)23:18
Kobazoh, i didn't notice the readonly setting23:18
fullermd"Centralized with local commits" involves treating checkouts as half-checkouts, either via commit --local or unbind, which I consider to be an all-around Bad Idea.  IMO.23:18
=== kiko-afk is now known as kiko
epperfullermd: I'm really new to bazaar (but i use svn)... Why are they a Bad idea?23:20
Kobazbzr init-repo bzr+https://bzr.local/bzr/newrepo23:20
Kobazbzr: ERROR: No such file: None23:20
Kobazoooo23:22
Kobazi did a mkdir newrepo on the server23:22
Kobazand that worked23:22
Kobazheh, the error reporting isn't very good23:22
epperfullermd: Seem to me that the other way get the same result... Is it better? why?23:22
fullermdThat's a long question.  The short version is that they mean treating a checkout (which isn't an independent branch) as an independent branch.  It's a basic impedence mismatch.  It's aggravated by some suboptimal tool behavior in certain of the cases, but even with those fixed, it's riding Roman.23:22
fullermdBasically, the purpose of checkouts is to work in lockstep on a single branch from multiple working trees (e.g., the _only_ way CVS/SVN/etc work).23:24
fullermdWhereas making independent branches via 'branch', and then moving changes back from them via 'merge', is operating more in the distributed mold.23:25
fullermdLocal commits in checkouts (either via ci --local, or via unbind/bind hoops) is using the former tool to achieve basically the latter behavior.23:25
Kobazokay so now that i have a remote shared repo23:26
fullermdI mean, it _works_, and it's there intentionally.  And there are people who are perfectly happy with it.23:26
Kobazhow do i add to it, or do a checkout from it23:26
Kobazbzr branch bzr+https://bzr.local/bzr/newrepo23:27
Kobazbzr: ERROR: Not a branch: "bzr+https://bzr.local/bzr/newrepo/".23:27
fullermdBut it's kinda skating on the edge in a way.  And it's double evil, since the behavior can end up being really confusing if you're not already familiar with using bzr in both types of workflows, so considering it when you're in an "intro" mode is particularly egregious.23:28
fullermdKobaz: You don't checkout or branch or work in repositories in bzr; the main unit is the branch.23:28
fullermdSo you'd have to `bzr init bzr+https://bzr.local/bzr/newrepo/trunk` (or whatever you want to call it) before you can work on it.23:28
Kobazk23:28
epperfullermd: So you suggest to take the second approach23:30
epper"Decentralized with shared mainline"?23:30
Kobazokay, i think i have it working now23:31
fullermdRoughly, yah.  I think it's less confusing, because it means you always _know_ whether you're dealing with the [shared] trunk, or a [non-shared] local branch.23:31
Kobazwhat's a good way to do a live backup of a bzr repo23:31
Kobazi know svn has svnsync23:31
epperfullermd: Understood, thanks very much ;)23:31
epperAnd... Other options for a free Bazaar hosted repositories than launchpad?23:33
fullermdThere's nothing in bzr that copies around repositories.  You could "pull" all the individual branches in it.  You could grab up the repo with FS-level tools (tar, rsync, etc).23:33
fullermdThere are things like bzrtools' "multi-pull" that can help with automating the former choice.23:34
Kobazbut with using rsync, is there any issue of copying over a half written file23:34
Kobazthere are issues with svn (and others) about just backing up the raw files23:35
Kobazwhen you do a pull, does it pull down just the latest data, or does it pull all history23:35
bob2former, such that you end up with all23:36
Kobazk23:36
Kobazso if you wanted to back up the repo with history23:36
Kobazyou would need to rsync23:36
Kobazor would the multi-pull accomplish that?23:36
Kobaz$ bzr st23:37
Kobazmodified: a23:37
Kobaz$ bzr push23:37
KobazUsing saved push location: ...23:37
bob2multi-pull should do23:37
KobazNo new revisions to push.23:37
fullermdYou can certainly copy over a half-written file, but it wouldn't be in a place bzr would look for it, so it doesn't much matter.23:37
bob2sure, pull only gets /history/ ie things that are commited23:37
fullermdmulti-pull pulls a set of branches.  Nothing pulls a _repository_ as such.23:37
Kobazk, that was the question23:38
Kobazand umm... so i modified a file, and the push isn't sending it up23:38
fullermdYou didn't commit it.23:38
fullermdpush/pull only deal with commits.  Uncommitted changes never go anywhere.23:38
Kobazooooh23:39
bob2just like in svn, y our uncommited changes exist only in the working tree23:39
* Kobaz initiats an svn excersisim23:39
Kobazs/initiats/initiates/23:39
Kobazyeah23:39
Kobazi was thinking push would auto commit, because with svn there is no differentiation23:40
fullermdOne way of thinking about it (which is subtly incorrect, but can be a useful mental crutch) is the differentiation between recording and publishing.23:40
fullermdIn SVN, there isn't any; commit is both for recording what you're doing, and publishing it to the world.23:40
Kobazyeah, i know what it means23:40
fullermdWith a distributed system, they're different; commit records it, and push publishes what's recorded.23:40
Kobazyeah23:40
fullermd(it's technically wrong of course because it all depends on what branches are where and what branches you're committing to.  But it's close enough for a rule of thumb)23:41
Kobazyeah, if someone is working off your branch directly23:42
Kobazthen you don't need to push23:42
Kobazthe use of only one .bzr directory is pretty awesome23:43
fullermdOr if you'd done a "bzr checkout bzr+https://wherever/newrepo/trunk", then the branch you put things into when you commit actually is the bzr+http://... one (since you have a checkout, rather than an independent branch)23:43
Kobazyeah23:44
Kobazbzr push23:44
Kobazbzr: ERROR: No push location known or specified.23:44
Kobazbzr lost my push location23:44
Kobazit just had it23:44
fullermdWhat's bzr info say?23:45
Kobazit has it now, i specified a specific push path23:46
bob2bzr push doesn't default to the place you bzr branch/pulled from23:46
Kobazlemme do what i dod again23:46
bob2once you specify a push location once, though, it will be remembered23:46
Kobazs/dod/did/23:46
fullermdThere are automatic aliases for the various saved locations too, so if you wanted to push to where you pull'd from, you could "bzr push :pull"23:46
Kobazit was working23:46
Kobazand then it lost it23:47
nevansfullermd, I didn't know you could do that... what "bzr help" topic didn't I read?  :)23:47
fullermdnevans: Well, lots of them probably   :p23:47
Kobazhmm, can't seem to reproduce it23:48
nevanswhich one is the ":pull" -- "branch location meta names" in?  :)23:48
fullermdnevans: But I don't think it's particularly documented anywhere...23:48
Kobazi definitly did a push earlier from that directory23:48
fullermdOh, I guess it's :parent actually, not :pull23:49
nevansfullermd, I would have expected that to be in urlspec.23:49
Kobazhehe23:50
Kobazany time i want to do a bzr command, i keep typeing svn23:50
fullermdMmm.  Not really, since they're not URL types.  They'd deserve their own topic.23:50
fullermdAFAIK, the only place you'd actually see them referenced is in NEWS, and you end up having to check the source for the list of what choices there actually are.23:51
nevanshmmm...23:51
fullermdKobaz: That's nothing.  Use bzr for a year or so, and you'll be totally unable to type 'bzr'.23:51
fullermdAarg!.  'bar'!23:51
fullermdSee?23:51
Kobazheh23:51
Kobazbzr bzr bzr bar23:52
Kobazmmm23:52
fullermdA guy walks into a bzr...23:52
Kobaztwo guys walk into a bzr23:52
Kobazyou would think the second one would have noticed23:53
Kobazokay, so next question...23:55
Kobazwhat's a good windows client23:55
Kobazfor those other people23:55
fullermdmarkh would be the guy to talk to about that, I think.23:57
markha good bzr windows client?  There is only 1 available for each version, so take your pick :)23:58
markhiow, there's not alot of choice really23:58

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