Re: git svn dcommit <branch> committed to trunk anyway
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- May 7, 2012, 12:16 UTC
- Message-ID
- <87havs6v9s.fsf@thomas.inf.ethz.ch>
- In-Reply-To
- <CAH3Anrq5SGZZsTpKd1MFBRVD8xzsUvckt6d-BxtTYYce--F1+g@mail.gmail.com>
Jon Seymour <jon.seymour@gmail.com> writes:
Show 12 quoted lines
> 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