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

Re: git-svn: commit author x commit committer issue

From
Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Date
Aug 22, 2007, 10:07 UTC
Message-ID
<8b65902a0708220307g2cb4b290s9bbf4603af7489fa@mail.gmail.com>
In-Reply-To
<20070816092002.GD16849@muzzle>
On 8/16/07, Eric Wong <normalperson@yhbt.net> wrote:
Show 23 quoted lines
> Richard MUSIL <richard.musil@st.com> wrote:
> > Normally, when patch is applied, git distinguishes commit author and
> > commit committer (relying on info from patch).
> > However, after the patches are committed to svn repository using:
> > git-svn dcommit
> > author and committer data are set to same values (or at least time and
> > date, I cannot verify it for names).
> > I wonder if there is any reason for this behavior, because I would
> > definitely like to keep original commit info (which came from patch) in
> > my git repository.
>
> I try to keep commits made to SVN using git-svn as much like commits
> made using other SVN clients as much as possible.
>
> Two people using git-svn (in its recommended fashion and maintaining
> linear history) can have identical SHA1s in their repository even if
> those two repositories had never seen each other before.  Consistency
> is good.
>
> I also want to avoid creating extra junk on the SVN repository which I
> don't personally consider very important.  SVK does stuff like that with
> merges, and only SVK understands the metadata it uses.  I prefer
> transparency.

Instead of using SVN metadata, why not store the missing information like git-svn store the SVN rev id. (in the commit log as I know).

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
Previous: Eric WongNext: Guilhem Bonnefille
Message 8 of 12 in “git-svn: commit author x commit committer issue”
  1. Richard MUSILAug 8, 2007
  2. Quy TonthatAug 8, 2007
  3. Peter BaumannAug 8, 2007
  4. Richard MUSILAug 9, 2007
  5. Eric WongAug 16, 2007
  6. Richard MUSILAug 16, 2007
  7. Eric WongAug 17, 2007
  8. Guilhem BonnefilleAug 22, 2007
  9. Guilhem BonnefilleAug 22, 2007
  10. Junio C HamanoAug 22, 2007
  11. Eric WongAug 23, 2007
  12. Richard MUSILAug 23, 2007

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.