/srv/irclogs.ubuntu.com/2008/12/16/#bzr.txt

`mouseyDoes anyone know where I can obtain the Windows standalone installer for bzr 1.10?00:00
Peng_`mousey: The build machine has been having issues; there isn't one yet.00:00
`mouseyahh rightio00:00
`mouseycan I just grab the zip and overwrite my existing bzr folder with it to get 1.10?00:01
`mousey*install folder00:01
=== stewart_ is now known as stewart
jelmerwb enigma00:13
jelmerenigma, there are only a few bzr svn-* commands00:13
jelmerbzr svn-import / bzr svn-upgrade (not relevant right now) / bzr svn-branching-scheme (only for bzr-svn == 0.4) / bzr svn-set-revprops / bzr svn-layout00:14
enigmajelmer: Thanks.00:15
enigmajelmer: Suppose I branch http://remoterepo/trunk/foobar and then I tag rev 33. How do I get that tag back into SVN? (This is with 0.5)00:16
enigmaI should clarify: http://remoterepo/svn/trunk/foobar00:17
jelmerenigma, there is no way to do that at the moment, in the future it will be possible to set a configuration variable with the path in which tags should be created00:20
jelmeryou can hardcode that path for now, at layout/standard.py:23000:20
enigmaWhat happens to tags right now?00:20
enigmaIs the "custom" layout stuff relevant for 0.5 still?00:21
jelmerenigma, yes, the custom layout stuff is still relevant for 0.500:21
jelmerenigma, You'll see what happens if you try the latest revision from the 0.5 branch :-)00:21
enigmaAre there doc on the layout stuff (beyond the help page for layouts)?00:21
enigmajelmer: OK. Let me try...pulling...00:22
jelmerenigma, no, the svn-layout helppage is all there is00:23
enigmaOK. Thanks.00:23
jelmerenigma: sorry, that should be layout/standard.py:31000:25
enigmaOK.00:25
enigmaSo, if I check out a branch directly, I end up with a "wild card" layout?00:26
enigmaSo, I should check out at the "trunk" level?00:27
jelmerenigma: Ah, sorry00:27
jelmerenigma, You will end up with a WildcardLayout() if you have "branches = " configured in the bazaar configuration file00:27
jelmerenigma, you will end up with TrunkLayout() if you branch "/trunk" or "/branches/X"00:27
jelmeryou will end up with CustomLayout() if you branch /trunk/foo/bar00:28
jelmeryou will end up with RootLayout() if you branch "/"00:28
enigmaSo branching "/trunk/foo" will give me CustomLayout?00:28
jelmeronly TrunkLayout() supports tags at the moment (as the path to the tags isn't known in all the other cases)00:28
jelmerenigma, correct00:28
enigmaOh, OK. I see. It's making a lot more sense now.00:29
enigmaAm I the only one who gets a little mislead by the "No new revisions to push" message when pushing tags?00:37
enigmaIt seems like bzr should say "Push new metadata, but no new revisions"00:37
enigmaOr something like that.00:37
spivenigma: I think there's already a bug report about that00:37
spiv(not 100% sure)00:37
spivIt certainly is confusing.00:38
enigmaBy mandate of "central IT", we are required to stuff all our code in one subversion repository. Since we have several different project all in one repo, it seems as if the appropriate structure in svn should be: /project/(trunk|tags|branches). Does that sound right?00:52
enigmaCurrently we have /trunk/project, so that isn't going to play nice with bzr-svn if we want branching and tagging, right?00:52
jelmerenigma, branching is going to work ok (since you specify the branch URL each time), tagging isn't (since it has to find the tags URL on its own in that case)00:53
jelmeryou can set the "tags" and "branches" configuration variables in the config to force it to find your branches and tags00:54
jelmerexcept that won't allow you to create new tags (yet), since I haven't hooked that up yet00:54
enigmaOK.00:54
enigmajelmer: If I felt so inclined to add more detail to documentation, what would be a good way to give that back?00:56
jelmerenigma, yeah, definitely00:57
enigmaHow do I send the changes back?00:57
jelmerjust "bzr send" should sent back your local commits to me :-)00:58
enigmaOK. :-)00:58
jelmerPeng, interesting bug you hit there :-) Seems to be caused by svk replacing a directory by a copy of itself (without changes)01:16
enigmajelmer: Suppose I have "trunk/foobar" in svn and I want to make a branch "branches/foobar-2.0", should I just use "svn copy" to make the branch?01:47
enigmaOr is there a way to make that branch with bzr-svn?01:47
jelmerenigma, you can just "bzr svn-push" to the new location01:47
jelmerenigma, but "svn cp" will also work01:47
enigmaOK. Let me try the svn-push.01:48
jelmerPeng_, still there?01:48
jelmerlifeless, ping01:50
enigmajelmer: Wow! bzr-push worked beautifully!01:50
RyanPriorCan anybody point me to a document explaining bzr's advantages as compared to git, mercurial, perforce, and similar software?01:50
jelmer:-)01:50
enigmaRyanPrior: This chat room is one of the advantages! ;-)01:51
jelmerRyanPrior, there are various BzrVsX pages on the wiki01:51
jelmerRyanPrior, http://bazaar-vcs.org/BzrVsGit / http://bazaar-vcs.org/BzrVsHg / ...01:51
enigmaRyanPrior: Try to get a hold of the authors of Perforce on irc. ;-)01:51
RyanPriorThanks for those links, they are informative.02:11
AfCHm. Maybe someone in Canonical's marketing department should give http://bazaar-vcs.org/Benchmarks some love, seeing as how the most recent thing cited there is bzr version 1.1dev02:26
* mwhudson needs his "bzr oh-crap-ive-been-editing-in-trunk" plugin again02:29
mwhudsonextra bonus points if it can somehow convince emacs to reload all its buffers from the branch it should create...02:30
thumpermw:)02:33
thumpermwhudson: :)02:33
Peng_jelmer: pingpong02:51
Peng_jelmer: (that was really just a pong, not a ping)02:54
jelmerPeng_, Any chance you can unsubscribe from lp:~bzr-svn/bzr-svn/trunk ?02:58
jelmerlp won't let me remove it otherwise02:58
spivjelmer: rename it from "trunk" to "please-unsubscribe-kthxbye"? ;)03:00
jelmerspiv, well, peng is the only subscriber, this seemed easier :-)03:00
Peng_Heh.03:13
Peng_jelmer: lp:~jelmer/bzr-svn/trunk? Done.03:14
Peng_You're deleting it? Poor branch.03:14
jelmerPeng_, thanks03:15
jelmeryeah, people seem to end up using it while it is not actively developed03:15
jelmerI'll just readd it when I work on it again03:15
Peng_Ah.03:16
Peng_It had a bunch of associated bugs, and a merge proposal.03:17
igchi all03:27
Peng_Good morning.03:29
lifelessjelmer: having something called trunk not be the active branch is ... weird.03:31
jelmerlifeless, perhaps; that's why it's gone now03:32
=== mwhudson_ is now known as mwhudson
=== Mario__ is now known as pygi
spivpoolie: I just sent you some insert_record_stream RPC perf numbers.  Fairly basic at this stage, but it should be easier to get more numbers as the code gets less quirky.05:48
pooliethanks05:53
pooliespiv, can you please measure something for an incremental push too?06:20
spivpoolie: sure, just a moment.06:22
spivpoolie: pushing bzr.dev onto bzr.dev -r-100: 74 hpss calls (bzr.dev), 39 (streaming-push)06:25
spivpoolie: (and 20.9s/6.5s wall/user time vs. 24.4s/5.2s)06:27
spivpoolie: pushing one rev onto bzr.dev: 47 hpss calls vs. 24.06:32
spiv(And there's 3 easy to remove calls in that 24, I think)06:33
poolieso the wall time got worse?06:37
spivpoolie: yes, although the need for topological sorting is a likely culprit there.  There's possibly also some extra time due to the server doing more thinking now.06:43
lifelessshouldn't need topo sorting06:44
spivpoolie: oh, and tee'ing the stream in case a fallback is needed hurts a fair bit too.06:44
lifelessbah, I'm on leave.  Honest.  But dig up the mail I wrote about this some months back; topo sort is /one/ parameter in the api06:44
spivlifeless: it's not needed in principle, it is with the current implementation :)06:44
spivlifeless: which calls down to insert_record_stream([one_record]) many times on the server.06:45
spivlifeless: that's certainly fixable, but getting things working comes before making them fast :)06:45
spivlifeless: also, enjoy your leave!06:50
poolieis it just me or does the bzr-gtk test suite require the user to click the right buttons to make things pass?06:54
pooliespiv, anyhow, thankyou, that's helpful06:54
spivpoolie: great.06:55
vilahi all07:07
vilapoolie: what bzr-gtk version are you using ? A bug was fixed long ago about that07:08
vilapoolie: could be a new one though..07:08
pooliehello vila07:10
poolieit might be quite old...07:10
vilapoolie: Just checked: I'm up to date and 'bzr selftest -s bp.gtk' runs flawlessly07:11
spivI see that our test suite seems to import plugins even with --no-plugins atm.07:12
* spiv sends off a quick patch about that.07:16
spivOk, that's me done for the day.07:16
poolienight spivvo07:23
rkistneris it at all possible to do something like single-file branching in bzr?08:19
bob2not really08:20
bob2you could branch and delete all but one file08:20
rkistneri'm developing a CMS website and want to use bzr for version control of the content08:20
rkistnerso now if a user wants to edit content, i want to branch that content08:21
rkistnerand merge it back in when the user is done editing08:21
rkistnerbut if i have a lot of users and content, it will get impractical to branch all the content for every user08:21
rkistnerso actually, i just want to do a lightweight checkout of a single file08:23
rkistnermight it be possible with "manual" api calls?08:23
poolierkistner: yes, have a look at a MemoryTree or PreviewTree08:24
rkistnerpoolie: thanks, will have a look08:26
rkistnerare there any documentation on MemoryTree and PreviewTree, apart from the API?08:45
poolierkistner: maybe in doc/developer?09:34
rkistneractually, i couldn't even find the api documentation for previewtree so far09:36
pooliehttp://starship.python.net/crew/mwh/bzrlibapi/09:39
pooliehttp://starship.python.net/crew/mwh/bzrlibapi/bzrlib.memorytree.MemoryTree.html09:40
poolieis probably what you want09:40
rkistnerok09:40
pooliebut what you're going to do will be a bit atypical09:41
poolieso it might be better to write about wherever you get up to to the mailing list09:41
rkistnerok09:42
rockyjelmer: i really think you should undeprecate "svn+http(s)" ;)13:34
jelmerrocky, why/13:34
jelmer?13:34
BUGabundo_workhi13:36
BUGabundo_workwhat does "No handlers could be found for logger "bzr" " mean?13:36
\shguys, what is the right way of updating bzr imported svn branches from svn repo?13:38
\shforget the question.../me needs to clean glasses13:38
Peng_BUGabundo_work: Are you using bzrlib or running "bzr"?13:39
BUGabundo_workbzr Peng_13:40
BUGabundo_workbrz commit .13:40
BUGabundo_worklocal repo of files13:40
BUGabundo_workstand alone13:40
jelmer\sh, :-)13:40
Peng_BUGabundo_work: 1.) It's not really a big deal; it's just a warning, 2.) It means the debug log isn't working for some reason.13:40
\shjelmer: svn-upgrade is too obvious ;)13:41
Peng_BUGabundo_work: Run "bzr version" to see where it's located. Maybe you don't have write permissions?13:41
BUGabundo_workbut really nasty when used with autocomplete TAB TAB13:41
jelmer\sh: not sure I follow, svn-upgrade should only be necessary if you used to use bzr-svn 0.3.x which is over a year old by now13:41
BUGabundo_workI see a few exceptions there13:42
\shjelmer: then I'm lost ;) /me wants to do something like "svn update" on bzr imported svn branches :)13:42
jelmer\sh, Just do whatever you would do on a regular bzr branch :-)13:42
jelmer\sh, just "bzr pull <svn-location>" should work13:42
jelmeror "bzr update" if it's a checkout13:43
\shjelmer: bzr pull? oh xmas is near :)13:43
BUGabundo_workPeng_ can you take a look please13:43
BUGabundo_workhttp://paste.ubuntu.com/8626113:43
Peng_BUGabundo_work: Haha. That issue was fixed in 1.10.13:45
BUGabundo_workI'm on jaunty13:45
BUGabundo_workI have 1.9-113:45
BUGabundo_workshould I test a PPA?13:45
Peng_You could.13:45
BUGabundo_workis there a bug I can track=?13:45
Peng_BUGabundo_work: For what?13:46
BUGabundo_workfor this version error?13:46
Peng_BUGabundo_work: No, a bug was never filed about it.13:46
BUGabundo_workI'll file it when I come back13:46
Peng_Jaunty runs an alpha version of Python?13:46
BUGabundo_workI have no idea!13:46
Peng_BUGabundo_work: Like I said, the "bzr version" bug was fixed in 1.10.13:46
BUGabundo_workhttp://paste.ubuntu.com/86263/13:47
BUGabundo_workand http://paste.ubuntu.com/86264/13:47
BUGabundo_workbrb13:47
=== beuno_ is now known as beuno
Peng_BUGabundo_work: You can use the PPA to upgrade to bzr 1.10 if you want to, but it's not necessary. https://launchpad.net/~bzr/+archive13:49
Peng_BUGabundo_work: I only wanted you to run "bzr version" to find out the location of .bzr.log, but it's probably ~/.bzr.log.13:49
Peng_Wait, Jaunty? It doesn't look like there is a PPA build for Jaunty in the first place.13:50
Peng_Eh.13:50
=== sdboyer-laptop is now known as sdboyer|sprint
\shjelmer: any clue how to resolve this? or what would be a trigger for this? bzr: ERROR: Must end write group before releasing write lock on KnitPackRepository('file:///home/shermann/workspace/zend-framework/standard/.bzr/repository/')14:10
jelmer\sh, that's actually masking any real errors14:10
jelmercan you pastebin the full backtrace?14:11
\shjelmer: there is no one14:11
jelmer\sh, when does this happen?14:11
knighthawkcan anyone point me to docs on how to use nautilus-bzr?14:12
knighthawkI have it installed but don't see how to use it.14:12
\shjelmer: after svn-import --all --incremental <zend-framework svn repo>14:12
jelmerknighthawk, it should just start showing small icons for your bzr managed files in nautilus14:12
\shjelmer: he was in the stage of creating the revisions (I could do that again ;))14:12
BUGabundo_work1Peng_: back14:12
jelmer\sh, are you running 0.4.16?14:13
\shjelmer: 0.4.13 from intrepid14:13
knighthawkjelmer yeah that's what I figured but it doesn't seem to be doing that.14:14
jelmerknighthawk, do you have python-nautilus installed?14:14
rockyjelmer: you have any idea about http://cluebin.appspot.com/pasted/4002 and http://cluebin.appspot.com/pasted/3611 ? that's with bzr 1.10 and bzr-svn-0.5 branch as of a few days ago (and just updated and confirmed it's still happening)14:14
jelmer\sh, It may be fixed in a newer version, or at least give a better error.14:15
jelmerrocky, the first is a bzr-svn bug that's been fixed in the 0.5 branch14:16
\shjelmer: trying 0.4.1614:16
knighthawkjelmer, rpm -q python-nautilus14:16
knighthawkpackage python-nautilus is not installed14:16
knighthawkI'll see about that.14:16
knighthawkjelmer, doesn't seem to be a package name.14:16
jelmerknighthawk, I don't know what it's named on RPM-based systems, and whether it's packaged at all there, sorry.14:17
knighthawkjelmer, well that gives me a place to start thanks.14:18
Peng_Oops, now I was awya.14:21
Peng_away*14:21
rockyjelmer: both those msgs come from the same error, and i am running the latest code and get the same error (even if those pastes are a couple days old)14:21
jelmerrocky, you're running r2270 ?14:21
rockyjelmer: yep14:22
rockyjelmer: a more recent paste (definitely from r2270) is cluebin.appspot.com/pasted/400614:23
rockyjelmer: and you can try it as well as the svn repo is publically available i believe14:23
* jelmer gives it a try14:25
rockyjelmer: if that url doesn't work for you, just try the non-https version, i definitely know it's available to anonymous users14:26
jelmerit works without svn+ even :-)14:26
rockyjelmer: it never works properly for me without svn+ because pycurl barfs14:26
rockyjelmer: but regardless... did the branch/checkout work for you?14:26
jelmerstill running14:27
rockykk14:27
rockyfor me it gets really far before it bails14:27
Peng_jelmer: If you changed bzr-svn's version_info from (0, 5, 0, 'rc', 1) to (0, 5, 0, 'candidate', 1), bzrlib._format_version_tuple() wouldn't barf on it anymore.14:27
Peng_Hmm.14:27
BUGabundo_work1Peng_: bug #30857814:28
ubottuLaunchpad bug 308578 in bzr "bzr: ERROR: exceptions.ValueError: version_info (2, 5, 3, 'alpha', 0) not valid" [Undecided,New] https://launchpad.net/bugs/30857814:28
BUGabundo_work1I filled it14:28
Peng_BUGabundo_work1: Yeah, it was definitely fixed in 1.10.14:29
BUGabundo_work1humm can you mark it in progress? or fix available?14:30
BUGabundo_work1where can I get the patch?14:30
BUGabundo_work1bzr repo?14:30
Peng_BUGabundo_work1: http://bazaar.launchpad.net/~bzr/bzr/trunk/revision/384914:31
BUGabundo_work1so bzr branch lp:bzr should do it for me?14:33
Peng_BUGabundo_work1: Well, yes.14:33
* BUGabundo_work1 admits to be very new to this14:33
Peng_BUGabundo_work1: You could also get 1.10 off the website. Or you could just patch your 1.9 installation.14:34
* BUGabundo_work1 wants to learn14:34
BUGabundoPeng_: $ cd /tmp/;bzr branch lp:bzr;14:36
BUGabundoDisconnecting: Corrupted MAC on input. bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required)14:36
rockyjelmer: i have to take off for some errands but feel rest assured that i will ping you on the issue a little later :)14:36
BUGabundoPeng_: https://launchpad.net/~bzr/+archive already has 1.10, but no version for Jaunty... kinda strange..14:38
Peng_BUGabundo: Now _that_ I don't know. Is it really worth all this effort for the "bzr version" bug? :P14:38
BUGabundo_work1its just to fix that stupid warning ...  LOL14:39
BUGabundo_work1but I can wait.14:39
Peng_BUGabundo_work1: The logging thing isn't related to hte "bzr version" thing.14:39
BUGabundoI'll test deb http://ppa.launchpad.net/bzr-beta-ppa/ubuntu jaunty main  and see if both are fixed14:40
Peng_Hmm, why *does* "bzr version" traceback when plugins have a bad version_info anyway? The plugin code works around that (e.g., "bzr plugins" works).14:42
BUGabundo_work1no idea!14:44
BUGabundo_work1I'm just a simple user14:44
BUGabundo_work1who gets anoyed every day, when doing regular commits14:44
Peng_BUGabundo_work1: Does ~/.bzr.log exist?14:45
* BUGabundo_work1 checking14:45
BUGabundo_work1yes14:45
BUGabundo_work1and is owned by root14:45
BUGabundo_work1can it be the origen of the prob?14:46
Peng_BUGabundo_work1: Probably.14:46
BUGabundo_work1maybe I did a commit with the wrong user?14:46
Peng_BUGabundo_work1: Try renaming/deleting/chowning it.14:46
BUGabundo_work1I have several repos14:46
BUGabundo_work1one for /etc14:46
BUGabundo_work1that is done with sudo14:46
BUGabundosudo chown bugabundo:bugabundo .bzr -R14:47
BUGabundoahhhhhhhhhh14:47
BUGabundothat works...14:47
Peng_Ohnoes, clones.14:47
BUGabundono more warning14:47
BUGabundoeheh14:47
BUGabundolaptop with ubuntu14:47
BUGabundo_work1Office PC here14:48
BUGabundobut I still get the brz version trace14:48
BUGabundoupgrading bzr now14:48
BUGabundoit now works fine too14:49
Peng_:D14:49
BUGabundoBazaar (bzr) 1.10rc114:49
Peng_If you install bzr from source, you should compile the C extensions.14:49
BUGabundo_work1humm?14:49
BUGabundo_work1too complicated for me LOL14:50
BUGabundo_work1brb14:50
BUGabundo_work1thanks Peng_14:50
Peng_BUGabundo: 1.10 final is out too.14:50
BUGabundo_work1its what the PPA sent me14:50
Peng_Ah.14:53
Stavroshello15:47
Stavrosi am trying to checkout a repo that has a symlink, but i'm on windows so it fails15:47
Stavroswhat can i do, apart from get a normal OS?15:47
Stavrossymlinks? anyone?15:51
Peng_Stavros: There's a symlink plugin.15:53
StavrosPeng: ah, thanks15:56
pthulinif I've made a commit to a local branch that I havn't yet pushed anywhere, is there some way to change the commit message after hand? Thanks =)16:25
LeoNerdOnly by uncommit/recommit16:26
pthulinaha, thanks LeoNerd16:27
rockyjelmer: any progress on the issue i mentioned earlier? :)  did you at least reproduce it ?16:29
nDuffI know there's been discussion in the past of support for plugins adding content-aware merge algorithms; has anyone implemented such a thing as of yet?16:30
jelmerrocky, Yes, I can confirm it's still there16:31
jelmerhaven't found out what's causing it yet; hopefully later tonight16:31
jelmernDuff, Not that I've seen16:31
jelmernDuff, I think Odd_Bloke was working on it16:32
Odd_BlokeNominally, yes.16:32
Odd_BlokeIn reality, I haven't started.16:32
Odd_BlokeBut I think you can already plug your own merge algorithms in.16:32
Odd_BlokeAnd so you could do some content-checking in there.16:33
Odd_BlokeBut I don't really know any more than that.16:33
garyvdmIf I've got a bound branch, (a checkout), is there a way to get it to use the parent/push locations?16:41
garyvdmparent/push locations of the branch it is bound to?16:41
\shjelmer: I'm trying latest bzr + latest bzr-svn...same error no traceback...but when restarting the same import, he has less revisions to copy...16:49
jelmer\sh, that's correct, some revisions have already been copied in that case16:49
jelmerOdd_Bloke, ah, thanks16:49
jelmer\sh, can you comment out that exception and see what exception it is masking?16:49
enigma1I'm cloning an SVN repo...it gets to about version 4000 of 8500 and then I get the following error: bzr: ERROR: parent_id {3842@daff2dd8-1c3d-0410-9cd2-f6297dd8f964::trunk%2Fjetty-master%2Fsrc%2Fhtml} not in inventory16:49
enigma1(This is with bzr-svn 0.5)16:49
enigma1(trunk)16:50
\shjelmer: how do I do this?16:50
=== enigma1 is now known as enigma42
jelmer\sh, bzrlib/repository.py:114216:52
jelmerjust replace the raise with a "pass"16:52
\shjelmer: which method? in my source there is line 1142 in repository.py a "return result"16:54
jelmer\sh, unlock16:55
jelmerenigma42, hi16:55
\shjelmer: thx...now it takes some more time16:56
jelmerAmanicA, hi16:58
AmanicAhi16:58
jelmerAmanicA, I always forget - do you have PQM access?16:58
AmanicAno16:58
jelmerAmanicA, Ok; I've submitted your tags-range patch17:00
AmanicAthanks!17:01
AmanicA*goes for dinner17:01
enigma42jelmer: Hi17:13
enigma42jelmer: I had just stepped out for a bit to take all the garbage cans out to the curb. ;-)17:14
jelmerenigma42, hi17:17
jelmerenigma42, are you on r2270?17:18
enigma42jelmer: Let me check17:20
enigma42jelmer: No....I'm on 226617:21
enigma42Let me update.17:21
enigma42OK...I'm trying again. Should I clear the svn cache?17:23
jelmerno, that shouldn't be necessary17:24
enigma42OK17:24
LarstiQjelmer: bzr-svn 0.5 deals well with a previously branch-scheme breaking mv, thanks!17:26
LarstiQjelmer: unfortunately copies still seem to stop it dead in its tracks.17:27
jelmerLarstiQ, not sure I follow?17:27
jelmerLarstiQ, Copies of files you mean?17:27
LarstiQjelmer: no, svn cp trunk branch17:27
LarstiQnow branch and trunk don't share history17:28
LarstiQafaiui17:28
jelmerLarstiQ, they should, if you did a "bzr branch" of "branch"17:28
jelmerLarstiQ, or did you already push to both using older versions of bzr-svn?17:28
jelmerLarstiQ, oh, and "branch" would have one extra (pointless) commit after a "svn cp"17:30
LarstiQjelmer: no bzr has been used on that branch afaik17:30
LarstiQbut maybe it wasn't an svn cp, but manually, hmm17:30
LarstiQjelmer: would the svn log -v -r svnrev; where svnrev is the svn revno of the branch bzr first revision be helpful?17:32
jelmerLarstiQ, yes17:32
LarstiQit's a bunch of adds :/17:32
jelmernot a copy?17:32
LarstiQit mentions (from: /..)17:32
jelmerthat's a copy17:33
LarstiQok17:33
LarstiQjelmer: the README refers to BzrForeignBranches/Subversion/mapping , http://bazaar-vcs.org/BzrForeignBranches/Subversion/mapping doesn't seem to exist though?17:42
enigma42jelmer: Wow! bzr-svn 0.5 is *much* faster for pulling lots of revisions!17:43
jelmerenigma42, cool, that's good to hear :-)17:44
enigma42I'm able to pull down a 1000 revisions from a remote repo in about 1 minute.17:44
jelmerLarstiQ, ah, yeah, it's part of the bzr branch these days17:45
enigma42So this is the strange thing, if I just do a "pull", then it takes a really long time during "phase 0 of 2"17:45
enigma42But if I do "pull -v -r 2000" it goes much faster.17:45
jelmerenigma42, that's the "copying revisions" step or "fetching revision info" ?17:45
enigma42The "Pull phase 0/2"17:46
enigma42There's approx 8500 revisions in the svn repo.17:47
enigma42So what I'm doing right now is pulling down the revisions 1000 at a time.17:48
enigma42OK...I'm just around revision 4000 again and it's being slow.17:50
enigma42Let me investigate a bit.17:50
LarstiQevening jam17:54
enigma42What is "Pull phase 0" anyway?17:57
enigma42Versus "1" and "2"?17:57
jamhi LarstiQ17:58
=== Hydrogen_ is now known as Hydrogen
jelmerenigma42, is it working any better this time?18:10
enigma42Well...it's still slow, but I think I've narrowed it down to the problem revisions.18:12
enigma42I think it's getting stuck on an SVN branch we made a while back.18:13
\shjelmer: I don't get any backtrace :(18:21
jelmer\sh, so it just works ? Or does something else fail?18:21
\shno it failes after some time again..but no backtrace18:21
jelmerhow does it fail?18:22
\shsame error message: bzr: ERROR: Must end write group before releasing write lock on KnitPackRepository('file:///home/shermann/workspace/zend-framework/standard/.bzr/repository/')18:22
jelmer\sh, ah, looks like there's another place where that exception is raised..18:24
jelmerbzrlib/repofmt/pack_repo.py18:24
jelmerany chance you can comment it out there as well and try again?18:24
jelmersorry :-/18:24
\shjepp18:24
\shjelmer: I've to catch my train now...I'll leave it running, so I can see tomorrow morning what happened18:28
\shah ... now bzr: ERROR: Lock not held: LockableFiles(lock, file:///home/shermann/workspace/zend-framework/standard/.bzr/repository/)                  but no backtrace ;)18:29
\shanyways..I'm on the run :) cu tomorrow18:29
jelmerk18:30
jelmerbye!18:30
enigma42jelmer: I think I found the svn rev the pull is getting stuck on.18:33
enigma42jelmer: What sort of information should I dump out to see what's going on?18:33
enigma42Is just sits and sit here: | [                                                            ] Pull phase 0/218:33
jelmersvn log -v for the particular revision would probably be useful18:33
jelmerbut it's actually doing something ?18:34
enigma42top shows that it's using CPU18:34
enigma42But the progress bar is not ever moving.18:34
enigma42And it just sits there for minutes and minutes.18:34
jelmerif you run it with -Dtransport it will write the svn operations to ~/.bzr.log18:35
enigma42Oh, OK. Let me try that.18:35
jelmeryou can also interrupt it with SIGQUIT (Ctrl-\), that will put you into a Python debugger18:35
jelmeryou should then be able to see what's going on18:35
enigma42Ah...I see this log message: creating branch for POC of svn branching18:36
enigma42   A /branches/RELEASE_0_6_0 (from /trunk:4114)18:36
bialixhello18:39
bialixis there possible to create bzrdir without branch and checkout?18:39
bialixI'd like to have it in such state to prevent adding directory to toplevel branch and in the same to prevent creating checkout in this directory18:40
enigma42jelmer: It all gets very slow after the following:18:40
enigma4225.838  svn update -r411518:40
enigma4226.259  'branches/RELEASE_0_6_0' copied from 'trunk':svn-v3-none:daff2dd8-1c3d-0410-9cd2-f6297dd8f964::411418:40
enigma42jelmer: Maybe some kind of deep recursion following the copy?18:41
knighthawkstill learning how to do remote checkouts bzr branch bzr+ssh://serverName/file/path works18:41
enigma42jelmer: I pulled the top of the repo, so I should have a "root" layout.18:41
knighthawkbut bzr branch userName@bzr+ssh://serverName/file/path doesn't18:42
jelmerenigma42, yes, that will be slow indeed18:42
knighthawkhow so I add the user name to the URL?18:42
jelmerenigma42, There's not usually a reason to pull the top of the repository18:42
jelmerenigma42, in fact, it should warn you if you do so18:42
Peng_knighthawk: bzr+ssh://username@host/path18:42
Peng_knighthawk: Just like HTTP.18:42
enigma42jelmer: What I'm trying to do is clone the whole SVN repo.18:43
jelmerenigma42, in that case, you'd want "bzr svn-import"18:43
knighthawkthanks Peng18:43
jelmerenigma42: that will import all of the branches in the repository18:43
jelmerenigma42: Right now you're cloning a repository as if it were a branch18:43
enigma42I'm trying to clone the repo so that I can push it to a new server.18:44
enigma42if I use svn-import, will that let me push it all to a new server?18:44
jelmerenigma42, yes, though you would have to run "bzr svn-push" for each branch that it imports18:45
enigma42Oh, OK. Let me try svn-import. Thanks.18:46
jelmerenigma42, You didn't get the warning from "bzr branch" ?18:46
enigma42I can't recall. Let me try again.18:47
jelmerE.g. if I do:18:47
jelmerganieda:/data/tmp% bzr branch svn://svn.gnome.org/svn/gnome-specimen trpoq18:47
jelmerCloning Subversion repository as branch. To import the individual branches in the repository, use "bzr svn-import".18:47
enigma42Oh yes, I did get that. I guess I just ignored it since I've cloned the repo as a branch before.18:48
enigma42It was probably faster to clone last time because I was using 0.4 and it didn't follow the copies.18:49
knighthawkPeng that worked for me from linux. How do I do that from Windows?18:49
enigma42jelmer: So that's definitely going to be strange to clone the repo as a branch if there are copies inside the repo.18:51
jelmerenigma42: I think that warning probably should be an error18:51
jelmerenigma42, bzr doesn't support copies so bzr-svn has to fetch the whole branch all over again18:52
enigma42jelmer: Yeah, because it makes sense to treat the repo as a branch up until it discovers the first copy, then it just gets strange.18:52
jelmerenigma42: I don't think it makes sense to treat the repository as a branch if there are "trunk" and "branches/*" directories18:53
enigma42jelmer: True.18:53
enigma42I still have to wonder why the SVN developers thought it was a good idea to flatten branches and tags into the tree. ack!18:54
knighthawkcan anyone help me figure out bzr+ssh on windows? I have putty installed but I'm getting unsupport protocal for url18:54
enigma42jelmer: Now I get a different error: SubversionException: ("REPORT request failed on '/svn/sequoia/!svn/vcc/default'", 160005)18:54
enigma42knighthawk: bzr uses python parimiko for SSH, doesn't it?18:55
* jelmer sighs18:55
enigma42ahem...that should be "paramiko"18:55
jelmerenigma42, can you pastebin the backtrace?18:55
enigma42Sure. One sec.18:55
knighthawkenigma42, sorry no clue Not really that up2date on ssh on windows. or python for that matter.18:56
Peng_knighthawk: Install paramiko (and its dependency pycrypto)18:56
Peng_Although the batteries-included installer probably comes with them...18:57
enigma42jelmer: http://pastebin.ubuntu.com/86460/18:57
enigma42jelmer: Another quick question for you, I always have to have "svn+https://" in order to get bzr to use the SVN plugin, but the plugin keeps complaining about "svn+" as being deprecated. Is there a way to get bzr-svn to work with just using "https" without the "svn+"?19:17
enigma42jelmer: In my case, the https connection is all certificate based, so that might be what's going on.19:18
enigma42Since subversion knows about the cert, but I have no idea how to tell python about it.19:19
jelmerenigma42: I think it works without svn+ if you don't have pycurl installed19:19
jelmerenigma42, it's basically a bug in pycurl, which doesn't allow client certificates19:21
jelmers/client certificates/unchecked certificates/19:21
enigma42Oh, OK.19:21
enigma42Without pycurl, is there a way to tell python about the cert?19:21
jelmeryeah, the other http backend in bzr works better I think19:22
jelmersvn+https:// just makes bzr skip pycurl and only try bzr-svn19:22
enigma42OK. That make sense why it works then and not just "https"19:23
enigma42jelmer: I just hit another assert error.19:23
enigma42  File "/home/neumann/.bazaar/plugins/svn/revmeta.py", line 310, in get_direct_lhs_parent_revmeta19:23
enigma42    assert self == firstrevmeta19:23
jelmerkeep 'em coming :-) Please pastebin19:23
jelmerwhat's the full backtrace? What function is calling get_direct_lhs_parent_revmeta?19:24
enigma42http://pastebin.ubuntu.com/86471/19:25
enigma42Hold on...let me make sure this machine is at the latest rev.19:25
jelmerI did fix a bug related to this recently..19:27
enigma42I'm re-running the branch with r2270, it was at r2264.19:28
enigma42It's still "determining changes", so it will be a little bit.19:28
=== jfroy|work-sl is now known as jfroy
enigma42jelmer: Yeah, I get the same error with slightly different line numbers19:35
enigma42line 313 instead of 310, etc.19:35
enigma42jelmer: You want me to pastbin that?19:35
jelmerenigma42, have you cleared the svn-cache on that machine recently?19:36
enigma42No.19:36
enigma42You want me to do that and try again?19:36
jelmerenigma42, please do19:36
enigma42OK. here goes....19:36
enigma42oooh...v2271 is out. ;-) I'll use that.19:37
enigma42jelmer: Is there any point in deleting 'subversion.conf' in addition to "rm -Rf svn-cache"?19:38
jelmerenigma42, no, that shouldn't be necessary19:38
enigma42OK19:38
enigma42OK...I'm trying again with v227119:39
enigma42(and a clean cache)19:39
enigma42jelmer: OK. I just got the same error.19:48
enigma42jelmer: Let me know if there's more info I can send you.19:49
jelmerenigma42, can you pastebin the last backtrace? it would be useful to have the correct line numbers19:51
enigma42OK19:52
enigma42http://pastebin.ubuntu.com/86485/19:53
jelmerthanks!19:56
enigma42jelmer: You're welcome. I'm going to be away for a bit...back later.19:58
thumperjelmer: hi20:17
thumperjelmer: how goes the svn-serve work?20:17
thumperjelmer: is there a road map document anywhere?20:17
jelmerthumper: Hi!20:17
jelmerthumper, It's going pretty well, but for now I'm focussing on getting 0.5 out the door20:17
thumperjelmer: what needs to be done for 0.5?20:18
jelmerthumper, bug fixing :-)20:18
thumperjelmer: heh20:18
jelmerthumper, Basically, bzr svn-serve only supports a mainline at the moment (not merged revisions yet), not commit support, no "svn diff" support20:19
jelmerand it can't update from an older revision yet20:19
thumperok20:19
jelmerbasically, it can do "svn checkout", "svn log", "svn ls", "svn stat", "svn proplist --revision"20:20
jelmerthe others shouldn't be hard too implement, since all of the logic of mapping bzr revisions to svn revisions is already present in bzr-svn20:20
jelmerit's just a matter of doing it20:20
=== NfNitLoo` is now known as NfNitLoop
=== asac_ is now known as asac
=== bac is now known as bac_afk
jelmerabentley, hi21:00
abentleyjelmer: Hi.21:00
jelmerabentley, I'm trying to fix bug 307541, but I'm at a bit of a loss as to what's going on21:00
ubottuLaunchpad bug 307541 in bzr "bzr merge crashes" [Undecided,Confirmed] https://launchpad.net/bugs/30754121:00
jelmerDo you have an idea perhaps?21:00
abentleyjelmer: Not off the top of my head.  I think someone else had this recently, but that was with a private branch, so I couldn't reproduce it.21:02
kfogelIn https://bugs.edge.launchpad.net/bzr/+bug/306394, I have added a note that it appears to be fixed now.  What does "nominate for release" mean, and should I click that too? :-)  If the bug is fixed in the mainline, then does that mean the fix will automatically be in the next release?21:07
ubottuLaunchpad bug 306394 in bzr "bzr status should not ignore all other command line arguments if when passing non-existent file" [Undecided,New]21:07
jelmerabentley, n/p, thanks for have a look21:10
jelmerkfogel, Usually the fix gets submitted to the bazaar mailing list, reviewed and then merged into bzr.dev21:10
jelmerWhen that's happened, the bug gets marked as "fix released"21:11
kfogeljelmer: well, the fix somehow already made it into mainline (because that's my parent branch, and I didn't fix the bug locally).  But somehow the bug was never updated.21:11
kfogeljelmer: so: it's already in bzr.dev.21:11
jelmerkfogel, thanks - I've marked it as "fix released" now21:12
kfogeljelmer: thanks21:12
epsywhat was the last bzr-launchpad version that broke lp: links compatibility?21:12
epsy(or just added them)21:12
jelmerepsy, that was a very long time ago, I think21:12
epsyyeah, but some people still seem to be using such outdated versions21:13
epsy[22:10] <K-Yo>: bzr: ERROR: Not a branch: /home/xx/armagetron/lp:armagetronad/0.2.8/21:14
jelmerepsy: oh, that's a different issue I think21:14
jelmerepsy, At one point not all bzr commands expanded lp:21:14
epsyyeah21:14
jelmer1.4rc1 fixed it for "bzr pull"21:15
epsyso basicaly 1.4 ?21:16
epsygah21:16
epsytypoday :<21:16
jelmerepsy, yeah, 1.421:16
epsyright, thanks21:17
K-Yohello, I can't find the package file from the download page... it seems aptitude gives me an outdated version of bzr :< how can I solve that? (I just want to install it on my Debian machine!)21:25
NfNitLoopK-Yo: click on the "instructions" link for Debian on the download page.21:29
NfNitLoopIt will tell you how to add the bzr package repository so that aptitude will grab the latest version.21:29
NfNitLoopOh, wait, those instructions are a little vague. :)21:30
K-YoNfNitLoop, so I can follow the "ubuntu" stuff?21:30
NfNitLoopI'm not sure...21:30
NfNitLoopthere's backports.org for Debian backports.21:30
NfNitLoopbut it looks like 1.5 is the latest there.21:31
NfNitLoopWhat I do on my debian box is just:  apt-get remove bzr;  download tar.gz from bazaar-vcs.org, unpack and run 'sudo python setup.py install'21:31
K-Yookay21:31
K-Yoi'll try that :)21:32
NfNitLoopK-Yo: good luck. :)21:32
K-Yoty21:32
NfNitLoopMy server is still Debian, but it's notoriously slow for getting new software added.21:32
NfNitLoopNext time I have to rebuild it, I think it'll be Ubuntu. :p21:32
jelmerexperimental has bzr 1.1021:33
duckxMartin around ?21:33
duckxHy hy ;)21:33
K-Yowell, I just need over 121:33
pooliehello all21:35
jelmer'morning poolie21:36
jelmerjam, 1.10 isn't tagged :-(21:37
jamjelmer: nothing is tagged in bzr.dev, or were you hoping to get it from jam-integration?21:38
jamI just tagged it, I remember I actually had to delete the tag because I had to do a NEWS update21:40
jambut it should be good now21:40
jelmerjam, in bzr/1.1021:41
jelmerjam, since rc1 was tagged there21:41
jelmerjam, thanks!21:42
jamPQM doesn't seem to copy tags for some reason21:43
jamI haven't ever understood why21:43
=== sabdfl1 is now known as sabdfl
jamI've always just kept them in jam-integration, and let them propagate to whoever wants them21:43
duckxjelmer: got one question from martin ...22:32
duckxI can't answer rightly now22:32
duckxThe question is if I can return a boolean value from the config files ...22:33
duckxAs far as I can get the thing, (Looked at the config.py file) there is no easy way to return a boolean value from the config files22:34
enigmajelmer: Did you need me to send you any more info on that assert error I posted earlier?22:49
jelmerenigma, sorry, haven't had any time to look at it further22:49
enigmaNo problem. Just let me know if you want more info.22:50
jelmerduckx, I think there is a as_bool() function22:50
duckxYes indeed22:51
duckxBut the way I would like to lookup my subject_with_hostname is the way the get_user_option does ...22:51
duckxAnd indeed the get_user_option does a get_value22:52
duckxas_bool only works this way config.get_parser()[section].as_bool('parameter_lookup')22:53
* duckx still no get how the policy thing works in the config22:53
jelmerIt may not be possible22:54
jelmerIIRC only one of the underlying objects has as_bool() and not the top-level Config object22:54
duckxIndeed22:55
duckxSo my conclusion currently is that it is not possible to retrieve a boolean value from the config file ...22:55
duckxIs it possible to extend the get_user_option with a boolean=False parameter ?22:56
duckxI know it would break the API ...22:56
duckxBut looks like it is the cleanest solution ....22:56
jelmerduckx: It's probably a better idea to raise this on the mailing list22:57
jelmerpersonally I would rather see a as_bool() function on the top-level config object22:58
duckxMy concern is the following22:58
duckxI would like to set the subject_with_hostname in a specific location or globally22:59
duckxfor example:22:59
duckx[/etc]22:59
duckxsubject_with_hostname = true22:59
duckxFor this to work I think I should use something like the get_user_option function to get this functionnality23:00
duckxThat is the way I understand the config.py file so far ;)23:01
jelmerduckx, yeah, it seems to me like it would make sense to do that by implementing as_bool() on the top-level config object23:07
duckxjelmer: if i get the thing right it would make a call like config.as_bool(config.get_user_option('subject_with_hostname')) right ?23:11
jelmerduckx, Either that (although I don't see why as_bool() would need a config instance?) or having as_bool() call get_user_option for you23:12
markhigc: ?23:14
duckxjelmer: as_bool sadly could only be used linked extending a dictionnary ...23:16
duckxas it takes a key as parameter ...23:16
duckxAnd look for the key inside the self object ...23:16
* duckx always love the perfid but clever martin questions ... ;)23:17
duckxOk jelmer I will try to explain my concern on the mailing list ...23:18
jelmerduckx, the logic inside of the current as_bool() can be factored out though as a function that takes a string and returns a bool23:18
jmldo you think bzr push --overwrite should imply --use-existing-dir?23:23
kfogelThere's no particular convention for bugfix branch nicks, right?  I'm using "bug-NNNNN-short-desc-of-bug".23:27
kfogelSome existing nicks are like that, others are different.23:28
=== BasicPRO is now known as BasicOSX
Peng_kfogel: I don't know of a convention. Yours sounds nice.23:39
kfogelPeng_: thanks.23:40
Odd_Blokekfogel: I normally just use 'NNNNNN'. :)23:40
kfogelPeng_: can you sanity-check my bzr process for me?  It's the first time I'm fixing a bug, I want to make sure I'm going about things right.23:40
kfogel(say "yes" and I'll summarize what I'm doing)23:41
kfogel(say "no" and I'll silently choke back my tears :-) )23:41
Peng_"Maybe"? :D23:41
kfogel:-)23:41
Odd_Blokekfogel: Just blurt it out and someone'll say something. :)23:41
kfogelIn summary: I have a local "bzr.dev" tree, bzr info says: parent branch: http://bazaar-vcs.org/bzr/bzr.dev/23:42
kfogelIn the parent dir, I did:23:42
kfogel   bzr branch bzr.dev bug-306394-status-continue-after-nonexistent-file23:42
kfogelThen I cd'd into the bug-... branch.23:42
kfogelThen I made the first of several changes to fix the bug, and committed my change.23:42
Peng_Sounds good so far.23:43
duckxjelmer: thx for your help mail sent ... hope it is clear enough ;)23:43
kfogelI plan to commit more changes, including a new regression test in bzrlib/tests/test_status.py.23:43
kfogelPeng_: EOT23:43
Peng_kfogel: Still sounds good. :)23:44
kfogel(When these are all ready, I'll figure out how to make my branch available for review -- can see that there's documentation on that, but haven't read it yet.)23:44
kfogelPeng_: okay, thanks!23:44
pooliehello duckx, kfogel, jelmer23:46
pooliejelmer, thanks for your update on bzr-git23:46
kfogelpoolie: helloz23:47
kfogelhmmm:23:50
kfogel WARNING  Plugin "Bzrtools" is not up to date with installed Bazaar version 1.11dev.23:50
kfogelThere should be a newer version of Bzrtools available, e.g. 1.11.23:50
Peng_kfogel: You can push to a server you own, or Launchpad, or just use "bzr send" to send a bundle. Which would be covered by the docs, I guess. :P23:50
kfogel'bzr shelve' seems to be failing23:50
kfogelPeng_: heh, you read my mind23:50
kfogel(was just reading abuot how to push to lp for review)23:50
Peng_kfogel: You're using bzr.dev? I guess you should use bzrtools's dev branch too, if you're not already.23:51
kfogelPeng_: I didn't even know I had or didn't have something called "bzrtools" until this moment.23:52
Peng_kfogel: ...Oh.23:52
kfogelbzr branch http://bazaar-vcs.org/bzr/bzr.dev/ bzr.dev23:52
kfogelthat's the command I ran, from http://doc.bazaar-vcs.org/bzr.dev/en/developer-guide/HACKING.html23:53
kfogelWas I supposed to grab something else too?23:53
=== lamont` is now known as lamont
Peng_Not really. bzrtools is a popular plugin, but you don't have to use it.23:53
kfogelthe string "bzrtools" does not appear in HACKING.html AFAICT23:53
kfogelPeng_: apparently if I want to use "shelve" I have to use it :-).  Or if I want to run the test suite...23:53
kfogel(the main bzr test suite, that is)23:54
bob2your OS's bzr package might have suggested it23:54
Peng_kfogel: bzrtools used to provide the shelve command, but it was recently merged into bzr.dev.23:54
bob2you can use bzr --no-plugins23:54
kfogelPeng_: hmmm.  So, I have a bzr installed on my system, but when I run the test suite, I expect the bzr in my local branch to be used.  Is that a wrong expectation?23:54
Peng_kfogel: Well, which "bzr" did you run? The system one or the local one? :P23:55
Peng_kfogel: Use "./bzr" or whatever if it's not in your PATH.23:55
kfogelPeng_: I'm in my branch (the bug-NNNNN branch branched from my bzr.dev, which is in turn a branch of mainline), and I run 'make check'.23:55
Peng_Oh.23:56
kfogelPeng_: ...t_shelve.TestShelveList.test_no_shelved_changes FAIL                  47ms23:56
kfogeltest #594 I guess23:56
kfogelPeng_: the larger picture here is: I'm running the test suite to make sure it currently doesn't fail.  Then I will add a new test to make sure that my fix for 306394 does what I think it does.23:57
kfogelBut I got stopped on step 1 (run the test suite) :-).23:57
Peng_Erm.23:57
Peng_Well, you can run "./bzr --no-plugins selftest". (make just runs "./bzr selftest" with some options.)23:58
kfogelI could just take my latest bzr.dev and run 'make install'.  That would probably solve the problem.  But it might mask this bug we're encountering now -- the one where the installed bzr is used when running the test suite, or so it seems.23:58
Peng_kfogel: You could also run "./bzr plugins -v" to see where bzrtools is coming from.23:58
kfogelPeng_: thx, trying that...23:58
Peng_kfogel: The Makefile explicitly runs "./bzr", so it's not using the installed one.23:58
Peng_Unless something really weird is happening, I guess..23:58

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