/srv/irclogs.ubuntu.com/2013/03/29/#bzr.txt

greggypoook here's the workflow i'm aiming for.  i check out a bzr project from launchpad, branch it to make my changes, and then start hacking on my extensive set of changes..00:48
greggypooafter commiting several changes, i discover an unrelated bug, so i fix it, and that is its own commit00:48
greggypoowhat is the proper way to make a "pull request" or what-have-you to ask upstream to incorporate my bugfix but not worry about my other changes yet?00:49
SamB_greggypoo: can you do that in git either?00:49
greggypooit's trivial in git but i have no idea how it is done in practice, i'm a total newbie to github for example00:50
greggypooif i had to dance around upstream requirements in git, i would just make yet another branch and cherry-pick my bugfix into it00:52
greggypooi keep thinking i must fundamentally not understand bzr, because i think that making a new branch in bzr is expensive00:52
lifelessgreggypoo: you put it in its own branch; making a branch is cheap.01:03
lifelessgreggypoo: however you need to either be using bzr-colo or have setup a shared repo for yourself locally.01:03
lifelessfor it to be ultra cheap01:03
greggypoowhen i made my first branch, it copied 400MB of history.  i think "shared repo" is probably what i needed to hear, though.01:04
greggypoothanks01:04
greggypoothanks again - shared repository truly does answer the vast majority of my complaints with bzr03:06
mgrandi<303:13
greggypoook, i can live without this, but...is there anything like "git add -p" ?  it shows you the diffs one at a time, and asks if you want to make it part of the next commit03:25
mgrandithere is sort of something like that03:26
mgrandithere is bzr qshelve that will show the hunks03:27
mgrandiand then you can 'shelve them' if you dont want to commit them at this moment03:27
mgrandithere is probably something similiar in command line form03:27
mgrandior a plugin03:27
greggypoothanks, bzr qshelve makes sense...i've been using regular shelve as a stopgap03:28
mgrandiits the same thing as git (more or less since bzr doesn't have the 'index')03:29
mgrandiit would be nice to have a plugin do it for you using shelve03:29
mgrandi(aka shelve temporarily -> commit your selected changes -> unshelve)03:29
mgrandibzr help shelf103:29
mgrandiwhoops03:29
mgrandii have 'shelve1' (from a plugin03:31
mgrandiit seems to have an interactive mode03:31
greggypoook, and hopefully the last one :)  how do branches ever get deleted?  i have pushed an lp:~myusername/project/branchname ..does that branch just magically disappear once the "proposed merge" is accepted?03:33
mgrandithey dont get deleted unless you delete them, but if they are merged then you can delete them since the changes are present in the branch that you merged into03:34
mgrandi(on launchpad)03:34
greggypoolocally I used rm -rf to delete an unneeded branch, how would i delete it remotely on launchpad?03:35
mgrandii would presume through the website somewhere03:35
greggypoook thanks :)03:35
mgrandialternatively you don't have to delete it as it would take up very little space, since it shares the commits with the merged branch03:35
greggypooyup, just didn't see it on the first glance, it was on my screen :)03:36
greggypooi just didn't want to be the guy that cluttered up the project view on launchpad03:36
mgrandiim not exactly sure how lp works, i think branches of a project that you don't own go into your own directory03:38
mgrandilike launchpad.net/~markgrandi/bzr/something03:39
greggypooyeah, it puts my name on it, but there's a view that shows all of the personal branches together03:39
mgrandiah03:40
mgrandii wouldn't worry too much about that, even github has that to an extent =P03:40
greggypooeverything i know about git i learned on my private server, so it is a little bit of a learning curve to try not to look like an idiot when submitting things on github or launchpad03:41
mgrandithey are more or less the same03:42
=== mmrazik is now known as mmrazik|lunch
=== mmrazik|lunch is now known as mmrazik
=== wedgwood_away is now known as wedgwood
=== mmrazik is now known as mmrazik|afk
=== mmrazik|afk is now known as mmrazik
=== mmrazik is now known as mmrazik|afk
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away

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