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

Re: [PATCH] Teach git-svn how to catch up with its tracking branches

From
Karl Hasselström <kha@treskal.com>
Date
May 8, 2008, 07:38 UTC
Message-ID
<20080508073851.GA302@diana.vm.bytemark.co.uk>
In-Reply-To
<20080508022504.GA931@pe.Belkin>
On 2008-05-07 22:25:04 -0400, Chris Shoemaker wrote:
Show 10 quoted lines
> On Wed, May 07, 2008 at 07:08:50PM -0700, Steven Grimm wrote:
>
> > The assumption here is that you have exactly the same revision
> > history in your tracking branches as the repo you're fetching
> > from.
>
> In that case, it would be helpful to enumerate exactly how two
> developers can ensure that they are creating the same revision
> history. At the very least, svn URL scheme and svnauthors file have
> to be the same.

Also, one mustn't use Subversion's ability to retroactively edit commit messages. (Guess what we tend to do from time to time where I work.)

What'd really be needed to get all of the corner cases right, I think, is a single import point that everyone else pulls from. The patch that started this thread would help that scenario, since it makes it possible to pull from such a central import point, and then run the dcommit locally. (There's still the problem that dcommit will do a local import if necessary -- that would have to be fixed as well. Maybe simply teach git-svn to always try to pull from a given git repository before hitting the real svn repo.)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Chris ShoemakerNext: Karl Hasselström
Message 7 of 16 in “Teach git-svn how to catch up with its tracking branches”
  1. Teach git-svn how to catch up with its tracking branchesSteven Grimm, May 8, 2008
  2. Junio C HamanoMay 8, 2008
  3. Steven GrimmMay 8, 2008
  4. Chris ShoemakerMay 8, 2008
  5. Steven GrimmMay 8, 2008
  6. Chris ShoemakerMay 8, 2008
  7. Karl HasselströmMay 8, 2008
  8. Karl HasselströmMay 8, 2008
  9. Steven GrimmMay 8, 2008
  10. Karl HasselströmMay 8, 2008
  11. Teach git-svn how to catch up with its tracking branchesSteven Grimm, May 8, 2008
  12. Eric WongMay 11, 2008
  13. Asheesh LaroiaMay 8, 2008
  14. Steven GrimmMay 8, 2008
  15. Chris ShoemakerMay 8, 2008
  16. Chris ShoemakerMay 8, 2008

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.