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

Re: importing bk into git

From
CChristoph <christoph.duelli@gmx.de>
Date
Dec 3, 2007, 20:59 UTC
Message-ID
<200712032159.57017.christoph.duelli@gmx.de>
In-Reply-To
<t1o1wa432gc.fsf@ednux512.dsto.defence.gov.au>
On Monday 03 December 2007 04:02:43 you wrote:
Show 21 quoted lines
> G'day,
>
> I modified that script to convert a number of our repositories in
> February.  The version below worked for me at the time, but I'm not
> able to test it now as our BK license has expired.  In particular I'm
> not sure if the bk_info.split line is correct; I had a reduced form of
> this line in the file which now looks obviously wrong.
>
> The script is slow; most of the time is in the bk export for every
> revision.  There are probably dumb things in there; I don't know
> python and I was just starting with git.
>
> Changes from the version I downloaded from the web include:
>   - sundry changes to make it work for me
>   - separate committers file to translate user names to full names
>   - specify a git dir template
>   - copy tags from BK
>   - minimal conversion of ignore files
>   - increased recursion limit to handle large number of commits
>
> I hope this is useful to someone.
Thanks,

I have made some modifications to get the script working as well. I was able to convert some simple (really small test repos).I wanted to try to convert my real big repo (>10k files, >5000 revisions) before mailing it. However, as running this conversion will probably take more than 24hours I will do so next weekend. I will check your script and integrate my changes (if there are any relative to yours) after that.

best regards Christoph

Previous: David Kettler
Message 6 of 6 in “importing bk into git”
  1. ChristophNov 29, 2007
  2. Andreas EricssonNov 30, 2007
  3. Replace the word 'update-cache' by 'update-index' everywhereJohannes Schindelin, Nov 30, 2007
  4. ChristophDec 8, 2007
  5. David KettlerDec 3, 2007
  6. ChristophDec 3, 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.