sponsor Vim development Vim logo Vim Book Ad

sccs-menu.vim : Adds a SCCS menu in GVim to acces SCCS functions.

 script karma  Rating 62/51, Downloaded by 3565  Comments, bugs, improvements  Vim wiki

created by
Pradeep Unde
 
script type
utility
 
description
Script to access most commonly used SCCS functions thr' vim. Allows to get the latest version, any required version of a file. You can check in/out the file, add the file in sccs, unedit the file, revert back the changes made. You can view diff of any 2 versions of the file, see the change log etc.
 
install details
Put the script in the plugin directory and that's all. Make sure that the "sccs" executable is in the PATH.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sccs-menu.vim 1.11 2002-08-22 6.0 Renaud Metrich Fixed SCCS status of files beginning with the same name.
ex: 'foo' and 'foo.c': Status of 'foo' was set to status of 'foo.c' if 'foo.c' was checked out (i.e. 'foo' was set to checked out).
sccs-menu.vim 1.10 2002-01-17 6.0 Pradeep Unde Now manu items are file state sensitive. That means they are enabled/disabled according to whether the file is checked in/out. Also added SCCS menu to the popup menu.
sccs-menu.vim 1.9 2002-01-15 6.0 Pradeep Unde 1. Now using :t for the file name
2. A small bug fix for Revert back menu item as suggested by Peter
3. Added "unedit" menu item
sccs-menu.vim 1.8 2001-08-23 6.0 Pradeep Unde 1. Now the script does not produce any temp files for diff.
2. Now using "sccs prt -y | awk" to get the SCCS version. Thanks to Will Fiveash.
3. Also added the script version in the header. (Again thanks to Will !)
sccs-menu.vim 1.7 2001-08-16 6.0 Pradeep Unde Fixed SCCS quirks white getting version of a file using "sccs what". Hopefully now we get the right text in the status line.
sccs-menu.vim 1.6 2001-08-15 6.0 Pradeep Unde Added diff for any 2 SCCS versions of the opened file. If u diff with current version, it splits the screen vertically with the opened file to show the diff.If u diff with 2 versions that are different from opened file, it splits the screen horizontally and show vertically split diff in upper window. Added better way to get the SCCS version to show in status line. Added silent execute wherever possible.
sccs-menu.vim 1.5 2001-08-10 6.0 Pradeep Unde Couple of fixes...
1. If no file opened....SCCS status was SCCS-SCCS-. Corrected this.
2. Shortcut <F6> for the sccs log did not work properly although the menu item was working properly.
sccs-menu.vim 1.4 2001-08-09 6.0 Pradeep Unde Updated the SCCSUpdateVersion function to use "sccs prt -y" to get the latest version of the opened file. This fixes a bug in the script. Also, this enables the script to find whether the file is there in SCCS or not. If the file in not in SCCS, now you will see "SCCS-Not in SCCS" entry in the statusline.
sccs-menu.vim 1.3 2001-08-08 6.0 Pradeep Unde 1. Added set laststatus=2 so that the user will always have a status line ro see the SCCS status (or version).
2. A small bug fix to get the SCCS version of the file.
sccs-menu.vim 1.2 2001-08-08 6.0 Pradeep Unde Added item in status line indicating the status of the file in SCCS.
1. If the file is checked in in SCCS, it shows the sccs-version of the file. It shows the version in the form SCCS-(version-no)
2. If the file has been checked out, it shows like SCCS-Checked out(Locked)
3. If the file does not exist in SCCS, it shows empty version like SCCS-
sccs-menu.vim 1.1 2001-08-02 6.0 Pradeep Unde Added (copied!) a function to load the log (or edit) history in a separate buffer so that it is convenient to read all the history in one shot.
sccs-menu.vim 1.0 2001-07-25 6.0 Pradeep Unde Initial upload
ip used for rating: 18.222.162.216

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github