03[14:21] * mklappstuhl (~mklappstu@fak8.grp.tu-berlin.de) has joined #git

03[14:21] * xiangfu (~xiangfu@123.123.40.145) has joined #git

[14:21] zerkms: lose the –branches=

03[14:22] * pen (~pen@g1pc2n126.g1.ntu.edu.tw) has joined #git

[14:22] still returns a lot of changesets

[14:22] while it was only one in that branch

02[14:22] * mikewintermute (~mikewinte@188-223-213-21.zone14.bethere.co.uk) Quit (Quit: mikewintermute)

[14:23] you need to compare it against another commit then $old..$new

[14:23] :-S

[14:24] how would I know $old and $new?

02[14:26] * stliu (~stliu@redhat/jboss/stliu) Quit (Quit: Leaving)

[14:26] zerkms: try ‘gitk –all’

03[14:26] * Prasad (~prasadkr@117.192.245.230) has joined #git

[14:26] then you’ll see graphically what your branches look like

[14:27] yes

[14:27] `git log –graph –all` might help as well, if you don’t have access to gitk

[14:27] I see exactly one changeset

[14:27] in that branch

02[14:27] * spaceonline (~marcio@189.107.36.41) Quit (Ping timeout: 250 seconds)

03[14:28] * nyuszika7h is now known as christel_

[14:28] :-S

03[14:28] * christel_ is now known as nyuszika7h

[14:28] sorry for this, but that is why I love mercurial :-( it is much more obvious… /me sighs

02[14:28] * Murr__ (~murr@80-218-32-38.dclient.hispeed.ch) Quit (Remote host closed the connection)

02[14:29] * dna (~dna@85.93.10.9) Quit (Ping timeout: 260 seconds)

03[14:29] * tvw (~tv@e176010028.adsl.alicedsl.de) has joined #git

[14:30] zerkms: you need to understand DAG perhaps? Hg is totally screwed up on branches, and they’ve been trying to fix it for ages now, approaching the correct solution almost asymptotically

[14:30] well, that is not the subject, sorry for that phrase

02[14:30] * d3vic3 (~quimzed@41.225.4.218) Quit (Quit: leaving)

[14:30] so, any reason to get the changesets from that branch?

[14:31] oops

[14:31] *any solution

03[14:31] * Hrrwr (~mth@87.226.75.123) has joined #git

03[14:31] * dna (~dna@85.93.10.9) has joined #git

03[14:31] * adnasa (~adnasa@user29.217-10-104.netatonce.net) has joined #git

03[14:31] * cjuner (~cjuner@unaffiliated/cjuner) has joined #git

03[14:31] * novettam (~novettam@bl15-71-125.dsl.telepac.pt) has joined #git

[14:32] zerkms: define what you mean by that. There are 2 different meanings. *all* the commits on that branch: «git log branchname». All the commits on that branch that are not on any other branch, is a bit more hard work

[14:32] hence ‘gitk –all’

[14:32] well, I started branch

[14:33] and made several commits there (1 in this particular case)

[14:33] I know that name of that branch

[14:33] how to retrieve that one changeset using `git log`

[14:33] git log branchname -1

02[14:33] * Unknown[NF] (~d@kong-1.designxenon.com) Quit (Ping timeout: 276 seconds)

[14:33] since you apparently know how many commits you made

[14:33] ok, I don’t know the exact amount of commits

[14:34] I need all the history that has been made in this branch

[14:34] git log branchname

[14:34] that’s literally all the history on that branch

[14:34] uhm, I retrieve a lot of changesets, including from other branches

03[14:35] * d3vic3 (~quimzed@41.225.4.218) has joined #git

[14:35] so what, that history is on this branch also

[14:35] make up your mind!

[14:35] look, have you tried ‘gitk –all’ — yes or no?

[14:35] uhm, no, it has been done in another changeset

[14:36] yes

03[14:36] * soc42 (~soc42@g227085066.adsl.alicedsl.de) has joined #git

[14:36] gitk –all displays all what I expect

[14:36] and that didn’t show you a nice clear

[14:36] oh ok

[14:36] in gitk I see when my branch has been started and one commit

[14:36] after that point

[14:36] :-S

[14:36] :-(

[14:36] zerkms: now take a look at that tree, and realise that in git, a branchname is just a name given to one of the tips. It has no more significance than as a name for a tip

02[14:37] * cggaurav (~Adium@212-181-83-218.customer.telia.com) Quit (Quit: Leaving.)

03[14:37] * OOPMan (~adamj@41-135-154-21.dsl.mweb.co.za) has joined #git

[14:37] well, any way to do what I want?

[14:37] zerkms: there is no concept of «branch has been started». I can take an existing tree and rename all the branches. I can start an *unnamed* branch and give it a name

[14:37] :_S

[14:37] hg log -r branchname

[14:38] hg would help me in just one line and 20 keystrokes

06[14:38] * zerkms sighs

[14:38] good — use it

02[14:38] * tvw (~tv@e176010028.adsl.alicedsl.de) Quit (Remote

Комментарии запрещены.