Home > How To > Document history

# Document History

April, 2005, Tomas Frydrych <tomasfrydrych@yahoo.co.uk>

## Introduction

Imagine you are working on a lengthy document over a prolonged period of time. It goes through various draft stages and rewrites, and sometimes you decide that an earlier version of the document was perhaps better, and want to revert to it. So you dig up your back up disk, and restore an earlier version from the back up -- you are a conscientious person who backs up regularly. But how often do you do your backups, and how long do you keep your back up files for? What if the changes you want to reverse were made today couple of hours ago, but you your last ba‎ckup you have is from last night? Sometimes it is desirable to be able to trace the development of a document without having to rely on back up files, and that is what AbiWord's history tracking is all about.

## Full History Mode

When AbiWord is working in a full history mode, it keeps track of all changes you make between individual saves, and allows you to restore any saved version of the document. The history information is kept inside the document itself, so there are no extra ‎(back up)‎ files needed for the restoration. ‎(The full history mode is really a special revision mode, with each save starting a new set of revisions.)‎

To enter into a full history mode, go to Tools, Document History and click Maintain Full History. If you wish to turn history tracking off, you again go to Tools, Document History and uncheck Maintain Full History. In this case you will be presented with a dialogue box requesting a confirmation; this is because if you choose to turn history tracking off, all the history information will be irreversibly purged from the document, and you will be no longer able to restore any earlier versions of it.

## Restoring Earlier Versions

To restore an earlier version of a document, you should first of all save the document. Then go to Tools, Document History and select Show History. AbiWord will present you with a dialogue listing the version information for the document. Choose the version of the document you want to restore and click Restore.

When restoring a document to earlier version, AbiWord will leave the original document unmodifed, and save the restored document under a new name. If your original document was called document.abw, and you asked to restore version 1, the restore document will be called something like document_version_1-1.abw, where the number before the dash indicates the version ‎(the number after the dash will vary; as a rule if document_version_1-1.abw already exists, it will not be overwritten, but rather AbiWord will create document_version_1-2.abw, etc.).

## Comparing Documents

In addition to restoring earlier versions, the Tools, Document History menu allows you to compare two documents using the Comapare Documents command. You will be presented with a list of opened documents that the current document can be compared to, and once you choose one, you will be given a brief information about the relationship between the two documents:

### Relationship

Indicates the relationship between the two documents; can be unrelated, equal, and syblings ‎(the latter means that the two documents started from the same original document, but were edited independently of each other)‎.

### Content, Format, Styles‎

These indicate whether the documents are identical with regards to content, format and style definitions ‎(NB: format is only tested if the documents are identical with regards to content)‎.

Top Page Tutorial How To Information Interface Plug-ins Problems Credits Index GNU FDL