{"thread":{"id":"3870","subject":"git-svn and Author files question","startedAt":"2006-04-14T20:34:57Z","lastAt":"2006-04-16T02:22:22Z","messageCount":5,"participants":["Seth Falcon","Rutger Nijlunsing","Eric Wong","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"18650","messageId":"m21wvzx5e6.fsf@ziti.fhcrc.org","threadId":"3870","inReplyTo":null,"subject":"git-svn and Author files question","fromName":"Seth Falcon","fromEmail":"sethfalcon@gmail.com","sentAt":"2006-04-14T20:34:57Z","receivedAt":"2006-04-14T20:34:57Z","isPatch":false,"sender":{"key":"sethfalcon@gmail.com","avatar":"https://gravatar.com/avatar/fd62fe73d3013b12fce71d5269ec52eaca3c4cee479efc6eea3603d6f1d8bf8d?d=mp&s=160"},"body":"Hi all,\n\nI've been using git to manually track changes to a project that uses\nsvn as its primary SCM.\n\ngit-svn looks like it can help me streamline my workflow, but I'm\ngetting stuck with the following:\n\n    mkdir foo\n    cd foo\n    git-svn init $URL  <--- the svn URL\n    git-svn fetch\n    Author: dfcimm3 not defined in  file\n\n:-(\n\nCan someone point me to the file and the place that describes what I\nshould put in it?  There are many committers to the svn project.  I'm\nhoping that I will not have to enumerate all of their names in some\nfile.\n\nI'm using git version 1.3.0.rc1.g40e9, and BTW, enjoying it very much.\n\nThanks,\n\n+ seth\n"},{"id":"18686","messageId":"20060415092510.GA4539@nospam.com","threadId":"3870","inReplyTo":"m21wvzx5e6.fsf@ziti.fhcrc.org","subject":"Re: git-svn and Author files question","fromName":"Rutger Nijlunsing","fromEmail":"rutger@nospam.com","sentAt":"2006-04-15T09:25:10Z","receivedAt":"2006-04-15T09:25:10Z","isPatch":false,"sender":{"key":"rutger.nijlunsing@gmail.com","avatar":null},"body":"On Fri, Apr 14, 2006 at 01:34:57PM -0700, Seth Falcon wrote:\n> Hi all,\n> \n> I've been using git to manually track changes to a project that uses\n> svn as its primary SCM.\n> \n> git-svn looks like it can help me streamline my workflow, but I'm\n> getting stuck with the following:\n> \n>     mkdir foo\n>     cd foo\n>     git-svn init $URL  <--- the svn URL\n>     git-svn fetch\n>     Author: dfcimm3 not defined in  file\n> \n> :-(\n> \n> Can someone point me to the file and the place that describes what I\n> should put in it?  There are many committers to the svn project.  I'm\n> hoping that I will not have to enumerate all of their names in some\n> file.\n\nI'm not familiar with git-svn, but the $GIT_DIR/svn-authors file used\nby git-svnimport.perl and\nhttp://www.wingding.demon.nl/git-svnconvert.rb contains lines like:\n\nsvn-author = Full Name <email@domain>\n\nAnd yes, you've got to enumerate the names you want\ntransformed. Another option is to give no authors, but then the SVN\nauthor names will be used (with email 'unknown' or something).\n\n\n-- \nRutger Nijlunsing ---------------------------------- eludias ed dse.nl\nnever attribute to a conspiracy which can be explained by incompetence\n----------------------------------------------------------------------\n"},{"id":"18717","messageId":"20060415215850.GB20468@hand.yhbt.net","threadId":"3870","inReplyTo":"m21wvzx5e6.fsf@ziti.fhcrc.org","subject":"Re: git-svn and Author files question","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-04-15T21:58:50Z","receivedAt":"2006-04-15T21:58:50Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Seth Falcon <sethfalcon@gmail.com> wrote:\n> Hi all,\n> \n> I've been using git to manually track changes to a project that uses\n> svn as its primary SCM.\n> \n> git-svn looks like it can help me streamline my workflow, but I'm\n> getting stuck with the following:\n> \n>     mkdir foo\n>     cd foo\n>     git-svn init $URL  <--- the svn URL\n>     git-svn fetch\n>     Author: dfcimm3 not defined in  file\n> \n> :-(\n> \n> Can someone point me to the file and the place that describes what I\n> should put in it?  There are many committers to the svn project.  I'm\n> hoping that I will not have to enumerate all of their names in some\n> file.\n> \n> I'm using git version 1.3.0.rc1.g40e9, and BTW, enjoying it very much.\n\nThere were some embarassing bugs between the git-svn in rc1 and rc2.\nCurrent versions should work.  Rutger was right about the file format,\nsame as the other importers.\n\nSorry about so long to reply to questions this week, left hand/wrist is\nwrecked.\n\n@Pavel, Junio: I should have doc updates coming in hopefully in the next\nfew days, unless anybody wants to help :)\n\n-- \nEric Wong\n"},{"id":"18719","messageId":"m2ejzys2ns.fsf@ziti.fhcrc.org","threadId":"3870","inReplyTo":"20060415215850.GB20468@hand.yhbt.net","subject":"Re: git-svn and Author files question","fromName":"Seth Falcon","fromEmail":"sethfalcon@gmail.com","sentAt":"2006-04-16T01:57:27Z","receivedAt":"2006-04-16T01:57:27Z","isPatch":false,"sender":{"key":"sethfalcon@gmail.com","avatar":"https://gravatar.com/avatar/fd62fe73d3013b12fce71d5269ec52eaca3c4cee479efc6eea3603d6f1d8bf8d?d=mp&s=160"},"body":"Eric Wong <normalperson@yhbt.net> writes:\n> There were some embarassing bugs between the git-svn in rc1 and rc2.\n> Current versions should work.  Rutger was right about the file format,\n> same as the other importers.\n\nThanks for the explanation (and thanks to Rutger as well for the\nreply!).\n\nI managed to get git-svn fetch to work by specifying an author file\nwith -A.\n\nI'm a bit confused about why I have to do this.  Is there a way around\nthis?  Or perhaps a way to force a bogus email address based on svn\nuser name?\n\n[ok, maybe I'm less confused than I'm letting on: the email\nrequirement is, I think, because that's what suits the main git\n\"customers\".  If I was using git for a project's primary SCM, I would\nhave no problem with this.  In fact, we started using email addresses\nas user names in svn a long time ago.  \n\nBut it seems to me that (1) using git to track a project that uses a\nless featureful SCM is way cool, and (2) having to manually muck with\nan authors file is kinda uncool.]\n\n> Sorry about so long to reply to questions this week, left hand/wrist is\n> wrecked.\n\nHope it heals quickly!\n\n\nThanks for listening and again for the help,\n\n+ seth\n"},{"id":"18723","messageId":"7vzmimcl9d.fsf@assigned-by-dhcp.cox.net","threadId":"3870","inReplyTo":"m2ejzys2ns.fsf@ziti.fhcrc.org","subject":"Re: git-svn and Author files question","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-04-16T02:22:22Z","receivedAt":"2006-04-16T02:22:22Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Seth Falcon <sethfalcon@gmail.com> writes:\n\n> I'm a bit confused about why I have to do this.  Is there a way around\n> this?  Or perhaps a way to force a bogus email address based on svn\n> user name?\n\nI think this is a reasonable request.  IIRC, the original\nforeign SCM interface (git-cvsimport) did \"foobar <foobar>\"\nif there is no mapping available, so that might be a good\nexample to follow.\n"}]}