{"thread":{"id":"12762","subject":"rfc on a svn -> git wrapper script","startedAt":"2008-03-18T15:24:27Z","lastAt":"2008-03-18T15:24:27Z","messageCount":1,"participants":["Stefano Zacchiroli"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"72421","messageId":"20080318152427.GA2219@takhisis.invalid","threadId":"12762","inReplyTo":null,"subject":"rfc on a svn -> git wrapper script","fromName":"Stefano Zacchiroli","fromEmail":"zack@upsilon.cc","sentAt":"2008-03-18T15:24:27Z","receivedAt":"2008-03-18T15:24:27Z","isPatch":false,"sender":{"key":"zack@upsilon.cc","avatar":null},"body":"Hi all,\n  I want to convert a medium-sized subversion repository [1] to several\ngit repositories. In doing so I've a couple of extra requirements which\nare not directly handled by git-svn. The main ones are:\n\n- get rid of old .orig.tar.gz tarballs which have been commited in the\n  past to the repo\n- get rid of the git-svn metadata as the conversion will be one-way and\n  will happen only once\n- make the repository bare\n- convert old subversion tags to real git tags\n  (BTW, I'm quite surprised git-svn doesn't do that, but I understand\n  that there are no guarantees that tags on the subversion side have\n  been used as such ...)\n\nAs a side goal I need all this to be made easy for people which know\npotentially nothing about git (they will start learning when the\nconversions have been done).\n\nHence, to automate the above stuff I've made a helper script [2] (with a\ncompanion of him, which is way less interesting [3]).\n\nSince I'm quite new to git, and given that some stuff (e.g. removing the\ntarballs and ensuring their space can be reclaimed back) is quite\ntricky, I was wondering if someone can have a look at the script to\ncheck if I've overlooked something obvious or not ...\n\nComments will be very much appreciated,\nMany thanks in advance!\n\n[1] svn://svn.debian.org/pkg-ocaml-maint/\n[2] http://svn.debian.org/viewsvn/pkg-ocaml-maint/trunk/tools/svn2git/svn2git_alioth?view=markup\n[3] http://svn.debian.org/viewsvn/pkg-ocaml-maint/trunk/tools/svn2git/svn2git_pkg-ocaml-maint?view=markup\n\n-- \nStefano Zacchiroli -*- PhD in Computer Science ............... now what?\nzack@{upsilon.cc,cs.unibo.it,debian.org}  -<%>-  http://upsilon.cc/zack/\n(15:56:48)  Zack: e la demo dema ?    /\\    All one has to do is hit the\n(15:57:15)  Bac: no, la demo scema    \\/    right keys at the right time\n"}]}