Thursday, 2011-03-03

*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 240 seconds)00:35
*** Joins: kirillka (~Miranda@195.242.142.17)01:39
*** Quits: phrenic (~phr3n1c@feldstudie.net) (Ping timeout: 240 seconds)01:54
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:29
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)03:05
*** Joins: Phileas1 (~chatzilla@vpn.rzz.ch)03:27
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)04:57
*** Joins: rolfkleef (~rolfkleef@92.254.21.180)05:04
*** Joins: Cupez (~Cupez@unaffiliated/cupertino)05:15
*** Joins: mantisbt_50550 (7040ab82@gateway/web/freenode/ip.112.64.171.130)05:30
mantisbt_50550hello?05:31
dhx1your mic is on05:37
*** Joins: kirillka (~Miranda@195.242.142.17)06:58
*** Quits: mantisbt_50550 (7040ab82@gateway/web/freenode/ip.112.64.171.130) (Ping timeout: 272 seconds)07:20
*** Quits: Phileas1 (~chatzilla@vpn.rzz.ch) (Read error: Connection reset by peer)08:10
*** Joins: Phileas1 (~chatzilla@vpn.rzz.ch)08:10
*** Quits: foobot (~supybot@leetcode.net) (Remote host closed the connection)08:39
*** Joins: foobot (~supybot@leetcode.net)08:39
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net)08:51
jreesedhx1: paul has been looking for you desperately the past couple weeks09:03
*** Quits: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) (Quit: Ex-Chat)09:07
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net)09:09
*** Quits: jimmy___ (42d8a452@gateway/web/freenode/ip.66.216.164.82) (Quit: Page closed)09:30
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Quit: Rixie)09:38
*** Joins: jimmy__ (42d8a452@gateway/web/freenode/ip.66.216.164.82)09:41
jimmy__jreese: so I made a branch of 1.1.8 and applied my changes to it, commited them, then rebased the rest of the commits up to master-1.1.x on top of my new commit.  was that the right procedure?09:55
jreeseyou did it backwards09:55
jimmy__jreese: :-(09:56
jreeseyou'd want to rebase your new commit on top of the master-1.1.x commits09:56
jimmy__jreese: ok I'll try that09:56
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)10:01
jimmy__jreese: interesting, so the last commit in the tree should be mine then10:04
jreeseyep10:05
jimmy__jreese:  now that I did it backwards, do I need to start all over?  Or read the rebase docs.10:08
jreeseit might be simpler to just start over10:10
jimmy__jreese: so once I've done all this properly, I will have a branch in my git which contains master-1.1.x and my changes.  what git concept do I use to give someone else those changes?10:12
jreesehttp://docs.mantisbt.org/master/en/developers/10:13
jreesethe first chapter covers those topics10:13
jimmy__jreese: tyvm10:13
jimmy__jreese: so i did the rebase the other way after committing changes to my branch of 1.1.8, and now it seems that my branch has become simply equivalent to master-1.1.x, and there is no record of my commit in the log.  I'm at my wits end here.10:50
jimmy__jreese: i'll take this to #git, thanks for your help10:53
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)10:55
darynjimmy___:  what branches are you working from?10:57
*** Quits: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl) (Ping timeout: 250 seconds)11:21
jimmy__I made a branch of tag 1.1.811:30
jimmy__daryn: release-1.1.8 sorry11:30
darynk11:30
darynso...you made changes on a new branch called release-1.1.811:31
darynwhich is branched from master -1.1.x at the 1.1.8 tag?11:31
jimmy__daryn:  sorry, I made a branch of release-1.1.8, called branch_release-1.1.811:32
darynok...11:32
darynthen your changes?11:32
jimmy__onto that branch11:32
darynthen what?11:32
jimmy__well, I tried a rebase11:33
darynwhat command did you use11:33
jimmy__I rebased master 1.1.x (which is upstream of master-1.1.x)11:33
jimmy__I used tortoisegit rebase gui11:33
darynah...crud11:33
jimmy__I can go in and do a command line thing11:34
darynk. so first of all, what do you need to accomplish11:34
darynyou want your changes on 1.1.8 and then on 1.1.x as well?11:35
jimmy__yes11:36
jimmy__i figured since I made my changes to 1.1.8 originally11:36
jimmy__i would then later need to apply the rest of the changes that were made to master-1.1.x11:37
jimmy__or would like to, especially since they contain security updates11:37
daryni would commit my changes on the 1.1.8 branch you created then checkout a new branch from there11:37
jimmy__well, I havet to check out a new branch of 1.1.8 in the first place11:38
darynk. so do that.  make your changes and commit11:38
jimmy__did that11:38
darynok.  if you run git checkout -b newbranch11:38
jimmy__well let me say, that I did that and now did other things, so my commit is gone and I might have to start all over AGAIN, but11:38
darynit will create the new branch from that point11:38
jimmy__aren't I already on a new branch?11:39
darynyou want two branches11:39
darynand with git it works in the same directory11:39
jimmy__you'll have to explain it or keep going11:39
darynso, you create your initial new branch 1.1.811:39
darynmake the changes and commit11:40
jimmy__k11:40
darynthen create a new branch 1.1.x11:40
jimmy__ok11:41
darynif your working directory is the 1.1.8 branch with your commited changes, the new branch will be exactly the same as the 1.1.8 branch11:41
darynuntil you make your changes11:41
darynbah11:41
darynuntil you rebase11:41
jimmy__i already made my changes11:41
jimmy__you mean11:41
darynright..your changes carry over11:41
jimmy__I get a branch of 1.1.8, change it, make a new branch of 1.1.x11:42
jimmy__so now i'm sitting in a wc with....11:42
jimmy__god only knows11:42
darynhehe11:42
darynit's difficult to explain...11:42
darynthe working directory is the same whatever branch you're working on11:43
daryngit checks out the branch you want into the same directory11:43
darynso when you checkout a new branch it just puts the branch you were working on away and puts the new one in its place11:43
darynso...11:43
jimmy__so i'm only looking at one at a time11:43
darynyes11:44
jimmy__makes more sense11:44
darynso now...11:44
darynif you just create a branch it does not change your working directory...not sure how tortoise does this...11:44
jimmy__well11:44
jimmy__ok i've already made a branch and changed it11:44
jimmy__if i get a new branch11:44
jimmy__you expect nothing to change11:44
darynbut if you create a branch by checking out...then it puts the old away and 'checks out' a new branch which is identical to the branch you were working on11:44
darynwell...yse11:45
darynyes11:45
jimmy__ok11:45
jimmy__alright11:45
jimmy__i'm starting over and i'll use the command line11:46
darynso now any changes you make will not affect the original 1.1.8 branch where your commits are11:46
jimmy__so i'm sitting with a branch of master-1.1.x and the branch of my changes is somewhere else hanging out not in my wc11:46
jimmy__er working dir11:46
darynright11:46
jimmy__so now you're going to tell me to merge the branches11:47
darynno..rebase which is a sort of merge i guess11:47
darynif your on your 1.1.x branch (whatever you've named it)  it is not really 1.1.x yet.  it's just a copy of 1.1.8 with your changes11:47
jimmy__rebase what where, and why do I need to check out another branch of master?11:47
jimmy__k11:48
darynnope master is already there11:48
darynso while you have 1.1.x checked out (your branch, not the original)11:48
jimmy__ok so i have a branch called whatever 1.1.x, which at this point is the same as my branch of 1.1.8 plus changes11:48
darynyes. now run `git rebase master-1.1.x`11:48
darynyou might have to use `git rebase origin/master-1.1.x` if you don't have a local copy of the branch11:49
jimmy__and this will get me what11:49
darynthis command should stash your changes.  fast forward the branch to the HEAD of master-1.1.x.  Then reapply your changes one commit at a time11:50
darynif it conflicts it will tell you and give you a chance to fix the conflict and continue rebasing11:50
jimmy__ok i'll try it out in a moment11:57
*** Joins: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl)12:00
jimmy__so check out release-1.1.8 and create new branch, branch_release 1.1.812:05
jimmy__commit my changes12:05
*** Quits: Phileas1 (~chatzilla@vpn.rzz.ch) (Quit: ChatZilla 0.9.86 [Firefox 3.6.14/20110218125750])12:06
jimmy__daryn: check out master-1.1.x in a new branch? or in the branch i've already made?12:07
darynnew12:07
darynyou can create and checkout in one shot12:08
daryngit checkout -b newbranch12:08
jimmy__ok thats done12:08
darynor `git checkout -b newbranch oldbranch` to base the new branch on something other than the current active branch12:09
darynk. so what does `git branch` show?12:09
jimmy__branch_release-1.1.8 ,,, master ,,, master-1.1.x <- currently here12:10
darynhm...12:10
jimmy__so, I have 3 branches12:10
daryndid you name the new branch master-1.1.x?12:11
jimmy__yes12:11
darynah...i wouldn't do that but it's easily fixed12:11
jimmy__branch_release-1.1.8 was that initial checkout of tag release-1.1.8 into a new branch on which i've applied my changes12:11
darynyou can have a local master-1.1.x but it needs to remain identical to origin/master-1.1.x12:11
darynexcept when you are preparing to push to origin12:11
jimmy__I don't understand anything you just said.  do I need to rename my 2nd branch?12:12
darynnot yet12:12
jimmy__i mean, (the 2nd branch I made)?12:12
darynjust a sec...let's pm and stop spamming everybody else12:12
*** Quits: rolfkleef (~rolfkleef@92.254.21.180) (Ping timeout: 260 seconds)12:18
*** Joins: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28)12:22
*** Quits: Zeeshan_M (developer@f.je) (Ping timeout: 260 seconds)12:25
*** Quits: Cupez (~Cupez@unaffiliated/cupertino) (Ping timeout: 240 seconds)13:16
*** Joins: leethax (~Cupez@541DAC85.cm-5-6c.dynamic.ziggo.nl)13:16
*** Quits: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28) (Ping timeout: 260 seconds)13:23
*** Joins: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28)13:24
*** Joins: siebrand_ (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl)13:27
*** Quits: siebrand (~chatzilla@535392CA.cm-6-4c.dynamic.ziggo.nl) (Ping timeout: 252 seconds)13:28
*** siebrand_ is now known as siebrand13:28
*** Quits: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28) (Ping timeout: 260 seconds)13:32
*** Quits: chilts (~chilts@184-106-200-232.static.cloud-ips.com) (Ping timeout: 260 seconds)13:33
*** Joins: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28)13:33
*** Joins: chilts (~chilts@184-106-200-232.static.cloud-ips.com)13:34
*** Quits: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28) (Ping timeout: 260 seconds)13:50
*** Joins: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28)13:50
*** Joins: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net)15:23
*** Joins: giallu (~giallu@fedora/giallu)15:25
*** Quits: moto-moi (~hylke@2001:888:13e4:1010:21f:e2ff:fe0c:ce28) (Ping timeout: 260 seconds)16:48
*** Quits: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) (Quit: Ex-Chat)18:03
*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 240 seconds)18:30
*** Quits: leethax (~Cupez@541DAC85.cm-5-6c.dynamic.ziggo.nl) (Quit: I give up...)18:32
*** Joins: paul__ (~IceChat09@2001:470:9310:aaaa:5402:573c:3511:7110)18:37
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)19:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)19:00
*** Quits: paul__ (~IceChat09@2001:470:9310:aaaa:5402:573c:3511:7110) (Quit: Take my advice. I don't use it anyway)19:03
*** Joins: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net)19:46
*** Joins: daryn (~daryn@rrcs-173-198-149-180.west.biz.rr.com)20:01
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 252 seconds)20:05
*** Quits: foobot (~supybot@leetcode.net) (Remote host closed the connection)21:10
*** Quits: daryn (~daryn@rrcs-173-198-149-180.west.biz.rr.com) (Quit: Ex-Chat)21:10
*** Joins: foobot (~supybot@leetcode.net)21:10

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