CVS Plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

CVSBrowser 1.0.2 released

Post by *MayorA »

A new bug-fix version has been released:

CVSBrowser 1.0.2 , see at:

http://www.totalcmd.net/plugring/CVSBrowser.html
CVSBrowser WFX Plugin Author
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Thanks for the update. Works like a charm. It actually fixed another issue I just noticed :) I set the timeout to 30 seconds but still gave me the dialog after 10 seconds. That is all fixed :)

I would stay, it is stable :D
Registered user #92105
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

CVSBrowser 1.0.3 is now available at:


http://www.totalcmd.net/plugring/CVSBrowser.html


New features:
  • - CVS Status for local files
    - Login with password dialog
    - Open INIFile button in settings dialog
CVSBrowser WFX Plugin Author
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Hi Alex,

Can you add the version 1.03 again. There seems to be a problem with the link. The link from the frontpage of totalcmd.net doesn't seem to work because there is a space in the html file name. The link you provided to the direct page, there nothing downloads.

Regards,

RolandD
Registered user #92105
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2tbeu

Thanks, now I got the file ;)

2MayorA

Thanks for the update. I ran into a few problems. My old string no longer worked. So I added the same string again. This string does contain the password, still I am being asked for the password. This was working fine before. When I have two strings that are the same and I remove one, it removes both.
Registered user #92105
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

CVSBrowser 1.0.4 is now available at:


http://www.totalcmd.net/plugring/CVSBrowser.html


New features:
  • - CVSRoot List Modify Button in Settings Dialog
    - Open INI File with standard application
    - Hide File Details
Fixed Bugs:
  • - direct changes to INI File got overwritten
    - password login with dialog did not work properly
CVSBrowser WFX Plugin Author
ZeDMIN
Junior Member
Junior Member
Posts: 5
Joined: 2005-08-10, 14:19 UTC

Post by *ZeDMIN »

umm, two things:
1. you cannot change into directories with spaces in it.
2. there are no files?!? i can see all the directories but there are never files in it?

but a nice idea. i would appreciate it, if it would work. :)
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

1. you cannot change into directories with spaces in it.
I have to check this, I never encountered (CVS) directories with spaces so far... :roll:
2. there are no files?!? i can see all the directories but there are never files in it?
Yes, you should definitely see files in the directories.
Please check you local CVSBrowser.ini file (compare it with the template file provided in the installer).
Do you have a public CVS example, where it does not work ?
Or could you enable "Show CVS Trace Messages" in the "CVSBrowser Settings" and send me the output ?
CVSBrowser WFX Plugin Author
ZeDMIN
Junior Member
Junior Member
Posts: 5
Joined: 2005-08-10, 14:19 UTC

Post by *ZeDMIN »

i copied the template and just put in my pserver settings ... same result.
my CVS trace looks like following (i had to remove all server / project names cause its my companys CVS):

Code: Select all

CVS Checkout with command:
"C:\totalcmd\plugins\WFX\CVSBrowser\cvs.exe" -t -n -d:pserver:xxx@xxx:/usr/local/cvsroot checkout -R .

returned:

-> main loop with CVSROOT=:pserver:xxx@xxx:/usr/local/cvsroot
-> safe_location( where=(null) )
 -> Connecting to xxx(x.x.x.x):2401
S-> do_module (., Updating, , )
S-> do_module (., Updating, , )
cvs server: Updating .
cvs server: New directory `Project1' -- ignored
cvs server: New directory `Project2' -- ignored
cvs server: New directory `Project3' -- ignored
...
S-> fopen(/usr/local/cvsroot/CVSROOT/history,a)
S-> unlink_file(./CVS/Entries.Static)
cvs.exe checkout: dying gasps from xxx unexpected
-> Lock_Cleanup()
After entering the Project folder:

Code: Select all

CVS Checkout with command:
"C:\totalcmd\plugins\WFX\CVSBrowser\cvs.exe" -t -n -d:pserver:xxx@xxx:/usr/local/cvsroot checkout -R Project1

returned:

-> main loop with CVSROOT=:pserver:xxx@xxx:/usr/local/cvsroot
-> safe_location( where=(null) )
 -> Connecting to xxx(x.x.x.x):2401
S-> do_module (Project1, Updating, , )
S-> do_module (Project1, Updating, , )
cvs server: Updating Project1
S-> fopen(/usr/local/cvsroot/CVSROOT/history,a)
S-> unlink_file(./CVS/Entries.Static)
S-> RCS_checkout (/usr/local/cvsroot/Project1/.classpath,v, 1.61, , -ko, (function))
S-> server_register(.classpath, 1.61, , -ko, , , )
S-> Register(.classpath, 1.61, , -ko,  )
S-> RCS_checkout (/usr/local/cvsroot/Project1/.cvsignore,v, 1.4, , -ko, (function))
S-> server_register(.cvsignore, 1.4, , -ko, , , )
S-> Register(.cvsignore, 1.4, , -ko,  )
U Project1/.classpath
S-> RCS_checkout (/usr/local/cvsroot/Project1/.project,v, 1.4, , -ko, (function))
S-> server_register(.project, 1.4, , -ko, , , )
S-> Register(.project, 1.4, , -ko,  )
U Project1/.cvsignore
S-> RCS_checkout (/usr/local/cvsroot/Project1/.tomcatplugin,v, 1.2, , -kb, (function))
S-> server_register(.tomcatplugin, 1.2, , -kb, , , )
S-> Register(.tomcatplugin, 1.2, , -kb,  )
U Project1/.project
S-> RCS_checkout (/usr/local/cvsroot/Project1/CHANGELOG.xls,v, 1.3, , -kb, (function))
S-> server_register(CHANGELOG.xls, 1.3, , -kb, , , )
S-> Register(CHANGELOG.xls, 1.3, , -kb,  )
U Project1/.tomcatplugin
S-> RCS_checkout (/usr/local/cvsroot/Project1/CHANGELOG.xml,v, 1.106, , , (function))
S-> server_register(CHANGELOG.xml, 1.106, , , , , )
S-> Register(CHANGELOG.xml, 1.106, , ,  )
U Project1/CHANGELOG.xls
S-> RCS_checkout (/usr/local/cvsroot/Project1/RELEASE.txt,v, 1.54, , -ko, (function))
S-> server_register(RELEASE.txt, 1.54, , -ko, , , )
S-> Register(RELEASE.txt, 1.54, , -ko,  )
U Project1/CHANGELOG.xml
S-> RCS_checkout (/usr/local/cvsroot/Project1/build.number,v, 1.167, , -kb, (function))
S-> server_register(build.number, 1.167, , -kb, , , )
S-> Register(build.number, 1.167, , -kb,  )
U Project1/RELEASE.txt
S-> RCS_checkout (/usr/local/cvsroot/Project1/build.xml,v, 1.54, , -ko, (function))
S-> server_register(build.xml, 1.54, , -ko, , , )
S-> Register(build.xml, 1.54, , -ko,  )
U Project1/build.number
S-> RCS_checkout (/usr/local/cvsroot/Project1/changelog.dtd,v, 1.1, , -kb, (function))
S-> server_register(changelog.dtd, 1.1, , -kb, , , )
S-> Register(changelog.dtd, 1.1, , -kb,  )
U Project1/build.xml
S-> RCS_checkout (/usr/local/cvsroot/Project1/javadoc.xml,v, 1.1, , , (function))
S-> server_register(javadoc.xml, 1.1, , , , , )
S-> Register(javadoc.xml, 1.1, , ,  )
U Project1/changelog.dtd
U Project1/javadoc.xml
S-> unlink_file(.externalToolBuilders/CVS/Entries.Static)
cvs server: Updating Project1/.externalToolBuilders
cvs server: New directory `Project1/doc' -- ignored
cvs server: New directory `Project1/flash' -- ignored
...
cvs server: New directory `Project1/xslt' -- ignored
cvs.exe checkout: dying gasps from xxx unexpected
-> Lock_Cleanup()
as you can see, he definitely sees the files. but he doesn't display them. maybe it's because it is a private CVS and no public one?
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Hi ZeDMIN

I am really surprised...

Your traces look completely as expected.

All lines which start with "U ", as e.g.

Code: Select all

U Project1/changelog.dtd
should lead to a file in the Total Commander File List.

What of course has to match is the setting

Code: Select all

[CVSPatterns]
...
Pattern_CheckOut_NewFile="U "
in your INI file. but you already checked it.

Which version of Total Commander are you using and what operating system ?
(This plugin has only be tested on Win2K and WinXP).
CVSBrowser WFX Plugin Author
ZeDMIN
Junior Member
Junior Member
Posts: 5
Joined: 2005-08-10, 14:19 UTC

Post by *ZeDMIN »

lol, nevermind, seems like i didn't restart TC after installing the plugin. after restarting it, the plugin works as expected. :D
sorry, i really could have thought earlier about that.

so the only remaining issue are the folders (and files?) with spaces in it.
thanks. 8)
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

ZeDMIN > I have to agree with MayorA, I've never heard of spaces in a folder- or filename in CVS. (Then again - I'm no expert)

MayorA > I expect that we can just use the SF site for bugreports, featurerequests etc.? I made my first, tiny & unimportant featurerequest there. I didn't make a bugreport about the password thing, as I'm none too sure its not a local problem - it asks for password every time no matter definition in INI, and the password dialogue doesn't respond to Enter. Also it gives the error 'invalid password' even if one presses Cancel, and opens an 'empty folder' if password is wrong/missing/cancel. This is version 1.0.3, will test 1.0.4 later.

The links in the helpfile opens within the helpfile - maybe they're supposted to, but I'd like to make the suggestion that they open in a browser.

And if it's possible, I'd find it a good idea to link to the SF site from the totalcmd.net page.

This plugin rocks.
Translate your favorite Mozilla Extension ~ Your Language Is Important Too.
#tcmd on irc.freenode.net - the place to idle
ZeDMIN
Junior Member
Junior Member
Posts: 5
Joined: 2005-08-10, 14:19 UTC

Post by *ZeDMIN »

AlleyKat wrote:ZeDMIN > I have to agree with MayorA, I've never heard of spaces in a folder- or filename in CVS. (Then again - I'm no expert)
Well in my company there is. At least in the Project names (top CVS folder).

Another thing: Can you list all versions/branches of a project? Access to the CVS is nice, but if i could get access to earlier versions of a file it would be USEFUL (well, at least for me ;)).
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Thanks, great to see somebody is developing this! :D
How hard would it be to make it work with SVN (SubVersion) as well?
SVN is very similar to CVS, so I guess, it shouldn't be a great effort...
Post Reply