/srv/irclogs.ubuntu.com/2008/03/31/#bzr.txt

pooliethumper: yes00:15
poolieworking on ppa now00:19
ubotuNew bug: #209450 in bzr "The error message for "can't find bzr on remote server" when using bzr+ssh is now scary." [Undecided,New] https://launchpad.net/bugs/20945000:20
spivbob2: thanks00:21
bob2I was a bit suspicious of r3313, but reverting to 3312 didn't help00:23
spivbob2: I'd probably be suspicious of 330900:24
ubotuNew bug: #209458 in bzr-loom "combine-thread doesn't result in correct tree parents" [Undecided,New] https://launchpad.net/bugs/20945800:41
poolievila, what is ~bzr-upload-devs?01:06
lifelessThere will be a short interruption to bazaar.launchpad.net and the ubuntu wiki to deploy a fix for the performance problems.01:49
uniscripthow do I push a branch into a new svn: repository branch?02:47
spivuniscript: I use "svn cp" to make the branch in the repo, then "bzr push" to that02:50
uniscriptbut bzr push says I have to merge02:50
spivuniscript: there's a bzr-svn bug (https://bugs.launchpad.net/bzr-svn/+bug/203368) you can hit if you do it directly02:50
ubotuLaunchpad bug 203368 in bzr-svn "svn-push a branch with no new history makes surprising commit to SVN repo" [Wishlist,Confirmed]02:50
spivHmm, I'm not sure why that would be.  Perhaps you did "svn cp" from a different revision of the source branch?02:51
uniscriptI should explain I branched an svn: repo from repo1 but want to push up to an empty dir on repo202:51
spivOh.02:51
spivI don't know much about different SVN repositories.02:51
uniscriptany suggestions on how I can achieve this?02:51
spivOr rather, about using bzr-svn with them.02:52
spivIt's not something that SVN is really designed to support, so I'd expect bzr-svn to struggle with it too.02:52
spivBut if you mail the bazaar list, Jelmer might be able to help.02:53
uniscriptdoes that mean I have to join another list :(02:54
spivYou could mail Jelmer directly, I guess (I think his address is in the bzr-svn README file), but I think the list is a better forum, so other people can help and/or learn from the post.02:55
spivuniscript: you could join the list, but then set your mailman settings to disable mail delivery.  That way you can post unmoderated, but you won't get a flood of messages to your inbox.02:56
uniscripterr where is the mailing list? Can't find it on launchpad :(03:01
ubotuNew bug: #209490 in bzr-loom "bzr-loom does not make it obvious when to use "bzr record"" [Undecided,New] https://launchpad.net/bugs/20949003:01
spivuniscript: https://lists.ubuntu.com/mailman/listinfo/bazaar03:01
spivuniscript: (it's linked from http://www.bazaar-vcs.org/)03:02
uniscriptsorry, just being frustrated with launchpad. Never seem to be able to find what I want there03:02
uniscriptthe classic is: this package keeps it's bug tracking somewhere else, but doesn't say where that somewhere else is03:03
awmcclainHow would I ignore a file ".foo" in every directory of my branch?03:46
lifelessbzr ignore **/.foo03:48
lifelessprobably quoted: bzr ignore '**/.foo'03:48
awmcclainThank you!03:50
Verteroklifeless: hi03:53
awmcclainIf i merge a branch, does the .bzrignore file merge as well?03:53
lifelessawmcclain: yes03:53
lifelessVerterok: hi03:53
awmcclainNo reason it wouldn't.03:53
awmcclainGreat.03:53
Verteroklifeless: do you have time for a quick question about my patch for custom properties in log?03:54
lifelesssure03:54
VerterokI not sure what I should fix in the docstrings of the show_properties method03:54
Verterokthe gmane thread is: http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/3810103:54
Verteroklifeless: I already added the tests for error case and added error handling code in the show_properties method03:56
awmcclainIs "no handlers could be found for logger "bzr" a bzr message?03:56
lifelessawmcclain: its coming from pythons logging framework03:58
lifelessawmcclain: are you using the bzr frontend or some other script ?03:58
awmcclainlifeless: I'm running bzr automatically from capistrano.03:58
awmcclainMaybe I have an unmet dependency on the box?03:58
lifelessawmcclain: no sure; whats capistrano ?04:03
awmcclainlifeless: A nifty automated deployment framework. Basically I'm sshing into a minimally configured ubuntu box and running bzr up --lightweight, and I'm getting back that message (everything is working though)04:04
lifelesshmm, could be a missing thing I guess04:04
lifelessplease file a bug, for extra credit with how-to-reproduce04:05
awmcclainlifeless: Okee doke. I've read on launchpad that it may be related to a lock file? Could that be?04:05
lifelessdoubt it04:05
awmcclainYeah, me too.04:05
awmcclainSounds like a dependency thing.04:06
lifelessI'd guess race condition with the logging infrastructure setup04:06
awmcclainlemme try logging in directly04:06
awmcclainand see04:06
awmcclainlifeless: Ok, it's not a capistrano thing.04:10
jameshlifeless: I had a bit of a play with bzr-loom.  It is quite useful, although the UI doesn't quite feel right04:11
lifelessjamesh: I saw your bug - thanks.04:11
jameshperhaps that's just because I'm not used to it yet04:11
jameshlifeless: is there any reason why the unrecorded loom state is in the branch rather than working tree?04:12
lifelessjamesh: yes, its branch related not tree related04:16
jameshlifeless: I guess I'd see the last recorded loom state as being branch related, but the unrecorded state as working tree related.04:16
abentleyawmcclain: Not lock file, log file.04:18
abentleyYou probably don't have permission to write ~/.bzr.log04:18
awmcclainabentley: Actually, I was talking about lock, as described here: https://answers.launchpad.net/bzr/+question/1998804:19
awmcclainabentley: That's exactly it. The .bzr.log file is owned by root!04:21
abentleyHappy to help.04:21
awmcclainMust be because the first time I run bzr I sudo?04:21
awmcclainhrmmm04:21
awmcclainI suppose I could just touch .bzr.log before I start.04:22
awmcclainYay!04:22
Pengjelmer: Should I back up .bazaar/subversion.conf? If it's lost, will I have to fix the branching scheme next time I pull or something? What if I keep subversion.conf but svn-cache gets deleted?05:54
mdkeanyone understand this? http://pastebin.ubuntu.com/6253/08:21
bob2ubuntudoc was converted from svn08:23
bob2so needs to be branched into a "rich-root"-supporting repository08:23
bob2alas bzr co doesn't realise that08:23
mdkeyou mean that the downloader has got a shared repository set up there with a different format?08:24
bob2no, bzr co defaults to one that doesn't support rich-root08:24
mdkehmm.08:24
mdkeis rich-root the same as "dirstate-with-subtree"?08:25
mdkethat's the one we have08:25
bob2afaik the work around is "bzr init-repo --rich-root-pack ubuntu-doc ; bzr co http://launchpad-asdjfhsaldfhas/trunk ubuntu-doc/trunk" or similar08:25
spivrich-root is a feature some formats support.08:25
=== mwhudson__ is now known as mwhudson
mdkespiv: and dirstate-with-subtree supports it?08:26
spivdirstate-with-subtree is one format that supports that (and also some experimental feature); rich-root-pack is the newest and best format for rich-root support.08:26
mdkeis there a converting tool between the two?08:27
jamesh"bzr upgrade"?08:27
bob2bzr upgrade will convery branches08:27
bob2but that doesn't help that person08:27
mdkeI tried that, it failed and trashed my branch08:27
spivAnd you can generally "bzr pull" etc revisions into a compatible repository.08:27
mdkeI couldn't even restore the backup08:27
mdkeI should have written down the error08:28
bob2that's quite bad, since the backup is done by more or less "cp -r"08:28
bob2or was it mv08:28
mdkeI wonder if I was trying to restore it to the wrong place, I had a shared repo at the time08:29
spivbob2: there's a bug in upgrade in some situations involving shared repos08:29
bob2ah08:29
mdkedouble ah08:29
spivbob2: that can leave things in a busted (but recoverable by hand) state08:29
mdkeanyway, I don't think the upgrade worked08:30
spivThere's a bug report about that somewhere.  lifeless knows the full details.08:30
Peng.bzr/repository is renamed to .bzr/repository.backup or something, and there is no new .bzr/repository. It's entirely safe to just rename it back in that case.08:31
mdkeI'm definitely interested in trying to convert these branches to the "official" bzr format though08:31
PengYou could've experienced another problem, of course.08:31
mdkeif it's possible, i would like to do it08:31
Pengmdke: Rich roots are The Future.08:31
jameshthe problem is that they aren't The Present.08:32
Pengmdke: And converting from rich roots to non-rich roots is not supported, because that would throw away certain meta data.08:32
Pengjamesh: Heh.08:32
spivmdke: you can do the upgrade manually, by doing "bzr init-repo --rich-root-format new-repo", and then manually "bzr branch"ing each branch from the old to the new, then renaming the repos "mv repo old-repo; mv new-repo repo".08:32
mdkewhat is The Present?08:33
Pengspiv: "--rich-root-pack", not "--rich-root-format"08:33
Pengmdke: Non-rich roots.08:33
spivPeng: right, thanks.  That's what I get for typing commands direct into IRC :)08:33
Peng:)08:33
mdkeI understood that the format we have now is not the best format at the present08:33
PengIndeed.08:34
spiv(and maybe you need to do "bzr init" + "bzr pull" instead of "bzr branch" for subtree -> rich-rich, I forget)08:34
* Peng shrugs.08:34
PengI don't know that.08:34
mdkespiv: I will save those commands and give them a try later on08:34
PengUm.08:34
mdkespiv: thanks08:34
PengI did something like that recently.08:34
mdkeI think we'd be content with trying to get up to The Present08:35
spiv(https://bugs.launchpad.net/bzr/+bug/145812 appears to be the bug I mentioned earlier, btw)08:35
ubotuLaunchpad bug 145812 in bzr "Upgrade can leave a broken repository (with backup)" [Low,Triaged]08:35
PengRight.08:35
PengI bzr branched from dirstate-with-subtree to rich-root-pack, and it worked, but it was ridiculously slow.08:35
mdkeI'm patient :)08:36
PengHaha.08:36
PengIt took 5.5 hours for a ~1300 revision, ~200 MB repo.08:37
mdkeah, overnight then08:37
PengThat was over bzr+ssh over the Internet..08:38
PengDoing it locally would be faster, of course.08:38
PengBut there's no way it should take nearly that long.08:38
mdkethat's fine. If it's the right thing to do, I'm happy to wait :)08:39
mdkebbias08:40
Pengmdke: Going from subtrees to rich roots is safe in many situations (subtree support more features, but if they're not being used), but it's not possible to go from rich roots to non-rich roots without losing some meta data.08:44
mdkePeng: does one want to go from rich roots to non-rich roots?08:46
mdkeI just want to go to the best current supported format08:46
Pengmdke: There's not much need.08:49
Pengmdke: The only problem is that the default format does not support rich roots, so users can get confusing errors when doing "bzr init-repo" and then trying to branch a rich root branch into it, and that "bzr checkout" problem.08:50
mdkePeng: could I upgrade to the "default format" instead?08:51
mdkethat would still be faster than the current one, right?08:52
=== doko_ is now known as doko
Pengmdke: Current one?08:52
mdkethe dirstate-with-subtree format08:52
Pengmdke: Oh.08:52
Pengmdke: Like I said, you can probably go from dirstate-with-subtree to rich-root-pack, but not to a non-rich-root format.08:53
PengMmm, netsplit.08:57
mdkelagged out, sorry08:57
mdkelast thing I have was the "isn't it a bit odd" question08:58
mdkeanyway, got to go to work now. thanks all for the info08:59
Peng"isn't it a bit odd"?09:02
PengI didn't get that.09:02
ubotuNew bug: #209570 in bzr "http cannot tunnel smart protocol" [Critical,New] https://launchpad.net/bugs/20957009:16
thekornhi, does the bzr extension for nautilus from bzr-gtk work for anyone?09:40
james_whi thekorn09:40
thekornhi james_w09:40
james_wI heard someone saying the other day that it didn't work for them09:40
james_wso it sounds like their may well be a regression there.09:40
thekornhmm, the python bindings for nautilus does not seem to work at all, so there might be the problem09:41
james_wah, you're just trying from a python console?09:42
thekornno, within nautilus, no clue howto test it in a console-session09:43
thekornit's bug http://bugzilla.gnome.org/show_bug.cgi?id=51882409:43
james_wthekorn: thanks, I'll open a bug in Ubuntu09:45
thekornjames_w, okay, thanks, can you please subscribe me? :)09:47
james_wdone09:48
james_wdo you want to use your bugcontrol powers on it?09:48
james_whttps://bugs.launchpad.net/nautilus-python/+bug/20958009:48
ubotuLaunchpad bug 209580 in nautilus-python "python-nautilus doesn't work with latest nautilus" [Undecided,New]09:48
thekornjames_w, yes, will set the importance to medium09:51
james_wisn't it critical for that package if it doesn't work at all, or do I misunderstand?09:53
thekornjames_w, critical for this package, but not for ubuntu, as the number of users affected by this is not that big, I think09:56
james_wah, ok. I thought the severity was per package09:57
james_wshould there be a split for the severity against the package and severity for the release?09:58
thekornI'm not sure, maybe the gnome bug needs a higher severity,10:01
james_wit's critical I think10:02
james_wI looked again and found an existing bug for this, so I've duped it10:02
thekornjames_w, I've no clue about FFe and the related process, I will discuss this bugreport with people in #ubuntu-bugs later today10:05
james_wI don't think we need an FFe to fix this, I'm not sure though.10:06
james_wthere's a workaround patch described in the bug report, we can add that to the package for the release I think10:06
ubotuNew bug: #209580 in nautilus-python "python-nautilus doesn't work with latest nautilus (dup-of: 44704)" [Medium,Confirmed] https://launchpad.net/bugs/20958010:07
pborI know I asked this before, but I can't remember how to do it... can I make  bzr diff --diff-options=-p the default for bzr diff?11:25
datopbor: yes, with an alias11:26
pborah, ok11:26
pborI thought there was some way inside bzr11:26
datoa bzr alias, not a shell alias, I mean11:26
pborah11:26
* pbor looks that up11:26
pborthanks dato11:27
pboris bzr alias a plugin?11:28
pborbzr help alias gives me an error11:28
datonope, it's core11:28
datobut11:28
datoI don't know if you can add an alias from the command line, with a command11:28
datoI *think* you have to edit the configuration file11:28
james_wno, you can't11:28
james_wthumper proposed a patch to do that, but I don't know what happened to it11:29
datopbor: so, like this:11:29
dato% head -n 2 ~/.bazaar/bazaar.conf11:29
dato[ALIASES]11:29
datoup = update11:29
pborah, ok, I can live with that :)11:29
pborthanks11:29
james_wI think there was discussion about whether it should work like the shell builtin alias, or more like bzr in terms of command line parsing11:29
frskWhy have you aliased update? =)11:29
frskbzr up = bzr update with aliasing it :)11:30
frskwithout*11:30
datofrsk: I probably added it when the "up" alias didn't exist in core11:30
datoand didn't clean up afterwards11:30
frskdato: Aha11:30
Stavroshello11:55
Stavrosi need to pull the changes from a remote repository up to and including a tagged release, and substitute all my local working copy with that release. what is the correct command line?11:56
datoStavros: do you have local commits_11:56
dato?11:56
Stavrosdato: no, it's a production server11:57
Stavrosi may have some local edits which i want overwritten11:57
datoaha. so, `bzr revert && bzr pull -r tag:TAGNAME http://...` ?11:57
Stavrosaha, that should work, let me try it11:58
Stavrosdo i need to do something like "revert -r"?11:58
Stavrosoh wait, nm :/11:58
datono, you don't11:58
Stavroshow about pull --overwrite?11:58
datothat's for when you have local commits11:59
Stavrosah11:59
Stavrosbut not local working copy changes?11:59
datonope11:59
datothose are reverted with revert11:59
Stavroshmm, it said something about conflicting tags...12:00
Stavrosaw man, i'm in the front page of reddit12:03
Stavrosno wonder the server is hammered12:03
TFKyleStavros: which, learn python in 10 minutes?12:05
Stavrosyeah :/12:05
Stavrosso, any idea what this talk about "conflicting tags" is?12:08
james_wStavros: there is a tag that is set to one revision in your branch and another revision in the other branch12:08
james_wor two tags with the same name on two different revisions if you like12:09
Stavrosjames_w: that's odd, don't tags get moved if they already exist?12:09
james_wStavros: I think so, what does the rest of the message say?12:09
Stavrosit just shows me the tag I just set12:09
james_wdoes it stop the pull, or just warn you?12:09
Stavrosit just warns me, from what i can see12:09
james_wdoes it say which one was kept?12:09
james_wi.e. did it keep your tag, or use the other one?12:10
Stavrosno, but apparently the server has it on a different release than on my machine12:10
Stavrosthat's odd12:10
Stavrosi have it on 247 and the server on 24612:10
Stavrosshouldn't it update the tag on pull, even though it already is on a revision on the server?12:14
Stavroshmm, --overwrite works12:15
james_wyep, it's a conflict, so you need to specify what you want to happen12:17
Stavrosah12:19
Stavroshmm, why does it not update? because i set it on the server?12:19
james_wyes, the tag points to two different places, and so bzr doesn't know which one you want.12:21
Stavrosah, so --overwrite should fix any future conflicts, yes?12:22
james_wyes, I think so, though it's not necessarily a good idea to always use --overwrite12:23
james_wwhy do you think you will have more conflicts?12:23
Stavrosi don't really think i will, but i'm pretty sure i won't have any changes there i want to keep, so it's the safe bet12:24
luksthat reminds me I should file a bug report about adding --overwrite-tags12:24
Stavrosoh, that would be quite useful12:24
Stavroswell, thank you all very much for your help, it works quite well now12:30
=== mrevell is now known as mrevell-lunch
uniscriptI'm wanting to copy an svn branch/tree from one repo to another where I don't have server access to the repos. I wonder if bzr-svn can help with this?13:31
uniscriptI've branched the source using bzr-svn now how do I push it up to the target?13:31
james_wuniscript: bzr svn-push is probably what you want13:35
james_wuniscript: the branch doesn't exist in the second repo, correct?13:35
uniscriptcorrect13:35
uniscriptif I try svn-push it wants to merge13:36
james_wyeah, svn-push is the answer I think.13:36
uniscriptI tried push --overwrite but that's not implemented yet :(13:36
uniscriptbzr: ERROR: These branches have diverged. Use the merge command to reconcile them.13:38
uniscriptthe target directory exists in the repo and is empty13:39
uniscriptis that a problem?13:39
uniscripttesting...13:42
uniscriptseems happy. So that was the problem, can't branch into an empty directory, svn-push has to create the branch dir. OK. Thanks13:47
=== mrevell-lunch is now known as mrevell
LeoNerdIs there a way to do a push-or-pull operation..? Given two bzr branches, push updates from whichever is newer, to whichever is older? (obviously it'd break for diverged history)...14:36
hmeland_LeoNerd: No, I don't think there is such a thing.  A branch and a checkout of that branch comes close, though.14:52
LeoNerdI just wanted to put it in cron.hourly in a "foreach BRANCH in `bzr branches`; ..."   command14:53
ubotuNew bug: #209688 in bzr-gtk "The branch history window should use a status bar" [Undecided,New] https://launchpad.net/bugs/20968815:05
ubotuNew bug: #209689 in bzr "KeyError in transport close _file_streams while pulling into a bound branch" [Undecided,New] https://launchpad.net/bugs/20968915:05
=== mw|out is now known as mw
vilabzrlib.tests.test_revisionnamespaces.TestRevisionSpec_date.test_yesterday failed16:01
vilayesterday16:01
vilaerr, no sometimes around 0.01 this morning16:02
vilaha ha, so funny16:02
vilaAnyway, I just demonstrated that this test *is* fragile :)16:02
jelmer(-:16:02
mw-homecan bzr export make python eggs from my project?16:34
bob2like bdist_egg? no.16:36
bob2there's a setuptoolsbzr thing, tho16:36
mw-homebob2: is that a bzr plugin?16:36
bob2no, a setuptools one16:37
piedoggieare there any guides on how to use bzr  to automatically increment the version number in a setup.py file17:04
james_wpiedoggie: there's the version-info command that might help you17:07
james_wI think it's something like bzr version-info > _version.py and then import that in setup.py and grab the revno17:07
james_wversion-info --python or something actually17:07
james_wis that what you meant?17:08
piedoggiesomething like that17:09
piedoggieI still need a figure out how this would affect the version number seen when you run setup17:11
piedoggiealso need to figure out how to include it, generate a new one on every commit etc.17:11
james_wwell setup.py is python, so you can do all this, and then pass it to the function that you call in there.17:11
james_wah, on commit, that's different17:12
james_wyou could use some sort of hook I think17:12
piedoggiemy nickname is Mr. forgetful.  I can't tell you the number of times I've created new packages and then fold them up with a single commit for just the version number change17:12
james_woh yeah, I do that all the time as well17:12
LarstiQversion-info --template might be of help17:13
james_whi LarstiQ17:13
LarstiQhey james_w, piedoggie17:13
piedoggieafternoon17:14
piedoggiewell, I can see the auto version number update will take a bit more thing time to make it right (or least documented)17:16
piedoggie... a bit more think time...17:16
=== Pilky__ is now known as Pilky
hmeland_LeoNerd: Maybe you could do "bzr pull && bzr push;"?  I.e. try to pull from "other", and unless that fails, try to push revisions from "this" to "other".17:21
LeoNerdhmeland_: Hmmm... That might work... Though if both fail, how to tell between "sides are identical" from "sides have diverged" ?17:21
hmeland_Quick test shows that "Nothing to do" will succeed for "bzr pull", at least.17:23
LeoNerdAh OK. :)17:24
hmeland_You can apparently also use "bzr pull -q", which will give an ERROR if the branches have diverged.17:26
LeoNerdOK. That's probably good enough then17:27
=== kiko is now known as kiko-fud
=== kiko-fud is now known as kiko
abentleyjelmer: around?19:45
jelmerabentley: hi20:07
=== mw is now known as mw|food
abentleyjelmer: We're trying to track down what happened when you got an OOPS error yesterday20:47
abentleyIt looks as though you tried to register a branch with the name .bzr, but of course that doesn't make much sense.20:47
jelmerah20:48
jelmerabentley: please ignore those20:49
abentleyWell, this is an internal error.  Users really shouldn't ever get those.20:49
jelmerabentley: I mass-registered a bunch of branches20:49
abentleyOh, shell-scripting glitch?20:50
jelmerI've got a particular directory structure on my server that I relied on20:50
jelmerI've got a plugin that allows short URL access to those branches and can auto-register them20:51
jelmerIt looks like it tried to register all the files in a working tree somewhere20:51
abentleyAh, okay.20:51
jelmerabentley: It would be nice to get a clearer error, but I doubt it would ever happen to a normal user.20:52
abentleyCool.20:52
jelmerIt would of course also be nice if launchpad could do recursive finding of branches under a particular URL...20:55
xma'lo21:02
thumperjames_w: the alias patch has been sitting idle as I haven't written appropriate tests yet21:02
xmawhat should I do when I merge and something is going bad ?21:02
james_wthumper: ah, ok, thanks21:02
xmaI resolved the conflict and cleared it21:03
xmabut now I am stuck with "pending merges"21:03
thumperjames_w: I really should get around to finishing it21:03
james_wit would be nice to have21:03
xmanobody ? :(21:05
mwhudson__xma: commit?21:05
=== mwhudson__ is now known as mwhudson
xmahum21:05
xmawhat is the merge command purpose then ?21:05
thumperxma: to merge in changes21:05
thumperxma: it doesn't commit them21:06
xmareally ?21:06
james_wto bring the other branch commits in, you still have to check they are merged well and then commit21:06
thumperyes, it is a feature21:06
xmaoh I see :)21:06
xmawill it take the commit message from the merge patch ?21:07
datono21:07
xmaok21:07
xmaI will have to generate it from my branch then21:07
mdkelifeless: around?21:13
xmaare there any python-mode users around ?21:18
xmajames_w: is it normal that my merge+commit added stuff not by me ?21:19
xmajames_w: there were many lines touched outside of my scope21:19
xmajames_w: I only modified 4 files and it seems latest commit did more than that21:19
james_wxma: they were changed in the branch you merged?21:19
xmajames_w: dunno21:20
xmajames_w: when I bzr status, only my files were marked as "modified"21:20
xmaand now I see many lines touched in many other files in the commit21:21
james_wand then where do you see the other lines changed?21:21
james_wno files were marked as added?21:21
xmajames_w: ok I think I know why :) bzr send -o mypatch was not enough21:22
xmajames_w: I have to add the revision number to21:22
xmao21:22
mdkeI'm interested in getting some information about the rich-root-pack format. Is it documented anywhere? Are there any obvious disadvantages to using it? Is it expected to be the default bzr format, and if so, how far away is that?21:23
xmahum no, it is not21:23
james_wmdke: non-rich root repositories don't allow you store a normal file-id for the root of a repo.21:24
james_wThis means that they all have the same root id21:24
james_wthis, for instance, isn't satisfactory for bzr-svn21:25
mdkeI don't think that is a feature we currently use, although I suppose we might like to21:25
xmajames_w: how do I know what a particular rev contains ?21:25
xmajames_w: I want to see what is in the rev 3318 for instance21:25
james_wmdke: it will not be the default format, though the default format will have rich roots21:25
james_wmdke: perhaps bzr-1.4 will have a new default format with rich-roots21:26
mdkejames_w: rich-root-pack will never be the default format?21:26
james_wmdke: no, but an evolution of it will21:26
mdkejames_w: will an upgrade from it be supported?21:27
james_wxma: bzr log -v -r 331821:27
james_wxma: bzr diff -c 331821:27
james_wmdke: yes21:27
xmajames_w: thank you21:27
james_wmdke: however I don't think downgrade from rich-root to non-rich-root is supported, as that would throw information away21:28
mdkesure21:28
james_wmdke: I don't think that would be part of your considerations though21:28
james_wis this for the docs?21:28
mdkeubuntu-docs21:28
james_wyeah, we've heard you're not happy with the current state of things21:28
mdkethey currently use dirstate-with-subtree21:28
mdkejames_w: that's not true, I'm very happy; I'm just trying to figure out what to upgrade to...21:29
=== mw|food is now known as mw
jelmermdke: they should be able to use --pack-0.92-subtree21:29
jelmerthat'll at least give them packs21:29
datoand I thought it could work to -subtree too, albeit very slowly?21:29
mdkejelmer: is that better than rich-root-pack?21:29
mdkejames_w: and which format to use for a potential new branch21:30
james_wmdke: ah, we have heard some complaints, but if you're happy that's great21:31
xmajames_w: sorry to bother but how do I safely and cleanly get rid of a branch ?21:31
jelmermdke: better in what sense?21:31
mdkejames_w: well, not from me21:31
james_wmdke: the default will be fine.21:31
mdkejames_w: hmm?21:31
james_wmdke: probably 1.4 will upgrade that to rich roots, but if you're not going to use rich-root features then there's not much point of using the format21:32
james_wmdke: you asked what to use for a new branch, I was saying the default will be fine..21:32
james_wxma: is this branch using a shared repository?21:32
mdkejames_w: well, wouldn't a major reason to do so be to enable the branch to be used in a shared repository with the other branches21:32
xmajames_w: yes it does21:33
james_wmdke: that's very true21:33
mdkejelmer: in any sense :) I was using the word "better" in the way that someone who doesn't know much about the subject would21:33
james_wxma: well rm -rf the branch (after making sure it is the right one, and there are no uncommitted changes, etc.)21:33
james_whowever this leaves the revisions in the shared repository21:33
james_wthere is currently no way to garbage collect those with a command21:34
james_wif you really want to do it the best way is to create a new repository and then branch all of the branches that you want to keep in to it.21:34
xmajames_w: I want, in fact, to get rid of changes I have made onto a branch and put the branch "clean" with no modficiations pending etc.21:34
xmain short, I want to be sure all my files are at revision #21:36
james_wxma: bzr revert -r revno21:37
xmajames_w: ok thank you21:38
james_wif that is not the current tip of the branch then that will still leave you with changes21:38
james_wbzr pull -r revno --overwrite .21:38
james_wwill put you on a revision with no changes21:38
mw-homeI want to use bzr to branch an svn repository.  I tried bzr branch svn+http://asfasd and I got an error: bzr: ERROR: Permission denied: ".": PROPFIND request failed on '/21:38
mw-homeAny ideas?21:38
james_wmw-home: I assume you can "info" it with svn21:40
mdkesorry, hit the wrong button21:40
mdkejames_w, jelmer - so I'm interested in upgrading to packs because I've heard it will cause good things, but I want all the branches to be the same format so they can go in a shared repository. So I'd need to upgrade the old branches as well as init the new branch with that format21:42
mw-homejames_w: yeah, I can run svn info on the repo, and I don't prompted for a userID and password.21:42
mdkeI haven't heard any disadvantages so far!21:42
mdke:)21:42
jelmermdke: in that case, go for --pack-0.92-subtree if you have old branches that use --dirstate-subtree21:42
mwdamn nick highliting :)21:43
jelmermw: what os are you on?21:43
mdkejelmer: what are the reasons that --pack-0.92-subtree is better (in the general sense) than rich-root-pack? It's harder to spell21:43
mwjelmer: opensuse, why?21:44
jelmermdke: It's impossible to upgrade from --dirstate-subtree to --rich-root-pack afaik21:44
mdkejelmer: I'm trying it by branching into a rich-root-pack shared repo, I was told that should work. it's going ok - about half way21:45
jelmermdke: In that case, --rich-root-pack would be a better choice, indeed21:47
mdkejelmer: ok, we'll see if it works!21:47
mw-homejames_w: any other ideas why bzr branch svn+http would fail on an svn repo that allows the world to read it?21:48
mdkejames_w: is there somewhere I can read about the "not happy" thing - I'd like to correct it if it's on a public list21:49
jelmermw: what version of bzr-svn?21:51
james_wmdke: no, it was just on IRC, here and Ubuntu channels. The complaint was that checkout was slow, and that the branch may not have been optimal from some things that may have happened in the past21:51
james_wbut there was nothing concrete in the last part21:52
mwjelmer: sorry, i think you mean to be asking mw-home21:52
mw-homejelmer: 1.021:52
jelmermw: Whoops, sorry21:52
jelmermw-home: Uhm, there is no bzr-svn 1.0 :-)21:53
mw-homejelmer: sorry.  0.4721:53
mdkejames_w: ok fine - I think it's more a question of just trying to optimise things, the checkout was always going to be slow because of the size of the working tree and the downloading of the revision history21:53
mw-home0.4.721:53
james_wmdke: yeah, it's not optimal, I'm sure. And I'm sure people get annoyed by the delays as well.21:54
mw-homeI installed bzr-svn as an ubuntu package.  Maybe I should remove that package and grab the bzr branch of the package instead?21:54
jelmermw-home: is this a public repository>21:54
jelmer?21:54
mw-homejelmer: yeah it is a public read-only repository.  here it is: http://svn.traceback.org/python21:55
jelmermw-home: The repository requires authentication, e.g. "svn ls http://svn.traceback.org/python"21:57
mw-homejelmer: I don't get prompted for authentication on the /python subdir.21:58
mw-homeunrelated question.  is bzr-svn/stable a tagged release of bzr?21:59
mw-homebzr-svn?21:59
jelmermw-home: bzr-svn requires access to the root of the repository22:01
mw-homejelmer: got it.  thanks.22:01
jelmermw-home: not sure I understand your other question22:02
mw-homemy other question is, i just did a bzr branch on bzr-svn/stable.  Now I have a $HOME/.bazaar/plugins/stable directory. Do I need to rename stable to bzr_svn?22:02
jelmeryou have to rename it to svn22:04
mw-homegotcha.22:04
mw-homeShould that be in the README file?  I can send in a patch with that text edit if you want.22:05
jelmerI think it will tell you if you give it another name22:05
jelmeralthough patches (or bundles, rather) that improve the documentation are very welcome22:06
lifelessmdke: hi, will be around in one hour22:09
mdkelifeless: morning :) will try and hang around22:14
mdkejelmer: looks like it is working ok! the shared repo is 1.3GB on the new format as opposed to 1.6GB with the old one, a tidy saving22:57
lifelessmdke: hi22:58
mdkelifeless: hiya. I've been playing with converting the branches to rich-root-pack format, with the space saving as above22:58
mdkeI'm still thinking of starting our intrepid branch from scratch though, just to wipe the slate clean23:00
mdkeI think we have a lot of heavy stuff hanging around in the history that we don't use23:01
mdkeand of course for historic record, we have it in the old branches23:03
james_wmdke: just as a heads up, if you do decide to do this then --file-ids-from will probably be what you want to do for the first add in your new branch23:04
lifelessI'm just looking at your branch now23:04
james_whi lifeless23:05
lifelesshi james_w23:13
lifelessmdke: so I'm doing some analysis to figure out how big your branches various data items are23:13
mdkelifeless: sounds good23:16
abentleyjames_w: Your changes to the Revision documentation make it a lot longer and intimidating.23:18
abentleyIf you're going to go into that kind of detail, could you try writing it in newspaper style, putting the most important things first?23:18
james_wabentley: sure, I'll do that tomorrow23:20
abentleyThanks.23:20
lifelessabentley: IIRC someone wrote a branch stats generator23:30
lifelessabentley: do you remember it ?23:30
fullermdI vaguely remember some stats thing that listed number of commits by commiter or something like that...23:31
mdkelifeless: what's the diagnosis?23:33
lifelessmdke: still getting a clone23:33
lifelessmdke: you really should upgrade to rich-root-pack :P23:34
bob2"bad", then ;)23:34
lifelesswhether or not you start over23:34
mdkelifeless: ok. Would it help for you to have access to my pc?23:34
mdkeI have the branches converted to rich-root-pack there23:34
lifelessnot really23:34
lifeless its cloning inside the dc23:35
mdkeok23:35
mdkelifeless: out of interest, is it possible for me to overwrite the launchpad branches now I've got converted local branches with rich-root-pack?23:37
mdkeor do I need to delete the existing ones and recreate them23:37
lifelessmdke: bzr upgrade sftp://bazaar.launchpad.net/....23:45
lifelessthat will download/upload it all tho, so doing it from a dc machine is preferrable23:46
lifelesswe will do a push-button upgrade for lp at some point23:46
mdkelifeless: is bzr upgrade safe to do on that? I tried it on my local branch and it broke. for the conversion I used "bzr init-repo --rich-root-pack ; bzr branch ../old-repo/branch branch"23:46
mdkeI dunno if it broke because I have a shared repo or for another reason23:46
james_wmdke: what was the error?23:47
mdkejames_w: I didn't make a note of it I'm afraid23:47
lifelessmdke: 'bzr reconcile sftp://....' first then23:48
mdkeOk. I'll try it after hardy is released :)23:48
mdkelifeless: I have to go to bed now. If you could leave a msg here (or more reliably, pop me an email), I'd be very grateful. Thanks for all your help23:51
mdkethanks james_w too23:51
igcmorning23:57

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