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

cr3spiv: dude, the upgrade has been going on for over an hour, might something be blocked?00:27
mtaylorlifeless: (or anybody) if I push a format 1.6 branch to launchpad - how do I tell it not to stack on something automatically00:39
mtaylor?00:39
spivcr3: probably it's just how long it takes to download all the data, upgrade it, and then upload it again.02:02
spivcr3: we have some work to do there...02:02
mtaylorspiv: you guys need a launchpad pad button for the branches that lets people do things like "upgrade this branch to X format"02:15
mtaylorpossibly save on some bandwidth02:15
spivYeah.  The launchpad-bazaar guys are working towards that.02:20
spivIt's currently hard for them to add a button to the web UI to affect the actual branches on disk, but they're fixing that.02:20
spivBut also, bzr itself should allow "bzr upgrade bzr+ssh://..." to work basically entirely server-side.02:21
cr3spiv: it's been a couple hours, I interrupted the process and I'll try to start it again from a machine that'll stay on02:24
spivcr3: you may find it better to do the upgrade entirely locally, delete the remote .bzr with a tool like lftp, and then push.02:32
cr3spiv: can I actually delete a branch myself using something like lftp? I wouldn't mind reinitializing the whole branch02:33
spivcr3: well, you can delete the branch entirely in the web UI now.02:33
cr3spiv: I'm looking, can't find how02:34
spivcr3: but lftp will let you delete the .bzr directory recursively via sftp, and then push can just re-use that directory (--use-existing-dir)02:34
spivcr3: there's a little red circle next to the branch name on the branch page, I think.02:34
cr3spiv: what if there's a pending backup.bzr directory on the server? will that be removed too?02:35
spivif you delete through the web UI, it's all gone.02:36
cr3spiv: cheers! all done now and I didn't even have to ping tmhaddon :)02:39
LeefmcQuestion: I have a project where the client will be public OS, and the server will not be. I'll be using Bzr for each. The Client will be hosted on Launchpad, and the Server locally. With this said, should i create 2 repositories? Or would the normal method be to have each be in the same repo. ?03:40
RAOFIt doesn't _really_ matter; repositories are basically an optimisation detail.03:41
LeefmcOk03:41
LeefmcJust out of curiosity, what would most people do for something like that? Is the normal idea to keep only code forks/branches in repositories? And truely different code (ie, server and client) in different repositories?03:42
RAOFNot totally the same, but I keep gnome-do core and gnome-do-plugins in the same repository.03:44
Leefmck thanks03:45
markhjam: ping03:48
sohailhey, howcome bzr log . only shows one entry (addition of directory)?03:57
=== RAOF_ is now known as RAOF
=== abadger19991 is now known as abadger1999
tcaTrying to work around bug #248540. From inside a shared repository, will "bzr checkout -r 898 solfege.dev 3.12 && cd 3.12 && bzr unbind" create a branch as good as just "bzr branch -r 898 solfege.dev 3.12"?09:22
ubottuLaunchpad bug 248540 in bzr ""bzr branch -r nnn" fails because of ghost revision" [Undecided,New] https://launchpad.net/bugs/24854009:22
fullermdI expect so.  But if the latter fails, I'd expect the former to as well...09:28
tcaI would too, but it does not fail. Do you think a work-around for the ghost revision problem will be added to bzr?09:33
* fullermd shrugs.09:36
fullermdActing "as sensibly as possible" in the presence of ghosts is an explicit aim, so I'd assume so.09:36
tcaIt is safe to use the workaround in bug #248540 until it get resolved properly? Will doing so make the ghost situation in my repo worse?10:17
ubottuLaunchpad bug 248540 in bzr ""bzr branch -r nnn" fails because of ghost revision" [Undecided,New] https://launchpad.net/bugs/24854010:17
LarstiQdue to a failing firefox I can't browse atm10:18
LarstiQtca: what is the workaround?10:18
tcaThe patch adding a try-except clause: https://bugs.launchpad.net/bzr/+bug/248540/comments/210:23
ubottuLaunchpad bug 248540 in bzr ""bzr branch -r nnn" fails because of ghost revision" [Undecided,New]10:23
* LarstiQ still doesn't have a working browser10:28
* fullermd imagines "bzr branch lpbug:[...]" 8-}10:29
LarstiQtca: hmmm. Reading the comment James pasted it seems it should work10:39
tcaLarstiQ: I remembered wrong, the try-except clause fixed some other problem some monts ago. But changing line bzrlib/repository.py:1652 from "parents = graph.get_parent_map([next_id])[next_id]" to "parents = graph.get_parent_map([next_id]).get(next_id, [])" works. Sorry for the confusion.12:22
LarstiQehm, parents being an empty list doesn't seem correct to me, without reading the code?12:23
tcaFrom the line below, you see that parents can be an empty list. If it is empty, iter_reverse_revision_history returns None. But I don't claim to have any understanding of the code, thats why I was hoping someone that could fix #248540.13:04
jollyr0gerhi to all13:43
jollyr0gerthere's some one that can tell me how to update a branch that I have on my desktop?13:44
jollyr0gerfor example my copy is updated at rev 40, and on the serve (launchpad) is updated to rev 50. how can I update my copy to the last aviable?13:45
jollyr0gerthanks13:45
=== fta_ is now known as fta
Peng_jollyr0ger: "bzr pull" if it's a branch, "bzr update" if it's a checkout.14:33
Peng_jollyr0ger: You should read the user guide or whatever.14:33
duckxhy16:35
LeefmcQuestion: I believe i pushed a branch into an actual repository.. how can i remove it?16:51
Leefmc(ie, i have a repository of repositories. init-repo. Normally i push into that directory, so bzr push bzr+ssh://user@host/repository/my_trunk_code. But instead of pushing into a subdirectory inside user@host/repository, i pushed directly into the repository directory.16:52
Peng_Does bzr officially support Python 2.6?17:05
mkanatDo you guys know of a bzr->cvs mirror, so that if we switch to bzr, people who checked out from our old cvs servers can still "cvs up"?18:20
noskloI want to commit using bzr-svn, and authentication is not working, how can I make it work?18:56
nosklohmm I did it using svn+http syntax... I got a warning telling that it is deprecated, but it is how I got authentication to work on svn. Is that right? Any other ideas/workarounds? is this a bug?18:59
=== jszakmeister is now known as jszakmeister|awa
=== beaumonta is now known as abeaumont
nosklohmm I did it using svn+http syntax... I got a warning telling that it is deprecated, but it is how I got authentication to work on svn. Is that right? Any other ideas/workarounds? is this a bug?20:27
LarstiQnosklo: did you try http://user@.. ?20:29
noskloLarstiQ, good idea, I tried user@host and it works, it seems to trigger svn... thank you. Any way to save password? user:passwd@host won't do...20:32
sohail<mkanat> Do you guys know of a bzr->cvs mirror, so that if we switch to bzr, people who checked out from our old cvs servers can still "cvs up"?20:35
sohailwhy would you want to do that?20:35
sohailsounds like a lot of work20:35
mkanatsohail: We ship tarballs that include the CVS directories.20:36
mkanatsohail: hundreds of thousands of tarballs.20:36
mkanatThat is, the tarballs get over 100,000 downloads.20:37
sohailmkanat, I think you can have CVS send a message or something redirecting them to bzr but I think a cvs mirror is too much work unless those 100K downloads pay you or something20:42
mkanatThey don't pay me, but I do care about them. :-)20:42
mkanatWell, a few of them pay me. :-)20:42
sohailmkanat, then you have an incentive to make it painless :-)20:44
sohailcan't say I know how20:44
=== shelagh` is now known as shelagh
LarstiQnosklo: ~/.bazaar/authentication.conf20:52
LarstiQmkanat: old and experimental20:52
LarstiQmkanat: https://edge.launchpad.net/bzr-cvs20:53
mkanatLarstiQ: Awesome, thanks.20:54
LarstiQmkanat: looking at bzr svn-serve might give more ideas20:54
LarstiQoh20:54
LarstiQmaybe that was not the cvs thing I had in mind20:54
mkanatLarstiQ: Yeah, kind of doesn't look like it. :-)20:55
LarstiQho hum20:55
mkanatLarstiQ: I imagine I could also just write a hook that commits to CVS after every checkin, yeah?20:55
LarstiQmkanat: yeah, roundtripping would be hard I think, but for a read-only cvs mirror that might not be an awful setup20:56
mkanatLarstiQ: Yeah, that's all it will be.20:56
LarstiQmkanat: looking at bzr svn-serve might give some hints also20:56
mkanatLarstiQ: Okay, I'll check it out.20:56
LarstiQafter that, I'd say ask on the list20:57
mkanatOkay.20:57
* LarstiQ swears he's seen a launchpad project for a bzr cvsserve somewhere, meh20:58
mkanatmwhudson: Does serve-branches read any config file?20:59
LarstiQmkanat: https://edge.launchpad.net/bzrcvsserve20:59
LarstiQ_old_20:59
mkanatLarstiQ: Ah, but maintained by jdahlin. :-)20:59
mkanatSo I can ask him about it.20:59
LarstiQcool :)21:00
LarstiQmkanat: may I ask what project this is?21:00
mkanatLarstiQ: Bugzilla21:00
mkanatLarstiQ: https://bugzilla.mozilla.org/show_bug.cgi?id=47057021:00
ubottuMozilla bug 470570 in bugzilla.org "Switch to Bazaar (bzr)" [Enhancement,New]21:00
mkanatNice, ubottu.21:01
LarstiQmkanat: sweet!21:02
mkanat:-)21:03
mkanatmwhudson: I'm asking because it seems to be giving me "localhost:8080" urls by default when I ProxyPass it through Apache.21:06
mkanatmwhudson: Ah, figured it out, had to install paste-deploy and that magically fixed it.21:17
mkanatIf I pull from a remote branch, will it overwrite my local tags if there are no tags in the remote branch?21:48
Peng_mkanat: No, it merges tags.21:54
mkanatOkay, great.21:54
Peng_mkanat: If tags conflict, they might get overwritten though. Try it. :)21:54
* Peng_ confirms it21:55
mkanatOkay. There's no tags in the remote branch, so I'm safe. :-)21:55
Peng_Seems it'll overwrite conflicting tags, but it does warn you when it does so.21:56
mkanatAh, great.21:56
mkanatOh, so I asked this before, but if I have like 2000 commits with timestamps that are actually wrong by 4 hours, is there any way to fix that?22:00
mkanatIt's actually more like 6500 commits.22:00
Peng_No.22:00
Peng_Commits, including timestamps, are immutable.22:00
mkanatI figured.22:01
Peng_You could ask the government to redefine your time zone 4 hours different. Then it would be right, sort of, I think?22:01
Peng_:)22:01
mkanatLOL22:01
fullermdEven easier would just to be start sleeping in 4 hours later.  A good plan on its own merits, IMO.22:13
mkanatlol22:14
mkanatIs there a way to have branches all use a single repository even though they all reside in deeper subdirectories?22:27
Peng_mkanat: When using shared repos, it'll look all the way up the directory tree until it finds a repo. You don't have to do anything special.22:29
mkanatPeng_: Oh. So I don't have to create repos as subdirectories of my current repo, or do I, for that to work?22:30
mkanatPeng_: That is, the root is a repo, and then bugzilla/ is not a repo (just an empty directory), and then bugzilla/3.2 is a branch, and it'll use the root repo?22:32
fullermdYah.22:32
mkanatOhhhh. I never knew that.22:32
fullermdIn a degenerate case, you could make a shared repo on / and EVERY branch would use it.22:32
mkanatHeh. :-)22:33
fullermd(assuming you don't make them standalone, or make other repos lower that grab them, etc)22:33
fullermdIt steps as far as it has to; first $BRANCH, then $BRANCH/../, $BRANCH/../../, $BRANCH/../../../, etc.22:34
mkanatAnd it only makes a standalone if there are no repos anywhere?22:34
mkanat(In the ancestry, that is.)22:35
fullermdBy default, yah.  You can use reconfigure to force it standalone, or presumable use other such tricks.22:36
mkanatAh, okay. :-)22:36
mkanatHas it always worked that way?22:36
fullermdWell, it didn't in 0.7   8-}22:38
mkanatThat might have been when I started using bzr.22:38
Peng_That's when shared repos were added, right?22:38
fullermd[Shared] repos only existed since the metadir formats in 0.8.22:38
mkanatfullermd: Ah, I thought that might have been the joke you were making, also. :-)22:38
mkanatOkay. :-)22:38
fullermdI don't remember exactly when reconfig came on.  Post-0.15 I'm pretty sure.  Pre-1.0?22:39
fullermdYah, 0.92.  But its various options have trickled in since.22:40
mkanatIs signing commits the only way to guarantee that people are who they say they are in whoami?22:45
mkanatOr does it even check that?22:46
=== Toksyuryel` is now known as Toksyuryel
alperkanatanyone here using loggerhead standalone ?23:49

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