/srv/irclogs.ubuntu.com/2009/01/24/#bzr.txt

jelmerenigma42, sorry, back now00:01
jelmerenigma42, see privmsg00:01
jelmerenigma42, sorry you seem to be hitting the jackpot of bzr-svn bugs :_(00:04
enigma42jelmer: :-) No problem.00:05
enigma42jelmer: I'm happy to report them so they won't be bugs anymore. :-D00:05
jfroy|workmight have seen this issue before myself00:06
jfroy|worksomewhat curious about it00:06
jfroy|workI'm still using my alternate prefix hack to work around possibly invalid bzr-svn properties :/00:06
jelmerjfroy|work, is there a bug open about that?00:07
jfroy|workjelmer: never investigated in depth the problems. It's more of a speculative hack, in the sense that I used early versions of 0.5 at some point which may have written now-invalid properties.00:07
hugheswit's really odd, old old versions of bzr-svn can pull down from this repo without issue (0.4.9 in hardy for instance) but 0.4.16 crashes when making local branches and it looks like enigma42's got 0.5 crashing on the actual svn branch00:08
jfroy|workUntil and if I can dump and reload the repository, there's no much else to be done.00:08
jelmerjfroy|work, can you send me that hack? Should give me some idea as to what's going wrong?00:11
jfroy|workjelmer: it's nothing like that. I merely changed the prefix from bzr to bz2, such that all previous bzr-svn attributes, including the potentially invalid alpha 0.5 ones, are effectively ignored.00:12
jfroy|workBeen using the last build of 0.4 for months with that modification without any issues.00:12
enigma42jfroy|work: That hack is clever...I was wondering what I might be able to do for bad 0.4.x metadata.00:14
jfroy|workenigma42: yeah, it worked remarkably well.00:19
jfroy|workForces people interfacing with that repository to use a custom branch of bzr-svn.00:19
jfroy|workA better solution would be to add a property that bzr-svn could check first, say bzr:bzr-svn-prefix00:19
jelmerjfroy|work, any chance you can try again with a vanilla bzr-svn 0.5 ? It would be nice to get this sort of thing fixed before 0.5.000:20
jfroy|workwhich it would read from the most recent revision. That way, the prefix for all clients could be changed by the repository itself, versus a code change.00:20
jfroy|workjelmer: I'll give it a try.00:20
jfroy|workWhat's your release schedule? I should get enough time to do a useful test next week.00:21
jelmerBefore the end of january basically00:21
jfroy|workThat's pretty tight, might not be able to generate good enough data. But we'll see.00:24
jfroy|workI'll try to live a few days on mainline 0.5, and hopefully any issues will pop up.00:24
jfroy|workNote that this isn't a case of just migrating from 0.4 to 0.5. The svn repository involved has pre-release 0.5 properties as well.00:25
jelmerjfroy|work, Just doing a clone with bzr-svn should demonstrate that problem if you've hit it in the past00:25
enigma42jfroy|work: I've been living on mainline 0.5 since mid-december. It's been good!00:26
enigma42jfroy|work: revprops are the best!00:26
enigma42jfroy|work: I was just able to fixup a metadata error this morning because I'm using revprops now.00:27
jfroy|workenigma42: sadly the svn server we're using is still 1.400:35
jfroy|workno revprop for me :|00:35
enigma42jfroy|work: We have a 1.4 server, but revprops are enabled.00:38
jfroy|workoh?00:38
jfroy|workI could have sworn that was a 1.5 feature00:38
enigma42Yeah.00:38
enigma42Well, we're hosted on collabnet.00:38
jfroy|workSecret sauce huh00:39
enigma42I guess.00:39
jfroy|workbzr-svn is using properties on the root directory of branches, at least as far as I can tell.00:39
jelmerjfroy|work, yes00:40
jfroy|workon my repository, I mean00:40
jfroy|workso they're not revprops. AFAIK Trac doesn't display revprops anywhere in its SCM browser module.00:40
jelmerjfroy|work, I'm not sure what causes a server to support revision properties during commit00:42
jelmerjfroy|work, bzr-svn just looks at what capabilities the server has00:42
jfroy|workjelmer: neither am I00:42
jelmermaybe a later 1.4 point release?00:43
=== dereine is now known as dereine[OFF]
enigma42Since it's on collabnet, it could be some special svn code.00:47
LaserJockanybody know if there's a branch format/bzr version chart or table?00:53
enigma42I just read "bzr help upgrade"00:55
nDuff"bzr help formats", "bzr help current-formats" and "bzr help other-formats" should be helpful; I don't know about a table.00:56
nDuff...both current-formats and other-formats include information on when the given formats were introduced00:58
LaserJocknDuff: I don't have either of those00:58
LaserJockjust bzr help formats00:59
LaserJocka table would be nice though, to decide whether to upgrade or not00:59
nDuffin current versions, "bzr help formats" has textual guidance on whether to upgrade00:59
nDuff...it's also in a mailing list post somewhere, and I should be able to do a quick pastebin...01:00
nDuffhttp://pastebin.ca/131651401:00
LaserJockhmm01:02
LaserJockthat's sort of helpful01:02
LaserJockbut it kind of assumes you standarize around a bzr version01:02
LaserJockrockstar: around?01:03
rockstarLaserJock, yes, but my wife is hungry, so not for long.01:04
rockstarWhat's up?01:04
LaserJockrockstar: do you know of any plan to have downloadable tarballs of bzr revisions?01:04
LaserJockrockstar: seems like that would really speed up "branching" in some cases01:05
rockstarLaserJock, what do you mean?01:05
rockstarDo you want just a tarball of the current up to date bzr branch's working tree?01:05
LaserJockrockstar: meaning, like github, you could select a revision and LP would give you a tarball to download01:05
LaserJockno, not the working tree, the .bzr01:06
rockstarSomeone asked a question about that recently, but we hadn't talked about it at all.01:06
LaserJockk01:06
rockstarLaserJock, I don't see where the speed up really is there.01:06
LaserJockjust struck me as I sit here for an hour trying to branch something ;-)01:06
rockstarEither way, you're downloading it.01:06
rockstarLaserJock, what are you trying to branch?01:06
LaserJockyeah, but bzr is a lot slower than just rsync/wget a tarball of .bzr01:07
LaserJockrockstar: lp:gnome-app-install01:07
rockstarLaserJock, it's taking you an hour to branch 637 revisions?01:07
LaserJocksomething like that01:08
LaserJockI'm not timing well01:08
LaserJockI need to alias bzr to time bzr :-)01:08
rockstarLaserJock, hm, I suspect there's something amiss here.  Without a shared repo, I can branch 1000 revisions relatively quickly.01:09
LaserJockit's because it's in an ancient format I believe01:09
rockstarLaserJock, ah, that might be.01:09
LaserJockI seem to always hit on those01:09
LaserJockI don't understand how I end up so cursed with bzr01:09
LaserJockjust my lot in VCS-life I guess :-)01:10
LaserJockrockstar: can I do one of these new stacked branch thingies with it?01:10
LaserJockor does the repo have to be in a certain format for that01:10
rockstarNot if it's in an ancient format.  You need 1.6 or better.01:10
jelmerjfroy|work, YOu had installed subvertpy manually as well right?01:11
LaserJockman, I can't tell if it's frozen or something01:11
LaserJockthe "wheel" isn't spinning or anything01:11
rockstarYea, bzr does have issues with demonstrating it's actually doing something.01:13
enigma42jelmer: Does "bzr svn-upgrade" move everything to revprops if possible?01:22
jelmerenigma42, nope. There is a svn-set-revprops command that intends to do that, but it's hidden, experimental and doesn't have a testsuite yet.01:23
enigma42OK.01:23
enigma42Yeah, it will be nice to retrofit my svn repos to only use revprops.01:24
jelmerenigma42,  bzr-svn will at least only use revprops for new revisions01:24
enigma42Ignore some of that crufty data stuck in file properties.01:24
enigma42jelmer: New error01:25
enigma42jelmer: bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0xa41c8ac> has delta references to items not in its repository:01:25
jelmer:-( Please pastebin01:25
enigma42OK01:25
enigma42jelmer: Oh...the branching worked great, BTW.01:26
enigma42This was after branching from SVN was over.01:26
jelmerah, this is running "bzr check" ?01:26
enigma42I did a local branch.01:26
enigma42bzr branch svn-branch local-branch01:26
enigma42specifically: bzr branch des-dw-harmony foobar01:26
enigma42http://pastebin.ubuntu.com/108822/01:28
enigma42My coworker tells me he's been seeing this error since he upgraded to bzr-svn 0.4.17 on Monday.01:29
enigma42Actually...correction.01:29
enigma42(03:24:58 PM) hughesw: monday. after updating to bzr 1.10 and bzr-svn 0.4.16 from the package on the bazaar site.01:29
enigma42bzr-svn 0.4.1601:29
hugheswyeah...01:30
hugheswthere's some revisions from a local branch that don't seem to have been pushed up to the repository01:30
hugheswI can see the hughesw@hughesws2k8-20090121211631-kx8io79zatxfxjhc commit ID in my local trunk on my work machine, but it's not in the repository.01:34
jelmerenigma42, what happens if you run "bzr check" in the original branch?01:34
hugheswjelmer: when I did that with 0.4.16 it crashed on me.01:34
jelmerhughesw, with what error?01:34
hugheswlet me check again01:35
jelmersimilar to the one pasted above?01:35
hugheswsorry, the error's on a different machine, reproducing it here real fast.01:35
enigma42jelmer: ...still running bzr check...01:36
enigma42jelmer: see privmsg01:37
enigma42This concerns me:01:38
enigma42    20 ghost revisions01:38
enigma42    20 revisions missing parents in ancestry01:38
enigma42    12 inconsistent parents01:38
jelmerghost revisions are not necessarily bad, they are just revisions to which there are references but that are not present in the repository01:38
hugheswcheck crashed on me again01:38
hugheswI privmsg'd you jelmer01:39
jelmerhughesw, thanks01:39
hugheswit also crashes on 0.4.17 with the same message01:39
enigma42jelmer: Oh...fwiw: I'm on bzr 1.11 with bleeding edge 0.501:39
hugheswsince I updated to that with my home machine after it died the first time01:39
jelmerlifeless, ping01:45
hayalciHi, I think it would be great if bazaar web page stated bazaar hosting options, like launchpad and savannah.02:20
hayalciThat info is presented nicely on git web site and it probably makes an impact02:21
Peng_jelmer: FWIW, the repo from my old bzr-svn import said there was one ghost. The new one says there are no ghosts, but 158 inconsistent parents. :)02:21
Peng_Inconsistent parents should not be created anymore, should they?02:21
lifelessjelmer: jo04:32
jelmerlifeless, in this error: http://pastebin.ubuntu.com/108822/04:32
jelmerwhat are the "delta references" ? The delta parents ?04:33
jelmerhi, btw :-)04:33
lifelessthey are basis texts for delta compression04:33
jelmerso how can that error occur if that branch was created by just calling VF.add_lines() ?04:34
lifelessshould be impossible04:34
lifelessunless its stacked; there was a bug in stacking at one point04:34
lifelesscould be a bug in the checking code I guess if it is checkin graph not delta fields04:36
jelmeryeah, that's what I'm wondering04:36
jelmersince the text revisions there are from a ghost revision04:36
jelmerbut the texts are actually there04:36
jfroyhow does one setup a remote branch so people that bzr send to it will get an email automagically?06:29
jfroyI thought it would be enough to have an email setting in a properly configured localtions.conf section, but apparently not.06:29
=== mark1 is now known as markh
jfroyOk, the setting in questionis child_submit_to07:51
jfroyDoesn't seem to be a way to bulk set it on a group (or directory) of branches :|07:52
=== dereine[OFF] is now known as dereine
=== asac_ is now known as asac
mikey_pgot a question about the internal workings of bzr+ssh, how does the directory to serve get passed to the remote machine?11:18
mikey_pi.e. if I do bzr branch bzr+ssh://hostname/path/to/file all that gets passed to remote server as an ssh command is "bzr serve --inet --directory=/ --allow-writes"11:19
mikey_phow does path/to/file get passed to the remote machine?11:20
fullermdOver stdin after the server starts up.11:37
mikey_pfullermd: then why the empty directory arg at startup?12:12
fullermdBecause serv takes an arg describing how high in the tree it's allowed to go.12:25
dereineis there a tutorial how to use bazaar for web development automatic update of the checkout on a test server, which has only ftp acess12:27
=== kiko_ is now known as kiko
AfCdereine: not sure you need a tutorial for that. Just try doing it. Should work. You _might_ find the bzr-upload plugin of value.12:56
=== dereine is now known as dereine[OFF]
fullermdOh, there's training involved.  It takes some practice to get just the right angle for yanking out the fingernails of whoever setup a server with only FTP access.13:17
=== dereine[OFF] is now known as dereine
etenilHi there14:19
etenilI'm used to subversion and just switched to bazaar14:20
etenilI usually stored the stable releases of my projects as tags in the subversion directory, but I don't find the equivalent in bzr14:21
Peng_"bzr tag"?14:21
etenilreally?14:21
etenilI didn't see that in the doc14:22
Peng_Bazaar supports tags, but they aren't implemented as directory copies as in Subversion.14:22
etenilOooooohhhh14:22
etenilI've got the one paragraph14:22
etenilseems I overlooked it ^^14:22
etenilthanks a lot Peng_14:23
Peng_:)14:23
eteniler, that's a big documentation, for once I can't complain ;)14:23
jelmerjfroy, child_submit_to is what you're looking for14:25
etenilis it possible to fix a bug in a tag too14:25
Peng_etenil: What? You can tag any revision you want to?14:25
etenilI mean, if I make a stable release and then work on the next one. If I make a security fix on the stable one (tagged), how should I proceed then?14:26
etenilif I commit the fixed old one, it's gonna interfere with the development of the new version.14:27
Peng_"bzr branch -r tag:foo-1.2.3 foo.dev fix-vuln; cd fix-vuln; hackhack; bzr commit; bzr tag foo-1.2.3.1; cd ../foo.dev; bzr merge ../fix-vuln", maybe?14:29
=== dereine is now known as dereine[OFF]
=== dereine[OFF] is now known as dereine
etenilthx peng_14:31
etenili'll have a further look.14:31
=== dereine is now known as dereine[OFF]
=== dereine[OFF] is now known as dereine
kfogelI'm having a conversation with a GNU/Savannah admin over at https://savannah.gnu.org/support/index.php?106612, about converting the Emacs project over from CVS to bzr (which Emacs has decided to do, but hasn't actually done yet).  The admin says: "Given that bzr works on top of sftp, what's the point in having bzr even installed at Savannah?"15:22
Peng_kfogel: To make it faster?15:23
LarstiQkfogel: administration and speed15:23
kfogelI'm kind of new to bzr, so I'm not sure I understand that.  Does he mean that bzr clients can upload bundles (or something?) via sftp, and there need be NO bzr running on the server end?15:23
kfogelPeng_, LarstiQ: thank you.  So one *can* do it the way he says, but it's inefficient?15:23
Peng_kfogel: Sure, using plain old SFTP as the server works perfectly; it's just not as fast.15:24
kfogelwhat kind of speed difference are we talking about?15:24
Peng_I don't know. A lot of operations still don't take advantage of the smart server, making them almost as slow as SFTP.15:25
LarstiQkfogel: it varies with what exactly you are trying to do. But 'dumb' transports like sftp are used with only vfs operations like open(), stat(), read() and write(), on a .bzr level15:25
LarstiQkfogel: whereas with bzr on the server (bzr+ssh or as a daemon) you can do things like 'Branch.last_revision_info'15:26
kfogelSo there's a feature difference too?15:26
Peng_kfogel: No.15:26
LarstiQwell15:26
LarstiQthere is, but not on this level15:26
LarstiQkfogel: I personally use sftp a lot.15:27
kfogelUh.15:27
kfogelWould you ever recommend the sftp method for people who are *not* (and are not going to be) bzr experts?15:27
kfogel:-)15:27
LarstiQkfogel: the main feature difference is that you can not run server side hooks with sftp, but you can when bzr is on the server15:27
Peng_kfogel: It's faster to have the server read the files and send back the data you want than for the client to read the files over the Internet, even if the same information can be obtained either way.15:27
kfogelI'm not referring to myself, but to the Savannah admins.15:27
kfogelPeng_: makes perfect sense -- thanks.15:28
kfogelLarstiQ: okay, good to know.  We do, in fact, need to run server-side hooks.15:28
kfogelSo sftp-only is a non-starter.15:28
LarstiQkfogel: my advice to the Savannah admin would indeed be to offer more than sftp-only, even though I get the 'no work for me' appeal as a sysadmin ;)15:29
kfogelheh, sure :-)15:29
LarstiQkfogel: git afaik, but hg certainly, can also use dumb transports. But the users will lynch you if you are not running the daemon, since it is utterly slow otherwise.15:29
LarstiQkfogel: if he needs help btw, I'm willing to offer it15:30
kfogelI seriously wonder why the tools even offer these options.  It's not worth the confusion to non-expert users.15:30
kfogelLarstiQ: wow, thank you15:30
Peng_LarstiQ: AFAIK, hg only supports dumb HTTP, not SFTP.15:31
Peng_And the HTTP is probably read-only.15:31
LarstiQkfogel: you'd be surprised at the amount of users that only have an FTP server available to them :/15:31
kfogelLarstiQ: if you are really interested (and this may mean a serious commitment), privmsg me your email addr and I'll make sure the Savannah admins have it.15:31
LarstiQkfogel: how serious a commitment?15:31
* LarstiQ does already have a fulltime job15:32
kfogelLarstiQ: I don't know, really.  Maybe I'm being overly dramatic -- possibly Savannah just needs someone they can consult.15:32
Peng_LarstiQ: The goons with black ski masks are already on their way to kidnap you. ;)15:32
LarstiQPeng_: hah! :P15:32
kfogelLarstiQ: anyway, as a volunteer, you don't need to do more than you have time for, obviously.  So it's up to you!15:32
LarstiQkfogel: any irc channel I could hang out in?15:34
kfogelLarstiQ: most of the activity is on the emacs-devel@gnu.org mailing list and on that bug ticket I referred to earlier.  The ticket has mail links.15:37
LarstiQok15:37
LarstiQkfogel: I see the admin would also like a loggerhead init script15:39
Peng_There is a Loggerhead init script.15:40
LarstiQPeng_: afaik that does not use server-branches?15:40
kfogelLarstiQ: I'm about to let him know that you're offering some help.15:40
LarstiQkfogel: and I'm happy to see it's Debian based, I'll feel right at home ;)15:40
Peng_It uses serve-branches.15:43
* LarstiQ tries the last attempt at fixing the router16:05
jelmerPeng_, It doesn't abide by the Debian/Ubuntu policy though, so I ship a different one in the Debian package16:05
Peng_jelmer: Oh? What's wrong with it?16:07
* jelmer looks for the list of problems he sent earlier16:10
jelmerPeng_, Doesn't use start-stop-daemon but sudo, doesn't use the pidfile but greps through the process list (potentially killing user-started loggerhead processes), doesn't use /etc/default/loggerheadd but requires configuration in /etc/init.d/loggerheadd, init script blocks, assumes that if something is running on the configured loggerhead port it is loggerhead, ...16:10
Peng_Heh.16:11
Peng_Oh, your script uses start-loggerhead though.16:12
Lo-lan-doI may have missed some context, but there's a branch with a mostly correct (if crude) initsript at http://bzr.debian.org/loggerhead/users/lolando/loggerhead/daemonise16:22
Peng_Ergh, *another* one?16:26
Peng_Someone needs to throw all of the Loggerhead init scripts in a blender and make a perfect one. :D16:28
jelmerPeng_, Well, basically the equivalent of the Debian one that uses serve-branches instead of start-loggerhead16:32
jelmerLo-lan-do, I hope to merge yours once start-loggerhead is removed upstream and serve-branches has its own configuration file16:33
Peng_Oh, ok.16:33
LarstiQso now we need someone to act as upstream.16:35
jelmerbeuno, IIUC this is what upstream intends to do16:36
* jelmer wonders if beuno is around16:36
beunojelmer, I'm really *not* here16:40
beunobut16:40
beunoserve-branches will have a config file soon16:40
beunoand we will kill start-lh for evar16:40
jelmer\o/16:40
beunoand merge whatever you guys thing is the best deamonizer16:40
* Lo-lan-do cheers16:40
beunonow, back to not being here...16:41
Lo-lan-doThis is not the beuno you are looking for.16:41
beuno:)16:41
fullermdWe're all right there not with you on that!16:41
dereinehow can i pull and overwrite to the current state at a remote branch?19:24
jelmerdereine, bzr pull --overwrite19:29
dereinethx19:31
LarstiQjelmer: could pkg-bazaar-maint receive less spam maybe?20:08
jelmerLarstiQ, how?20:08
jelmerI'm all for it :-)20:08
LarstiQjelmer: disallowing non-subscribed posters?20:08
LarstiQor does that raise the bar unacceptably for drive by contributions20:08
LarstiQor maybe the spammers are already subscribing?20:09
jelmerLarstiQ, yeah, that may be a good idea20:41
=== dereine is now known as dereine[OFF]
=== dereine[OFF] is now known as dereine
=== tchan1 is now known as tchan
Gooseyhello. I am looking to use a DVCS as a local tool in an SVN environment, for ramping local changes/branches prior to SVN committing them. I am on windowsXP. Bazaar's good svn support and windows packages led me to give it a try, but I am having some issues.22:30
GooseyIf I do any local commits and then pull commits from the SVN repo, when I try to push I cannot and am advised to rebase22:31
GooseyI installed the rebase plugin, but using it says there are no changes to rebase.22:31
GooseySo I am a bit confused to what I am doing wronge or where to go next. :)22:32
Lo-lan-doWhen you do local commits, you shouldn't normally be able to pull from SVN.  Did you mean you merged from SVN instead?22:32
GooseyNo, I mean 'bzr pull'22:33
Lo-lan-doMaybe I'm missing something, but I think you can't pull when there have been commits both locally and remotely since the last common ancestor.22:34
Gooseyi am sorry, you are right. 'bzr pull' warns the branches have diverged, so i use 'bzr merge' to pull the changes in22:37
Gooseyand then a 'bzr commit' to commit the merge results22:37
Gooseyand finally 'bzr push' to the svn repo, which is where I get the 'please rebase' error22:38
Lo-lan-doI see.  I don't know exactly how to fix that, but you may consider using another workflow that seems to work for me.22:39
Gooseyok, which workflow do you use?22:39
Lo-lan-doI have a bzr branch bound to svn, and other "floating" bzr branches based on it.22:39
Lo-lan-doWhen I need to push stuff from a local branch to SVN, I merge that branch into the svn-bound branch and commit.22:40
Lo-lan-doI do bzr update from time to time in the svn-bound branch to bring it up-to-date with what's in svn, and push or merge into the others according to the situation.22:41
Gooseyhmm i gave this setup a try but ran into the same issue, Lo-lan-do22:47
Lo-lan-doThen I'm afraid I'm not enough of a bzr guru to be of significant help :-/22:48
GooseyI did a SVNRepo bound branch 'A' and branched from that 'B'. Then I made some local commits into B, made some SVN repo commits from elsewhere, pulled those into A, merged those into B, and commited B, and on pushing B the error :/22:48
Gooseyam I missing a subtlety of how your workflow works?22:48
Lo-lan-doTry merging B into A (or pulling) instead of pushing maybe.22:49
Gooseyok that worked22:51
Gooseyiiiinteresting22:52
Lo-lan-doI'll leave you with the wizards for the explanation, but in the meantime at least you can commit :-)22:54
* Lo-lan-do → sleep22:55
Gooseyenjoy sleep :_)22:55
cody-somervilleHey23:36
cody-somervilleI can't install bzrtools from the bzr ppa23:36
cody-somervillebzrtools: Depends: bzr (< 1.11~) but 1.11-1~bazaar1~hardy1 is to be installed23:36
=== edcrypt is now known as edcrypt_

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