From: Thomas Rast Date: Mon, 07 May 2012 12:16:47 GMT Subject: Re: git svn dcommit committed to trunk anyway Message-ID: <87havs6v9s.fsf@thomas.inf.ethz.ch> In-Reply-To: Jon Seymour writes: > I guess I am confused by this guidance in git-svn(1) in the section on dcommit: > > "An optional revision or branch argument may be specified, and > causes git svn to do all work on that revision/branch instead of > HEAD": > > I had assumed that dcommit would respect the optional (SVN branch) > argument that I had specified, but it seems that this is not the case. > What do the words in the man page actually mean, if they don't mean > what I thought they meant. Do the words "optional revision or branch" > actually refer to the git commit/branch rather than the SVN > revision/branch? Oh, now I understand. Yes, specifying a revision C there acts mostly as if you said git checkout C^0 git svn dcommit git checkout - (IIRC, I haven't used it in a while). -- Thomas Rast trast@{inf,student}.ethz.ch