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

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

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 17, 2007, 07:58 UTC
Message-ID
<20070817075840.GA9504@soma>
In-Reply-To
<46C43F5F.3040508@st.com>
Richard MUSIL <richard.musil@st.com> wrote:
Show 27 quoted lines
> Eric Wong wrote:
> > Richard MUSIL <richard.musil@st.com> wrote:
> > 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.
> 
> I made some suggestions in this thread about using revision
> (unversioned) property of SVN fot git "metadata". AFAIK using rev. props
> is completely transparent to other SVN clients (in this case those not
> being git-svn), so they could easily ignore them.
> 
> It could be optional on git config property for commit and autodetected
> for clone/pull.
> 
> The scenario I could easily imagine (though it is not something I am
> currently using) is having dev teams using git internally (because its
> much easier for tracking local development) and having SVN repo as a
> "central hub". In such environment, there will be probably one person in
> each team (dev. lead) collecting commits from others and once things are
> set, he will commit all changes to svn. In that particular case, he does
> not have to worry about different sha1s, because they use only one SVN
> (as it was meant to be used). But he could be sad about losing all
> authors info about the people commits. And my personal believe is, this
> is how git-svn may enter svn world on big projects.
> 
> But you are right, it is up to you to decide. It was just an idea ;-).

It'd be easy for git-svn to write metadata to rev-props. Whether or not it reads and does anything with them is another issue... I think Sam was working on something that allowed it to track merges on the git-side, but we'd be introducing a third or fourth method of non-standard merge-tracking into SVN :)

In any case, this behavior should always be optional and off by default.
-- 
Eric Wong
Previous: Richard MUSILNext: Guilhem Bonnefille
Message 7 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.