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

Re: are hashes calculated from data

From
Miles Bader <miles@gnu.org>
Date
Apr 2, 2010, 04:22 UTC
Message-ID
<buozl1mbi0o.fsf@dhlpc061.dev.necel.com>
In-Reply-To
<o2q32541b131004011950u6023ef29ocac1d80f2847ef6f@mail.gmail.com>
Avery Pennarun <apenwarr@gmail.com> writes:
Show 17 quoted lines
> You can minimize the impact of this problem, however.  The easiest way is:
>
> - have only a single person use git-svn
>
> - when committing stuff to git-svn, first checkout the *existing*
> git-svn branch, then use "git merge --no-ff mybranch", then "git svn
> dcommit".  The --no-ff is very important; this makes sure that a *new*
> commit is created (a merge commit) for the svn dcommit.  svn dcommit
> then creates only a single svn commit that includes all the patches
> from the whole branch.
>
> - then do 'git checkout mybranch; git merge git-svn' to get the svn commit back.
>
> At work, we have a cronjob that basically does most of these steps for
> us.  Then there's a central git repo that corresponds to the svn repo;
> people who want to use git can use that repo and not worry about
> git-svn.
Do you happen to have the cron script available for perusal anywhere?

I imagine many of the details would need to be changed for other installations, but just looking at a working concrete example could be very helpful...

Thanks,
-Miles
-- 
=====
(^o^;
(()))
*This is the cute octopus virus, please copy it into your sig so it can spread.
Previous: Avery PennarunNext: Avery Pennarun
Message 3 of 7 in “are hashes calculated from data”
  1. Raymond AugeApr 2, 2010
  2. Avery PennarunApr 2, 2010
  3. Miles BaderApr 2, 2010
  4. Avery PennarunApr 2, 2010
  5. Peter BaumannApr 2, 2010
  6. Avery PennarunApr 2, 2010
  7. Peter BaumannApr 2, 2010

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.