Page 1 of 1

reverting files

Posted: Thu Oct 09, 2003 2:16 pm
by Drxenos
Is there a way to revert more than one file at a time (other than closing and reopening TextPad)? I find myself running between the lab and my desk, and making code changes in both places.

I have the "reload file" stuff turned off, because it is not reliable (although I believe it to be a network or Windows problem, not TextPad). So, after a time of testing and fixing code in the lab, and returning back to my desk, the only reliable way to ensure TextPad has all the current versions loaded is to close and open it (or change workspaces and back).

Is there a way to do a "revert all" (even selecting multiple files and having a revert in the context menu would be nice)?


Thanks!

DrX

Posted: Thu Oct 09, 2003 6:10 pm
by bbadmin
Only one file can be "reverted" at a time. Possible workarounds are:

1. Close and then reopen the workspace.

2. Enable the "Auto-reload" option, and pass the keyboard focus to another application, then back to TextPad, when you want it to check for changed files. (TextPad only receives automatic notification of changes to local files, but always checks whenever it is activated.)

Keith MacDonald
Helios Software Solutions

Posted: Thu Oct 09, 2003 9:11 pm
by Drxenos
bbadmin wrote: 2. Enable the "Auto-reload" option, and pass the keyboard focus to another application, then back to TextPad, when you want it to check for changed files. (TextPad only receives automatic notification of changes to local files, but always checks whenever it is activated.)
I'm not quite sure I understand. Are you saying that files in a network drive will always (only?) be checked for changes when TextPad regains the focus?

The main reason I had turned of the "auto-reload" is that when I checked files out of our configuration management, sometimes TextPad wouldn't "see" the change and update. Until I caught the behavior I would sometimes clobber other people's changes when I would check the files back in (since I was updating my old version). Now I just click "revert" after I check them out to ensure I have the latest. I believed it to be a "network thing."

Regards,

DrX