git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jon SeymourNext: Jon Seymour
Message 4 of 5 in “git svn dcommit <branch> committed to trunk anyway”
  1. Jon SeymourMay 6, 2012
  2. Thomas RastMay 7, 2012
  3. Jon SeymourMay 7, 2012
  4. Thomas RastMay 7, 2012
  5. Jon SeymourMay 7, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.