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

Re: git svn dcommit <branch> committed to trunk anyway

From
Jon Seymour <jon.seymour@gmail.com>
Date
May 7, 2012, 14:17 UTC
Message-ID
<CAH3Anroub3a1+Nsj5C-ecTqaX9riUG7T27bHZYJOHiPJbeVCTQ@mail.gmail.com>
In-Reply-To
<87havs6v9s.fsf@thomas.inf.ethz.ch>
On Mon, May 7, 2012 at 5:46 PM, Thomas Rast <trast@student.ethz.ch> wrote:
Show 8 quoted lines
> Jon Seymour <jon.seymour@gmail.com> writes:
> 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 -
>

Ok, I see my mistake - I had created the branch in SVN (using external means, since git svn branch doesn't use an HTTP proxy), had failed to fetch and then rebase my work onto remotes/<branch> and do the commit from there. If I had done that, it would have worked as expected.

Thanks for your help.
Previous: Thomas Rast
Message 5 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.