Delete a Revision (see also)

If you've been using QVCS for some time and your QVCS archives now store numerous revisions, you may decide that you no longer have any use for the older revisions and want to get rid of them so as to clean up your archive files. Conversely, you may just want to get rid of a single recent revision that you discover was not worth the change.

With QWin, you can delete revisions from a single file or from a set of files. You cannot delete revisions at the project level; you must select the files from which you want to delete revisions. Then, follow these steps to delete the desired revisions.

  • Select the File→Delete Revisions... menu command or right click the file and choose Delete Revisions... from the context menu. Doing so will bring up the following dialog:

    Delete Revisions Dialog

  • On the Delete Revisions dialog, there are three radio buttons that determine the criteria by which you wish to delete revisions: a date range, a range of revisions, or based on a label present in the file. Click the radio button for the appropriate criteria.
  • (a). For a Date Range type of delete, enter the starting date and ending date into the edit boxes, and click the OK button. If Qwin finds any revisions that satisfy the date range criteria, it will ask you to confirm their deletion before actually deleting the revisions. The date format is based on the short date format that you define with your Windows regional settings.

    (b). For a Revision Range delete, select the oldest revision from the drop down combo box, and then select the newest revision to delete. Qwin will ask you to confirm the deletion of any revisions that match the criteria you've selected. Note that the revision range criteria can only be used when deleting revisions from a single archive. It's disabled if you're trying to delete revisions from more than a single archive.

    (c). For a Delete by Label delete, select the label from the drop down combo box. You may (optionally) choose to keep some number of revisions older than the selected label. To do so, enable the "Keep this many?" check box, and enter the number of revisions that you want to keep that are older than the selected label. Qwin will ask you to confirm any deletions before actually deleting the revisions.

  • On the confirmation dialog, review the list of revisions that will be deleted and make sure that the listed revisions are the ones you want to delete! If there are any revisions that you don't wish to delete, click the "No" button, and refine your criteria. If you find the listed revisions to be the ones you want to get rid of, click the "Yes" button. The deleted revisions will be permanently removed from the QVCS archive(s).


See also: the corresponding qdelrev command line utility.