It's all about the answers!

Ask a question

What does SVN import option "reconcile any overlap&quot


Greg Pflaum (67913) | asked Apr 26 '11, 3:45 p.m.
Where can I get a detailed description of the SVN import option "Reconcile with existing: Reconcile any overlap between existing and imported files and folders"? The documentation just says it will "reconcile existing and imported files."

Thanks,
Greg

3 answers



permanent link
Michael Valenta (3.7k3) | answered Apr 27 '11, 9:34 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
It compares the current state of the target with the initial state being imported and adjust the changes in the first change set in order to make the state of the configuration match the state expected after the first change set being imported. It is useful for preserving the previous history of files but the resulting configuration is not any different then if you imported into an empty component.

permanent link
Greg Pflaum (67913) | answered Apr 27 '11, 10:43 a.m.
So, is it right that the reconcile option would have no effect in these cases?
    - In a workspace that has been used only for importing trunk, import trunk again from a newer SVN dump.
    - In a workspace based on a branch point baseline created during import of trunk, import that branch.

Would there be any reason (performance?) not to enable the option anyway, even when it isn't needed?

Also, I'm not clear on what would happen during an import with the reconcile option disabled, if there are changes in the target. For example: 1. import trunk, 2. edit files in the workspace, 3. import trunk again from a newer SVN dump. Are the changes from 2 & 3 merged? We shouldn't have that situation in our imports, since we are doing them into a workspace (and stream) used only for imports, but I want to have a better understanding of the importer.

Thank you,
Greg

permanent link
Michael Valenta (3.7k3) | answered Apr 27 '11, 11:24 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
When you are importing from a dump file, the importer will detect if there was a previous import or if you are importing a branch. If you say that you want to continue the import or import a branch, the reconcile bit is disabled by the importer regardless of what you indicated in the wizard.

The importer does not do any merging. If the reconcile option is on, it will overwrite. The main reason to turn off the reconcile is to ensure that you do not import something you didn't expect. That is, if you didn't expect reconciliation to be required, it may be better to have the import fail so you know you selected something wrong (e.g. the wrong starting revision or the wrong folder to import)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.