/srv/irclogs.ubuntu.com/2009/03/07/#bzr.txt

=== uDrunkNow is now known as root
smoothiceanyone here know how to do a diff between two completely different bazaar branches on Launchpad? (in the same project)01:15
=== nekohayo_ is now known as nekohayo
Peng_mwhudson: Thanks for the Loggerhead bug fix. :)03:46
mwhudsonPeng_: thanks for the report!03:47
mwhudsoni had a flight today, so nothing better to do...03:47
Peng_:D03:50
Peng_I can never decide, should I reply to the bug report to confirm it was fixed?03:50
mwhudsoni don't think it's necessary really03:50
mwhudsonobviously follow up if it's not fixed :)03:50
Peng_Heh.03:51
Peng_(Bugzilla has both "RESOLVED" and "VERIFIED" states. I think it's useful.)03:51
BasicOSXIs there a set of prereq's of packages that needs to be installed for self-test to work? Is it documented anywhere?04:20
spivAh good, my branch finally made it through PQM.08:07
=== mark1 is now known as markh
lulzmachinehey! how can I get a file back? I managed to ruin it in my last commit09:56
Peng_lulzmachine: "bzr revert -r -2 foo.py"?10:04
lulzmachinethx :)10:07
mwhudsonPeng_: >:)11:22
pigmejHi again12:50
pigmejI have a question12:50
pigmejsome time ago I've read that bzr can take an action after a commit / push etc12:50
pigmejI cannot find it in docs again ;/12:50
LarstiQpigmej: `bzr help hooks`12:53
pigmejLarstiQ: i need python api for taht12:53
pigmejthat*12:53
pigmejI'm almost sure that I read about that in docs / on page etc...12:54
pigmejok nevermind ;]12:55
pigmejthat's it ;)12:55
LarstiQpigmej: hmm?12:59
pigmejThat's what I need :)13:00
pigmejI forgot english word ( hook ) for that ;)13:00
magciusDoes TortoiseBzr have a simple way to push to remote repositories?15:08
LarstiQdoesn't it have 'push'?15:08
magciusI couldn't find it. I'm not on Windows right now.15:09
magciusIs it in the commit dialog?15:10
LarstiQmagcius: it's based on qbzr, so you could look at how it does things15:11
magciusThere is qpush, but I couldn't find a menu item for it in TortoiseBzr.15:12
magciusLarstiQ, http://bazaar-vcs.org/TortoiseBzrContextMenu15:13
magciusThose are all the items in the context menu right now. I don't see any Push anywhere.15:13
smoothiceanyone experiencing issues connecting to Launchpad at the moment?15:16
LarstiQsmoothice: yes, multiple people are, so it's not you15:16
LarstiQmagcius: that page isn't really clear to me on how the menus actually look15:17
smoothiceLarstiQ: how long as this been going on?15:19
smoothicehas*15:19
LarstiQsmoothice: no idea, couple of people have asked the same question in 1 page of scrollback on #launchpad15:20
smoothiceok, thanks15:20
smoothicewe'll wait and see15:20
=== root is now known as UdontKnow
=== thunderstruck is now known as gnomefreak
GoundyBazaar Branch Format 6 (bzr 0.15)16:56
Goundyis there a way to get the branch anyway ?16:56
GoundyIt's on a testing server.. I mean I'll not use that branch for commits & push16:56
GoundyJust getting the sources16:56
LarstiQGoundy: I'm not sure what the question is.16:59
GoundyLarstiQ well i started: bzr checkout http://bazaar.launchpad........16:59
Goundyto get my sources on a server am using to test my software16:59
Goundybut it fails and says "Bazaar Branch Format 6 (bzr 0.15)"16:59
GoundyI'm wondering how can I force getting the sources17:00
LarstiQthat's not an error message17:00
Goundyoh god17:00
Goundysorry >_<17:00
GoundyI copied the wrong thing17:00
Goundybzr: ERROR: Unknown branch format: 'Bazaar Branch Format 6 (bzr 0.15)\n'17:00
GoundyLarstiQ here it is :-)17:00
LarstiQGoundy: ok, so what version of bzr are you using?17:01
Goundy0.1117:01
LarstiQugh17:01
GoundyI can't upgrade it's not my server17:01
Goundyand it's the latest debian package I think17:01
LarstiQGoundy: you can run bzr from source though17:01
GoundyLarstiQ run bzr from source ? I don't understand17:01
LarstiQGoundy: Debian stable is on 1.517:01
Goundyew17:01
Goundyweird17:01
LarstiQGoundy: I really really recommend you use something not as ancient as 0.1117:02
GoundyLarstiQ well I know but it's just for getting the sources17:02
Goundyand not for doing any commitments & push17:02
LarstiQGoundy: wget tarball; tar xzf tarball; cd bzr; ./bzr branch url17:02
Goundyah17:03
LarstiQGoundy: you are using an ancient version of bzr that can't read the (slight lesss ancient) newer format of the branch you're trying to use.17:03
GoundyLarstiQ ok thanks ;)17:03
luke-jrhey18:11
luke-jrany way to do --stacked where the new branch is usable without the parent branch, provided I don't actually try to access the old stuff?18:11
abentleyluke-jr: no, that's called "shallow branching", and we haven't implemented it yet.18:25
rockyjelmer: ping18:38
jelmerrocky, pong18:38
jelmerluke-jr, hi18:38
luke-jrhi18:38
rockyjelmer: i haven't done exhaustive testing but my TracBzr branch (bzr1.12-trac0.11.3) seems to work good now...18:39
jelmerrocky, does it use revno's now?18:40
rockyjelmer: yes18:40
rockybranch,revno18:40
jelmerluke-jr, any chance you could have a look at bug 326278 ?18:40
ubottuLaunchpad bug 326278 in bzr-svn "'bzr log' KeyError" [Undecided,Incomplete] https://launchpad.net/bugs/32627818:40
rockyjelmer: the thing is, i haven't tested any of my changes on bzr < 1.12 or trac < 0.1118:40
rockyjelmer: there's a good chance that the bzr changes i made will not work on bzr < 1.1218:41
jelmerrocky, bzr < 1.12 shouldn't be a problem18:41
jelmerrocky, not sure about trac < 0.1118:41
rockyjelmer: i suspect it may still work on trac < 0.11 but i haven't tested18:42
rockyi don't think i did anything that was trac-specific18:42
rockys/did/changed/18:43
luke-jrjelmer: maybe when I touch that project again; I don't really feel like working atm :x18:43
rockyso i don't know what trunk status is... if i should propose merging this first or what18:43
* rocky hasn't used launchpad much either18:43
nuaif I have the Branch object and a revision id, how do I get a Revision object for that id?18:58
=== UdontKnow is now known as [
=== [ is now known as UdontKnow
* SamB wonders if there is a bzr equivalent for "darcs oblitarate"19:16
=== luke-jr_ is now known as luke-jr
glyphGood afternoon19:27
glyphWhat is the proper etiquette for landing a branch?19:27
glyphBy which I mean, I've been using bzr very lightly, mostly for synchronizing hobby projects between my laptop/desktop/server machines19:28
glyphthe idiom I've been using has been to make a bunch of changes, then push them to the "master" branch on my server19:28
glyphI recently realized that this was creating a rather odd version history19:29
glyphsince I'd have a dozen changes I made on my laptop, then a dozen changes I made on my desktop, but they weren't organized into merges so I couldn't see in my history view when I'd done a "push"19:29
glyphThe only better way to do things that has occurred to me is to make a local "trunk" branch and a local "working" branch on each machine19:30
glyphthen do "bzr merge ../working" in trunk before I'm ready to push.19:30
LarstiQthat is a common workflow19:31
glyphLarstiQ: Is there a way to do that without creating the second branch?19:31
LarstiQ(you don't need to merge if working is a simple superset of trunk)19:31
LarstiQglyph: maybe you'd like to work with a checkout instead?19:32
glyphLarstiQ: I don't know :) but I don't think so19:33
glyphA checkout would force me to push after each commit, yes?19:33
LarstiQglyph: commit does the work, so you don't have to manually 'push', but yes19:34
glyphLarstiQ: I feel like a whiteboard would let me explain what I'm after much more easily... let me try to explain a different way19:34
LarstiQglyph: unless you supply --local to commit, when you're ready you would then `bzr update` and commit19:34
LarstiQglyph: sure19:35
glyphI encountered this problem a few days ago when the branches on my desktop and laptop diverged.19:36
glyphOn my laptop, I just did 'bzr merge' to pull in all the changes from the server branch, and that worked great, but it took me a while to understand the diff in my working copy19:36
glyphwhen I finally resolved the conflicts and committed, the resulting history also confused me, because what I really wanted to say was "bundle up the conflicting changes here and let me re-apply them to trunk" or maybe "let me see what I've changed vs. the server's branch"19:38
glyphmaybe I'm trying to get too complicated here, and just having the second local "trunk" branch makes sense19:39
glyphat least, I guess that would solve my current problem19:39
glyphbut I'm wondering if there's more to it than that :)19:39
* LarstiQ doesn't see a clear question to grasp onto19:40
glyphfor example, right now I work in SVN for all my major projects.  merging a feature branch in SVN means, unless you're a rocket-scientist, dropping the branch's history before you merge it19:40
glyphI like bzr because it allows me to keep the branch's history19:40
glyphLarstiQ: Yes, I apologize :)19:40
glyphthe thing is, if you have a branch in SVN, it basically represents a diff against trunk since the point it diverged.  If you've got a feature branch, that's really what you want; something that can be collapsed down to a single diff for easy viewing.  I don't understand how to get that diff using bzr.19:42
LarstiQglyph: bzr diff -rancestor:19:43
glyphLarstiQ: oh.19:44
glyphoh that is so beautiful I could weep.19:44
LarstiQglyph: or you could diff two branches with bzr diff --old and --new19:44
glyphLarstiQ: hang on I'm still trying to appreciate the grandeur of -rancestor:19:45
LarstiQok :)19:46
LarstiQglyph: also see `bzr help revisionspec`19:47
glyphLarstiQ: okay19:48
glyphLarstiQ: despite the complete incoherence of my question, you've helped a lot :)19:49
glyphOne more thing though19:49
glyphI have heard certain people talk about a thing called a "merge instruction"19:49
glyphwhat's the right way to create one of those19:49
LarstiQglyph: merge-directive? `bzr send`19:49
LarstiQglyph: but a little more context wouldn't hurt to make sure I get what you mean :)19:50
glyphah19:53
glyphmerge *directive*19:53
glyphLarstiQ: well, let's say I'm working on a project with a guy on AIM19:53
glyphLarstiQ: I want to send him a pile of changes, but putting them on a web server is problematic (for reasons which are not too interesting)19:54
glyphand putting them on an SSH server is fraught with configuration peril19:54
glyphso I'd like to just drag and drop something onto the IM window (which, thanks to lots of work making sure my firewall _always_ does what I want for IM transfers, will actually work)19:54
LarstiQglyph: `bzr send` allows you to carry revisions in one file suitable for smtp or IM, so yeah19:55
LarstiQglyph: you tell it which branch to use as a basis to determine which revisions to include, and off you go19:56
=== sdboyer-laptop_ is now known as sdboyer-laptop
=== sdboyer-laptop is now known as Guest13415
LaserJockdoes anybody know if somebody has looked at maybe getting bzr-gtk to use Ubuntu's new notify-osd system?22:00
LarstiQLaserJock: I know sabdfl did some bzr-gtk / new ubuntu notify related things22:01
LaserJockah, cool22:01
LaserJockmaybe I'll shoot him an email22:01
fta$ bzr revert22:06
ftabzr: ERROR: Could not acquire lock "[Errno 11] Resource temporarily unavailable"22:06
fta??22:06
ftahow can i know what is unavailable?22:06
LarstiQfta: do you have write permissions on that tree?22:07
LarstiQfta: (see ~/.bzr.log for the traceback)22:07
ftaLarstiQ, http://paste.ubuntu.com/127974/22:08
ronnysup?22:09
ftaLarstiQ, i own the full tree, everything is u+rw22:10
ftastrace shows no attempt to lock or open anything22:12
LarstiQfta: does `bzr info -v` say it's locked?22:19
LarstiQfta: in which case, either something is holding the lock, or it is stale and you can break it with `bzr break-lock`22:20
ftanope, no mention of lock in there22:22
ftaand break-lock says: bzr: ERROR: The lock for '/data/bot/xulrunner-1.9.2.head.daily.intrepid' is in use and cannot be broken.22:23
LarstiQit doesn't mention a lock, yet it is in use?22:23
* LarstiQ blinks22:23
LarstiQfta: lsof?22:23
ftaohoh, an old bzr is still there22:24
ftaLarstiQ, thanks. I killed it. for some reason, a bzr bd was still running after 2 days, doing nothing22:27
LarstiQfta: woops22:27
LarstiQfta: james_w might be interested in that if you can reproduced it I guess22:28
ftai guess so too. I'll keep an eye on my bot22:28

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