Cronologia locale

La cronologia locale di un file viene conservata quando si crea o si modifica un file. Ogni volta che si modifica e si salva un file,  ne viene salvata una copia. Ciò permette all'utente, in un momento successivo, di effettuare un confronto tra lo stato corrente e lo stato precedente di un file, oppure di sostituire il file con uno stato precedente. Ogni stato presente nella cronologia locale viene identificato mediante la data e l'ora in cui è avvenuto il salvataggio del file.  

I progetti e le cartelle non dispongono di una cronologia locale.

Local History is displayed in the History View. La cronologia locale di un file del workbench dovrebbe avere il seguente aspetto:

Finestra Cronologia locale

To view the local history of a file, choose Team > Show Local History from the pop-up menu.  This will bring up the History view and populate it with the revisions of the selected file. You can open different revisions from the table (by using Open from the context menu or by double clicking on a revision), compare them against the latest revision or against a previous revisions (by using Compare With Revision from the context menu), and replace the current revision with the contents of a previous revisions (by using Get Contents from the context menu).

Note: Projects that are managed by CVS now have the local history revisions displayed alongside remote revisions. In order to see the local history for a CVS managed file, select the Team > Show History menu item and make sure that the History View is one of the modes capable of showing local history.

Barra degli strumenti

Aggiorna

Questo comando aggiorna il contenuto della vista, recuperando le ultime informazioni sulla cronologia per la risorsa dal server.

Collega con editor e selezione

When enabled, the view will display the history for the resource of the active editor or of the active selection.

Pin

When enabled will pin the view and its contents. Any new requests for history will open a new instance of the History View.

Raggruppa revisioni per data

When enabled, all history items will be sorted into one of the following date categories:

Comprime tutto

Will the view is in the Group by Date mode, Collapse All will collapse all of the date categories.

Modalità di confronto

When enabled, a double click (or a single click depending on your Open Mode strategy set in Preferences>General) will open a compare editor. When it is disabled, clicking on a revision will open that revision.

Menu di scelta rapida

From the context menu of the Local History view you can perform the following operations:

Apertura

This command will open the contents of the selected revision in a read only editor. (The editor used is the one that is registered as the default editor for the file type). Note: If the revision being opened is the current version of the file, then it will be opened in a regular editor.

Compare Current With Revision/Compare With Each Other

The compare command differs based on the number of revisions selected in the history view. For a single selection, Compare Current With Revision will the compare the current version of the resource with the selected revision. For two selections, Compare with Each Other will compare the selected revisions.

Ottieni contenuto

Questo comando caricherà i contenuti della revisione selezionata nella copia locale del file la cui cronologia è visualizzata nella vista.

Riferimenti correlati
CVS History view