[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alioth - Convert SVN repo to Git



On Tue, Mar 24, 2009 at 05:42:17PM +0100, Bernd Zeimetz wrote:
> Reinhard Tartler wrote:
> > can you point me to someone (or ideally to a script or detailed
> > explanation) that managed to do that in an automated way?
> 
> What I did manually was something like
> 
> find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure they're
> sorted in a way as dpkg would sort the versions) | while read i; do
> 	git-import-dsc $i
> done
> 

git-import-dscs (note the extra s on the end) does exactly this.

> Then I've used git-svn to import the svn history in an extra repository,
> verified that everything is right, and pulled it from the repository created
> with git-import-dsc. As git-import-dsc uses the date from the changelog as
> commit date, this worked well enough for me. Probably needs some fine-tuning,
> but I hope that's something you can work on.
> 
> 
> Bernd
> 
> -- 
>  Bernd Zeimetz                           Debian GNU/Linux Developer
>  GPG Fingerprint: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
_________________________
Ryan Niebur
ryanryan52@gmail.com

Attachment: signature.asc
Description: Digital signature


Reply to: