Author Topic: File History on large files  (Read 533 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1720
  • Hero Points: 170
  • Text
File History on large files
« on: August 09, 2017, 07:03:50 pm »
Great that File History can now efficiently save history for large files.

However, there is no quick way to get to old versions.

I've got a text file, about 20MB.
I edited it several times and saved - to create a backup history.
The last edit I deleted the majority of the file - leaving just 2KB.

Now, to restore the original I have to use BackupHistory.

BackupHistory always displays a side-by-side Diff.

A side-by-side Diff on a large file is *really slow*, taking about 48 seconds according to the Slick profiler.

The context menu in BackupHistory on the file versions currently has just 1 menu items, "Compare version X to version Y".

#1: It should also include a few extra items:
  • Open This version
  • Restore this version (overwriting the current file with this one)
  • View this version
This would allow me to get to old versions much quicker - especially when I do not need to see the diff at all.


#2: Also it should be possible to abort the diffing in BackupHistory -- If I clicked on a large file here I could be waiting for many minutes with no way to abort this thing.


#3: In BackupHistory, the top-left pane should show the file size along with the date - given that we can have large files now, the filesize is a big clue that accessing it may be really slow.

It can also be helpful when trying to find the version with a lot of changes.

#4: Nitpick: In BackupHistory, the top-left pane shows "Version", but in the top-right pane it shows "Revision".

Which is it, a version or a revision?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2290
  • Hero Points: 128
Re: File History on large files
« Reply #1 on: August 09, 2017, 07:10:07 pm »
I'm working on speeding this dialog up right now, and I'll see how many of these ideas I can incorporate.

Some of this is available in the Backup History tool window.

jporkkahtc

  • Senior Community Member
  • Posts: 1720
  • Hero Points: 170
  • Text
Re: File History on large files
« Reply #2 on: August 09, 2017, 07:19:34 pm »
Cool - I never looked at that toolwindow -- thanks.