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

Re: [PATCH 2/3] git-svn: documentation updates

From
Seth Falcon <sethfalcon@gmail.com>
Date
Nov 29, 2006, 15:58 UTC
Message-ID
<m2wt5es0r3.fsf@ziti.fhcrc.org>
In-Reply-To
<20061129085419.GB4486@hand.yhbt.net>
Eric Wong <normalperson@yhbt.net> writes:
> I've been considering something along those lines.  I'm interested in
> renaming the current 'commit' command to something else (it still has
> its uses), but I haven't figured out what to call it...

I think this would be a sensible change and will help new users get started with git-svn.

> Also, something that can wrap (git commit && git svn dcommit) into one
> step would be nice.

For my workflow, that wouldn't be all that useful. I find that I accumulate a few commits locally and then send them all to svn. For this workflow, what would be useful is if dcommit could understand a command like:

    git svn dcommit remotes/git-svn..HEAD~2

Sometimes I realize I should have sent a stack of commits to svn, but now have some newer commits that aren't quite ready on the head of my branch.

While the workaround is easy (create a new branch and dcommit from it), I think there is a usability argument in that when one sees an example like dcommit foo..bar, one expects all the other magic to work. I feel for this and accidentally committed a few commits I didn't want to send. If nothing else, perhaps git-svn could error out and say, "hey, I don't do that".

Previous: Eric WongNext: Eric Wong
Message 10 of 11 in “git-svn: color support for the log command”
  1. 1/3 git-svn: color support for the log commandEric Wong, Nov 29, 2006
  2. 2/3 git-svn: documentation updatesEric Wong, Nov 29, 2006
  3. 3/3 git-svn: fix multi-initEric Wong, Nov 29, 2006
  4. Steven GrimmNov 29, 2006
  5. Eric WongNov 29, 2006
  6. PazuNov 29, 2006
  7. Eric WongDec 3, 2006
  8. Junio C HamanoDec 3, 2006
  9. Eric WongDec 3, 2006
  10. Seth FalconNov 29, 2006
  11. Eric WongDec 3, 2006

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.