[Cvsshell-devel] CVS: cvsshell/src basic_cmds.py,1.21,1.22
Status: Beta
Brought to you by:
stefanheimann
From: Stefan H. <ste...@us...> - 2002-08-04 17:28:16
|
Update of /cvsroot/cvsshell/cvsshell/src In directory usw-pr-cvs1:/tmp/cvs-serv1520 Modified Files: basic_cmds.py Log Message: implemented show-unmodified command. Index: basic_cmds.py =================================================================== RCS file: /cvsroot/cvsshell/cvsshell/src/basic_cmds.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** basic_cmds.py 29 Jul 2002 17:29:10 -0000 1.21 --- basic_cmds.py 4 Aug 2002 17:28:13 -0000 1.22 *************** *** 108,111 **** --- 108,121 ---- + def showUnmodified(app, name, args): + """Specifies if unmodified files are included in the listing. + If this option is set to `on', unmodified files are included in the listing. + Otherwise, unmodified files are hidden.""" + oldVal = app.showUnmodified + app.showUnmodified = app.toggle(oldVal, args) + if oldVal != app.showUnmodified: + app.printListing() + + def refresh(app, name, args): """Refresh the current listing. |