Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidparsson/svndump-remap-copyfrom-revisions

Modifies Node-copyfrom-revision to existing revisions in Subversion dumps
https://github.com/davidparsson/svndump-remap-copyfrom-revisions

Last synced: 16 days ago
JSON representation

Modifies Node-copyfrom-revision to existing revisions in Subversion dumps

Awesome Lists containing this project

README

        

Usage
-----

This script modifies filtered Subversion dump files by replacing `Node-copyfrom-rev` revisions that are not in the dump file with revisions that are.

If [`p4convert`](https://swarm.workshop.perforce.com/projects/perforce-software-p4convert/) logs
`From node is missing from dataset; skipping!` when importing a partial filtered Subversion repository into Perforce, copy/branch history may be lost. This script can fix this.

First generate your filtered Subversion dump file, then run it though the script:

./remap_copyfrom_revisions.py subversion_repo.dmp > remapped_subversion_repo.dmp

Finally import the resulting dump file into Perforce.

License
-------

[MIT](LICENSE)