/srv/irclogs.ubuntu.com/2009/05/10/#ubuntu-doc.txt

=== tim__sharitt is now known as tim_sharitt
Rocket2DMnmdke, did you get my message the other day about branches?19:13
mdkeRocket2DMn: I don't know the answer, I'm afraid - the Launchpad team should know though19:32
Rocket2DMnok, thanks19:32
Rocket2DMndoes it seem to you that the branch goes away though?19:32
mdkeRocket2DMn: the branch isn't listed under "ACtive Branches", but you can see it if you choose branches with "Any status"19:39
Rocket2DMninteresting, I'll check later to see if I'm able to still use it, and if it will re-appear as active19:40
mdkeI suppose it should be active again if you push to it19:40
mdkenow that it has been merged after your merge proposal, it is marked as not active anymore19:40
mdkethat makes sense, in a way19:41
Rocket2DMnmakes sense to me :)19:41
Rocket2DMnI'm working on a wiki page, so I'll test it out later19:41
Rocket2DMnthanks for looking into that19:41
mdkenp19:41
Rocket2DMnmdke, the changes i have in my branch - have they actually been merged with ubuntu-doc now? so if i change my branch, the work isnt lost?20:13
Rocket2DMni would like to just sync that branch with ubuntu-doc again20:13
mdkeRocket2DMn: yes, they should have been merged, although I think it was only one bug dealt with in the merge proposal, no?21:24
mdkeRocket2DMn: anyway, if you sync your branch with ubuntu-doc, bzr should tell you any differences that exist (bzr status)21:24
Rocket2DMnyes, it was only one bug21:25
mdkeok21:25
Rocket2DMni did a bzr bind to ubuntu-doc and i can see a diff21:26
Rocket2DMnif i update, i will have what is in ubuntu-doc21:26
Rocket2DMnI assume if I do that, then bind back to my branch and push, my branch will be the same as ubuntu-doc21:26
mdkeI don't think you should use bind if you aren't able to commit to the ubuntu-doc branch21:27
Rocket2DMnoh, is there a better way?21:28
mdkebind implies that any changes made to your local branch will be synched with the online one, and vice versa21:28
mdkeif you're not able to push to the online one, it doesn't work, I don't think21:29
Rocket2DMnyeah, i was just binding to ubuntu-doc, downloading the changes, then binding back to my branch21:29
Rocket2DMnyeah i made that mistake, i twouldnt let me push21:29
Rocket2DMnis there a better way to get the updates in ubuntu-doc without binding to it?21:29
mdkeyou can just do "bzr pull lp:ubuntu-doc"21:29
mdkeor bzr merge21:30
Rocket2DMnhmm i got a bzr error on pull21:31
mdkewhat was it?21:31
Rocket2DMnsomething very long21:31
mdkego on then21:31
Rocket2DMnits something with the remote server, hold up21:32
Rocket2DMnhttp://paste.ubuntu.com/169051/21:33
mdkecrickey21:34
mdkeyou'll have to break the lock21:34
Rocket2DMni know, it wont let me21:35
mdketry bzr break-lock lp-13994496411822421:35
mdketwice21:36
Rocket2DMnok i think i got the lock, let me try to pull again21:36
mdkeyou need to break it twice21:36
Rocket2DMnok, i did21:37
Rocket2DMnwhy twice?21:37
mdkedunno, a bug in LP, I think21:37
mdkeunless it's fixed21:38
Rocket2DMnok, its pulling now21:38
Rocket2DMndang, i got the same error21:38
mdkeI think you have run into a bzr error maybe21:39
Rocket2DMnhehe, a bizarre error21:39
mdkehah21:39
Rocket2DMnok, well lets try merge instead21:40
Rocket2DMnhow do I merge from ubunt-doc if im bound to my own branch?21:40
mdkeit should work fine21:40
Rocket2DMnjust "bzr merge lp:ubuntu-doc"?21:40
mdkeyup21:40
Rocket2DMnhm, says my working tree as uncommitted changes21:41
Rocket2DMnlet me try to commit21:41
Rocket2DMnoh, i guess b/c of stuff i've already done, I'm up to dat enow21:42
mdkecool21:44
Rocket2DMnok mdke , now it shows back on the code page on LP, shows the bug and merge proposal icon21:44
mdkeok21:45
mdkethat's not a great commit message ;)21:45
mdkehttp://bazaar.launchpad.net/~rocket2dmn/ubuntu-doc/my-ubuntu-doc/revision/30021:46
Rocket2DMnlol sorry21:46
mdkeare those your changes or are they stephanie's?21:47
Rocket2DMnnot mine21:47
mdkehmm21:47
Rocket2DMnwhat i really want is to just reset the branch so that it has no history21:48
Rocket2DMnwithout having to recreate it and upload all the docs again21:48
mdkeif I were you, I would just track the ubuntu-doc branch locally without pushing your changes to Launchpad21:49
Rocket2DMnas far as just making patches goes, youre right.  The point of doing this was as much an exercise in learning bzr as making doc changes21:50
* mdke nods21:50
mdkeI think the way that the bzr/LP workflow is intended to operate is that you push a branch to Launchpad which fixes a specific issue21:51
Rocket2DMnI agree, but why do I have to upload all the ubuntu-doc to make a single change with bzr? there must be another way21:51
mdkenot currently, I don't think21:52
Rocket2DMnI would think that I should be able to grab a branch from ubuntu-doc without having to upload the entire main branch again, it should be able to mirror itself on LP21:52
mdkethere is discussion of automatically creating a bzr branch from a bundle attached to a bug report21:52
mdkehttps://lists.launchpad.net/launchpad-users/msg05000.html21:55
mdkethe other thing you can do to save time is to use a shared repository21:56
mdkethat should speed things up a lot21:57
mdkeunfortunately, Launchpad doesn't support them21:58
mdkeso pushing will always take as long :(21:58
Rocket2DMnhmmm21:58
Rocket2DMnok, well I guess I'll remove my branch then22:00
Rocket2DMnhow can i destroy it?22:00
mdkemark it as abandoned, I guess22:01
Rocket2DMnhow do i do that?22:03
mdkeah, you can delete it, if you like22:04
mdkeon the main LP page, there is a trashcan by the branch title22:04
Rocket2DMnok, lets see what happens22:05
Rocket2DMnmaybe i should roll back instead22:06
Rocket2DMnso that it doesnt break links22:07
mdkehmm?22:07
Rocket2DMnyou should be able to roll back to a revision, right?22:07
mdkeyes22:07
Rocket2DMnmaybe we can get it so the branch remains, but its not active22:07
mdkeyou can mark it as abandoned then22:08
Rocket2DMnah there's how to do that22:08
mdkenext to the trashcan, use the edit button22:08
Rocket2DMnthere is an option to mark it as Merged22:08
Rocket2DMni uncommitted the "none" commented push i believe22:09
Rocket2DMnok, so now its showing the 299 commit version, as it was before22:10
Rocket2DMni'll mark it as merged again22:10
Rocket2DMnhah! that did the trick!22:11
mdkenice22:11
Rocket2DMnalright, thanks for the help mdke , this has been enlightening22:11
mdkefor me too :)22:11
Rocket2DMnoff the gym and to get some food, see ya later22:12
mdkehave fun22:12

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