{"thread":{"id":"5915","subject":"git-svnimport and tags","startedAt":"2006-10-13T14:44:55Z","lastAt":"2006-10-13T20:15:37Z","messageCount":2,"participants":["Nicolas Stroppa","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"28733","messageId":"452FA667.1060003@computing.dcu.ie","threadId":"5915","inReplyTo":null,"subject":"git-svnimport and tags","fromName":"Nicolas Stroppa","fromEmail":"nstroppa@computing.dcu.ie","sentAt":"2006-10-13T14:44:55Z","receivedAt":"2006-10-13T14:44:55Z","isPatch":false,"sender":{"key":"nstroppa@computing.dcu.ie","avatar":null},"body":"Hello,\n\n\nA small report. (I am using cogito-0.18 and git 1.4.2.3.)\nI have imported an SVN project using git-svnimport.\nThis project has several tags. Here is what I get with one the tags.\n\ntricatel $ git-cat-file tag `cat .git/refs/tags/alanis-0.9.4`\nobject [...]\ntype commit\ntag alanis-0.9.4\ntagger nico <nico>\n\n\nIf I do the same thing on a git repository created from scratch, I get:\n\ntricatel $ git-cat-file tag `cat .git/refs/tags/alanis-0.9.4`\nobject [...]\ntype commit\ntag alanis-0.9.4\ntagger nico <nico@[...]> 1160736694 +0100\n\nThe date information is missing in the first case, which confuses\ncg-tag-show:\ntricatel $ cg-tag-show alanis-0.9.4\n[...]\ncg-Xlib: line 215: nico <n (nic * 3600 + co> * 60):\nsyntax error in expression (error token is \"(nic * 3600 + co> * 60)\")\n\nI don't know if cg-tag-show should be more robust or if the date\ninformation should be in the tag.\n\n Cheers,\n nicolas\n\n\n\n-- \n _____________________________________________________________\n/\n| Nicolas Stroppa - nstroppa@computing.dcu.ie - +353-1-7006912\n| School of Computing, Dublin City University,\n| Glasnevin, Dublin 9, Ireland.\n| http://www.computing.dcu.ie/~nstroppa\n\\_____________________________________________________________\n"},{"id":"28742","messageId":"20061013201537.GV20017@pasky.or.cz","threadId":"5915","inReplyTo":"452FA667.1060003@computing.dcu.ie","subject":"Re: git-svnimport and tags","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-10-13T20:15:37Z","receivedAt":"2006-10-13T20:15:37Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"  Hello,\n\nDear diary, on Fri, Oct 13, 2006 at 04:44:55PM CEST, I got a letter\nwhere Nicolas Stroppa <nstroppa@computing.dcu.ie> said that...\n> A small report. (I am using cogito-0.18 and git 1.4.2.3.)\n> I have imported an SVN project using git-svnimport.\n> This project has several tags. Here is what I get with one the tags.\n> \n> tricatel $ git-cat-file tag `cat .git/refs/tags/alanis-0.9.4`\n> object [...]\n> type commit\n> tag alanis-0.9.4\n> tagger nico <nico>\n> \n> \n> If I do the same thing on a git repository created from scratch, I get:\n> \n> tricatel $ git-cat-file tag `cat .git/refs/tags/alanis-0.9.4`\n> object [...]\n> type commit\n> tag alanis-0.9.4\n> tagger nico <nico@[...]> 1160736694 +0100\n> \n> The date information is missing in the first case, which confuses\n> cg-tag-show:\n> tricatel $ cg-tag-show alanis-0.9.4\n> [...]\n> cg-Xlib: line 215: nico <n (nic * 3600 + co> * 60):\n> syntax error in expression (error token is \"(nic * 3600 + co> * 60)\")\n> \n> I don't know if cg-tag-show should be more robust or if the date\n> information should be in the tag.\n\n  I think git-svnimport is broken here, the tagger line is clearly\ndefined that it must contain the time specification. And git-mktag is\nbroken as well since the verification of that line is a TODO so we let\nthe user put any garbage there.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\n#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj\n$/=unpack('H*',$_);$_=`echo 16dio\\U$k\"SK$/SM$n\\EsN0p[lN*1\nlK[d2%Sa2/d0$^Ixp\"|dc`;s/\\W//g;$_=pack('H*',/((..)*)$/)\n"}]}