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

Re: git-svn and repository hierarchy?

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Mar 6, 2009, 16:58 UTC
Message-ID
<eaa105840903060858g5b8f31bpb9a59d563835a9d5@mail.gmail.com>
In-Reply-To
<20090306161026.GA14554@raven.wolf.lan>
On Fri, Mar 6, 2009 at 11:10 AM, Josef Wolf wrote:
Show 7 quoted lines
> On Thu, Mar 05, 2009 at 02:48:14PM -0500, Peter Harris wrote:
>>
>> True, but in my experience it happens considerably less often with
>> git. I find and fix most of my typos when reviewing my change-set
>> before doing a "git push" or "git svn dcommit".
>
> So you are rewriting yourself but not accept rewrites by svn ;-)

No, I am not rewriting myself *after I publish*. I see the smiley, but I think you missed the point.

"git push" or "svn ci" is the end of the rewrites.

The critical difference is that I can easily manage an entire unpublished patch series in git. I cannot in svn (without 3rd party tools such as quilt or git-svn, anyway). So in svn if I notice a typo near the beginning of a patch series as I am publishing the last of the series, I'm screwed.

>> Indeed. Or even not-so-random names, such as cloneX/topic-name if you
>> prefer.
>
> That would have the risk of multiple clones pushing to the same branch.

Only if cloneX pushes to cloneY/topic-name. Does each clone not have a unique name?

> Does that look sane?

No. But it doesn't look any more insane than any other workflow involving Subversion that I can think of. :-)

Peter Harris
Previous: Josef WolfNext: Josef Wolf
Message 22 of 24 in “git-svn and repository hierarchy?”
  1. Josef WolfFeb 24, 2009
  2. Michael J GruberFeb 25, 2009
  3. Josef WolfFeb 25, 2009
  4. Peter HarrisFeb 26, 2009
  5. Josef WolfFeb 27, 2009
  6. Peter HarrisFeb 27, 2009
  7. Josef WolfFeb 27, 2009
  8. Peter HarrisFeb 28, 2009
  9. Josef WolfFeb 27, 2009
  10. Michael J GruberFeb 27, 2009
  11. Josef WolfFeb 27, 2009
  12. Michael J GruberFeb 28, 2009
  13. Josef WolfMar 3, 2009
  14. Peter HarrisMar 3, 2009
  15. Josef WolfMar 3, 2009
  16. Peter HarrisMar 4, 2009
  17. Josef WolfMar 4, 2009
  18. Peter HarrisMar 4, 2009
  19. Josef WolfMar 5, 2009
  20. Peter HarrisMar 5, 2009
  21. Josef WolfMar 6, 2009
  22. Peter HarrisMar 6, 2009
  23. Josef WolfMar 6, 2009
  24. Florian MicklerMar 8, 2009

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.