Skip to content

SVN: Moving and renaming files, and preserving history #44

Open
@jetgeo

Description

XMI files are sometimes misplaced or erroneous named. Describe how to move and rename them, and at the same time preserving file history in SVN.

  1. Move package in EA (if needed, for instance to move from single package to “191xx All” structure
  2. Check out mother package in EA
  3. Remove from version control in EA
  4. Add to version control in EA, with correct xmi file name and path. A new file will be created.
  5. Check in package in EA
  6. Delete the new xmi-file in Explorer
  7. Commit in Explorer, to remove the new xmi file from SVN
  8. Do a SVN Copy and rename old xmi file to new name and path in Explorer https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-copy.html
  9. Get latest for package in EA

The old XMI file will now be in the correct folder, with the correct name, and with history preserved. And the package will be unchanged in EA.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions