Chapter 7 Consolidating documents in the repository


Update and Branch modes

The Update mode is the default consolidation mode, and the Branch mode is the alternative to Update, these modes are mutually exclusive.

These modes are available in the following situations:

Update Mode Branch Mode
Document exists in current branch: it has already been consolidated Document does not exist in the current branch
Extracted version of document comes from the current branch or its base branch(es) Extracted version of document comes from the base branch of the current branch

When you select the Update or the Branch mode, you cannot modify the Folder, Name, and Version boxes.

Example




Case
Branch where the document was extracted
Current branch


Mode
1 Branch 1 Branch 1 You consolidate in Update mode to update V1
2 Branch 1 Branch 2 You consolidate in Branch mode to create the document version in the current branch
3 Branch 2 Branch 3 You consolidate in Branch mode to create the document version in the current branch
4 Branch 3 Branch 3 You consolidate in Update mode because the document version already exists in the current branch. You freeze previous version.
5 Branch 2 Branch 3 You consolidate in Update mode because the document version already exists in the current branch (V 2.1.1.1). You freeze previous version.

Document GUID

When you consolidate and extract a document, the repository uses the GUID (Global Unique ID) number of the document to identify it.

If you use the Save As command to create a copy of the document, the GUID is modified and the new document cannot be consolidated in Update mode.

If you use the Windows Explorer to copy the file or save the document in a backup format, the GUID is not modified, you can consolidate in Update mode.

The same situation occurs when you consolidate a document that does not exist in the local workspace, since it does not have a GUID, it is impossible to update it, PowerDesigner does not identify the document.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.