1 / 19

Microsoft Visual Source Safe 6.0

Microsoft Visual Source Safe (MVSS). Presented By: Rachel Espinoza. Microsoft Visual Source Safe 6.0. 1. Developer 1. Developer 2. Developer 3. Function A. Function B. Function C. Dependency. Dependency. Project. WHAT IS MS VISUAL SOURCESAFE 6.0?.

aradia
Download Presentation

Microsoft Visual Source Safe 6.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microsoft Visual Source Safe(MVSS) Presented By: Rachel Espinoza Microsoft Visual Source Safe 6.0 1

  2. Developer 1 Developer 2 Developer 3 Function A Function B Function C Dependency Dependency Project WHAT IS MS VISUAL SOURCESAFE 6.0? The version control system that enables you to manage your individual and team projects easier than ever before! Microsoft Visual Source Safe 6.0 2

  3. VERSION CONTROL • Team coordination — making sure, by default, that only one person at a time is modifying a file. • Version tracking — archiving and tracking old versions of source code and other files, which can be retrieved for bug fixing and other purposes. Microsoft Visual Source Safe 6.0 3

  4. TRACKING VERSIONS OF FILES/PROJECTS • Version numbers: These are internal numbers maintained by VSS. The user has no control over these numbers. The version number is always a whole number and always increases. • Labels: These are user-defined strings that can be applied to any version of a project or file. A label is a free-form string of up to 31 characters. • Date/Time stamp: These tell when a file was last modified, or when a file was checked in. VSS supports both 12-hour format (with "a" or "p" suffix) and 24-hour format. Microsoft Visual Source Safe 6.0 4

  5. PURPOSE • Don’t want to lose or overwrite files! • Want to restore to an old version! • Have to merge changes with another developer! • Need to compare differences! • Need to find out who’s been messing with your code! • Have a shared component but it’s in several different places! Microsoft Visual Source Safe 6.0 5

  6. FEATURES • Project Oriented • Share files • Synchronize changes • Project history: view version info, comments, general details • Reverse Delta Storage: In VSS, the current version of a file is used as the baseline, and changes from the previous versions are saved.  • Restore past versions • Any Type Content • Source code • Application components • Web content • Documents Microsoft Visual Source Safe 6.0 6

  7. SOURCESAFE ADMINISTRATOR CONTD… • Administrator tasks: • Creating databases • Creating and maintaining user-lists • Set Default Security Rights: Read-Write, Read-Only • Enable Project-Security: Rights by Project, Rights by User, Copy user rights (Read, Check Out, Add, Destroy) • Other tasks: • Enabling / Disabling Exclusive / Multiple Checkouts • Archive / Restore/ Lock Databases • Creation of Web Projects • Creation of Shadow Folders Microsoft Visual Source Safe 6.0 7

  8. KEY SOURCESAFE COMPONENTS • All files are stored in a centralized database on the server • Any kind of files can be stored in SourceSafe: code, DLLs, graphics, documents, help files, icons, … • Files are stored in projects in the VSS database analogous to files stored in a windows folder. • Each user is provided with a local copy of the file to read or change in the user's working folder. Microsoft Visual Source Safe 6.0 8

  9. SOURCESAFE EXPLORER Microsoft Visual Source Safe 6.0 9

  10. FOUR KEY COMMANDS • Get: Gives a local copy of a file or project in the working folder (read-only) to view or to compile. • Check Out: Gives a local copy of a file or project, (writable) to edit. (*May or may not be exclusive!) • Check In: Copies edited file back into database making it available to other users. (Stores old versions with reverse deltas) • Undo Check Out: Cancels check out, voiding all the changes made. Microsoft Visual Source Safe 6.0 10

  11. OTHER IMPORTANT COMMANDS • Create Project: Creates a new project • Add Files: Adds files to a project • Delete: Deletes a file or project • Difference: Shows what changed in this file or project • Share: Copies files from other projects into the current project • History: Shows all the versions of this file or project Microsoft Visual Source Safe 6.0 11

  12. ADVANCED SOURCESAFE FEATURES • Sharing • Branching/Merging • Shadowing Microsoft Visual Source Safe 6.0 12

  13. SHARING $/A $/B 5 4 Foo.cpp 3 2 1 • Sharing is how you track reusable files. • Technically, sharing means that one file is in multiple projects at the same time • All updates are automatically propagated, since there is only one file • There is no “master project”: all sharing projects are peers Microsoft Visual Source Safe 6.0 13

  14. Release 1.0 Release 2.0 merge Release 1.1 (bugfix) BRANCHING • Branching a file breaks the shared link, making the file in that project independent of all other projects. • The changes made in the file are not reflected elsewhere, and vice versa. • Once a branch is created; two files (the file in the project, and its counterpart in other projects) have a shared history up to a certain point, and divergent histories after that time. Microsoft Visual Source Safe 6.0 14

  15. MERGING • Merging is the process of combining differences in two or more changed copies of a file into a single, new version of the file. • In VSS, a merge can occur in three different circumstances: when using multiple checkouts, when explicitly merging previously branched files, and when getting a file. • There are two methods that can be used for viewing and resolving merge conflicts: visualmerge and manual merge. Microsoft Visual Source Safe 6.0 15

  16. VISUAL MERGE Microsoft Visual Source Safe 6.0 16

  17. SHADOWING • Central, optional folder that contains current versions of all the files in a project.  • The shadow folder does not contain the master copy of a file or the local copy of a file.  • It provides a central location from which to view the overall structure of the project and serves as a convenient place to build or compile the project. Microsoft Visual Source Safe 6.0 17

  18. INTEGRATION INTO EDITING ENVIRONMENTS • Integration means you can execute SourceSafe commands directly inside your editing environment like VC++/VB. • SourceSafe commands are added to the application’s menus. • Developers can perform checkouts / checkins and other operations without leaving the development environment. • Some less commonly used commands still require the SourceSafe Explorer. Microsoft Visual Source Safe 6.0 18

  19. SUMMARY • Data are not lost in any case • Any type of file can be protected • Team productivity is increased • Version control is transparent Microsoft Visual Source Safe 6.0 19

More Related