I'm working on moving an AccuRev v5.7 depot to Git and I'm leveraging a great open source tool named ac2git available on GitHub. I'm an experienced AccuRev user and fairly new to Git.
The AccuRev depot being migrated has hundreds of GBs of binary file history and all I care about is the source code history as well as the final promoted set of binaries (in order to provide binary compatibility with some legacy COM builds.)
From the GitHub documentation and personal experimentation I have been successful in migrating a much smaller sub-set of transactions leveraging the 'start-transaction' and 'end-transaction' configurable XML parameters. However, this does not do what I need. I want start-transaction to be '1' and the end-transaction to be 'now' with the specific omission of binary files in the promotes (aside from latest commit.)
I've researched some commands in Git and it is possible to purge certain files and re-write the history on a commit/push although this requires the 'ac2git.py' script to first pull hundreds of GBs of data to my local Git repository and I would also rather try to avoid this approach by omission of the binaries during the migration process.
I've tried using a .gitignore file on the local repository in which the migration is being run although binaries are still being pulled.
I'm hoping someone can provide one of the following:
A quick edit/hack to the Python script to omit the binaries. Perhaps from the original author or a contributor to the project since it is actively being maintained.
A Git expert who can recommend a better way to handle the removal of the binaries without having to re-create history.
An alternate approach that produces the desired result.