Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Migrating project from CGD SVN repository

douglasjacobsen edited this page Apr 21, 2013 · 3 revisions

Before migrating a project, please review the typical project workflow and setup document.


As the history of the previous MPAS developer repository is not present in the new MPAS developer repository, migrating work takes a little bit of effort. The work flow for the process is pretty simple, and is detailed below. This example assumes the branch in both repositories is called feature, and the majority of it's contributions apply to framework.

  1. Merge frozen trunk (revision 2782) to the project branch in the SVN repository. (e.g. svn merge ^/trunk/mpas@2782)
  2. Create a fork of the MPAS developer repository. (e.g. MPAS)
  3. Clone the fork of the repository locally. (e.g. git clone [email protected]:username/MPAS.git)
  4. Create a branch in the local git repository to work on feature. (e.g. git checkout -b framework/feature develop)
  5. Export SVN branch on top of the git branch. (e.g. svn export path/to/svn/branch path/to/git/clone --force)
  6. Verify changes.
  7. Stage and commit branch. (e.g. git add . && git commit)
  8. Push branch to remote fork (if you want to share it). (e.g. git push origin framework/feature)
Clone this wiki locally