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

Post by *MayorA »

I have no experience with SubVersion at all.
Is it possible to use the standard CVS client to connect to a SVN server ?
What exactly does not work with the current version ?
CVSBrowser WFX Plugin Author
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

A new version of CVSBrowser has been released:

CVSBrowser 1.0.5

it is available at http://www.totalcmd.net/plugring/CVSBrowser_1.0.5.html


New Features:
  • - CVS Passwords in message boxes are not displayed in clear text anymore but hidden with ***.
    - Default button in the password dialog is "OK" now.
    - It is possible to configure the CVS.EXE to be used within the settings dialog.
    - It is also possible to define something like:

    Code: Select all

    CVSExe=cmd /c cvs.exe
    - It is possible to disable the initial Splash Screen during startup within the settings dialog.
    - Changes in the INI file or in the settings dialog are re-read every time the user changes into the CVSBrowser top-level directory.
    - It is possible now to create a local CVS file system repository directly from CVSBrowser.
    - It is now possible to define a logical name for each CVS Connection (Repository)
CVSBrowser WFX Plugin Author
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »

colon / semicolon bug :?:

In the INI file is used :[server-type]:[user]:[password]@[server]:[cvs-directory].
But in the directory panel is shown as ;[server-type];[user];[password]@[server];[cvs-directory]

When I use in the password semicolon, the connection string is badly parsed.
I try version 1.0.5.

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

Post by *MayorA »

Hi Henrich

Defining CVS Connect strings you should always use colons (as required by CVS), independently if added directly to the INI file or using the ADD dialog.
However, Windows does not allow to use colons in directory names, that is the reason why the colons are replaced by semicolons in the display of the directory panel.

As this is not very nice, Release 1.0.5 allows you to define alias names for the different connect strings.
CVSBrowser WFX Plugin Author
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »

Thanx MayorA.

Alliases works but without password in configuration file :(
Password contains semicolon.

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

Post by *MayorA »

A new version of CVSBrowser has been released:

CVSBrowser 1.1.0

it is available at http://www.totalcmd.net/plugring/CVSBrowser_1.0.5.html


New Features:

* "CHECKOUT, UPDATE, ADD, COMMIT" - Tracker ID 1254111
It is now possible to add new folders or files or to commit changed
files to a CVS repository.

* "Store Trace/Result Window Sizes" - Tracker ID 1283750
Window sizes of result and trace windows changed by the user
should be stored and applied the next time, the same window is
opened.

* "Show local CVS Status" - Tracker ID 1305896
The normal CVS status retrieves the current CVS status from the
repository.
Often the user only want's to see the local status (changed or
untouched). This is done by comparing the current file time stamp
with the timestamp stored in the CVS admin files during
check-out, which is much faster.

* "Starting without ini file causes many errors" - Tracker ID 1302520
During startup the INI file is initialized by a copy of the provided
template file, if it does not exist yet.

Please note that most of the new functionality is preliminary and should be used with caution.
CVSBrowser WFX Plugin Author
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »


Alliases works but without password in configuration file :(
Password contains semicolon.
In new version wokrs. Thanx :)
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

A new version of CVSBrowser has been released:

CVSBrowser 1.1.1

it is available at http://www.totalcmd.net/plugring/CVSBrowser_1.0.5.html


New Features:
  • "New Local File Browser Pane with CVS-Status Icons"
    New function "local Browser" allows to browse in local directories
    under CVS control and shows file/folder status with different icons.
  • Bug Fixing
Screenshot Image: http://www.totalcmd.net/files/CVSBrowserPlugin.jpg
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,

I think it is better to post my experiences/troubles here so more people will read it.

With trying to log in and trace enabled I get these errors:
CVS Login with command:
D:\Program Files\totalcmd\Plugins\WFX\CVSBrowser\cvs.exe -d:pserver:***:***@cvs.sourceforge.net:/cvsroot/phpgedview login

returned:

Logging in to :pserver:***@cvs.sourceforge.net:2401/cvsroot/phpgedview
cvs.exe [login aborted]: end of file from server (consult above messages if any)

CVS Login FAILED with command:
D:\Program Files\totalcmd\Plugins\WFX\CVSBrowser\cvs.exe -d:pserver:***:***@cvs.sourceforge.net:/cvsroot/phpgedview login

returned:

Logging in to :pserver:***@cvs.sourceforge.net:2401/cvsroot/phpgedview
cvs.exe [login aborted]: end of file from server (consult above messages if any)

So now and then I can login but most of the time I cannot :cry:

Is there anything you want me to look for? Can you write the trace messages also to a log file?

Regards,

RolandD
Registered user #92105
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Hi Roland

I was doing some research on this error message.
Even the trouble shooting section of the official CVS manual (http://ximbiot.com/cvs/manual/cvs-1.11.20/cvs_21.html) does not help much:
...
end of file from server (consult above messages if any)

The most common cause for this message is if you are using an external rsh program and it exited with an error. In this case the rsh program should have printed a message, which will appear before the above message. For more information on setting up a CVS client and server, see Remote repositories.
...
another quote (http://www.ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#cvs_.5Blogin_aborted.5D:_end_of_file_from_server_.28consult_above_messages_if_any.29):
cvs [login aborted]: end of file from server (consult above messages if any)

This is an extremely common error message, but is rarely CVS's problem. It occurs when the CVS client's underlying transport mechanism manages to connect to the CVS server but retrieves no data.

If you are encountering this problem, first consult CVS--Concurrent Versions System v1.12.12.1: Troubleshooting#Trouble making a connection to a CVS server, for instructions on how to verify that your underlying transport mechanism is set up correctly. Common problems include:

* inetd or xinetd not set up correctly.
* Rate limiting in inetd and xinetd.
* Number of users limited in inetd or xinetd.
* sshd not set up correctly.

There are a few rare combinations of CVS clients and servers which can cause this problem when the server is otherwise set up correctly. If you verify that your transport is set up correctly and you are still encountering this problem, try making sure you are running the most recent versions of the CVS client and server. If anything, upgrading the server should solve the problem.
The only thing you know for sure is that you have connection problems to the remote CVS server.

This could have different reasons (explanations I found while Googl'ing for this problem):
  • wrong CVSRoot string
  • your firewall settings block (temporarly) port 2401
  • heavy cvs server load (would explain why it does not always fail)
This problem is probably not related to CVSBrowser, in any case you could try to directly use cvs.exe at the command line or different CVS client to reproduce the error.

Currently it's not possible to write trace files with this plugin.
CVSBrowser WFX Plugin Author
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

A new version of CVSBrowser has been released:

CVSBrowser 1.1.2

it is available at http://www.totalcmd.net/plugring/CVSBrowser_1.0.5.html


New Features / Bug Fixes:
  • "Allow Commit, Add and Checkout from and to "local Browser""
    It's possible now to commit changes or add files/folders directly
    out of the "local Browser" pane. It's also possible to checkout or
    view such files.
  • ""local Browser" status error for certain files"
    Some files which have a name, which is also part of another file
    name in the same directory, showed a wrong CVS status.
  • "View of Repository File did not work anymore in R1.1.1"
    Pressing F3 or F4 to view a repository file, did not work anymore.
  • "Checkout deleted CVS admin files on local folder"
    Checking out of a file or folder could delete the CVS administration
    files in the local folder.
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,

Thanks for the update. With this release so far, there has been no issues of not connecting to CVS. Go figure ;)

Now I tried the local repository and have 1 problem and 1 remark. After adding a local repository, Windows Explorer opens with the files and folders of the location I just added. This only happens with "Create Local Filesystem repository".

My problem is that when I enter the local repository, only folders are shown not files. The actual server repository shows everything just fine.

When I want to do a "show CVS status" I get a timeout with the following message: rsh: can't establish connection. When I look at my repository configured in CVSBrowser, they are using pserver. Does that make a difference? Maybe I am doing something wrong what I have is this. Left panel my local files retrieved from CVS, right panel the show CVS status. Then I copy a local file into the right panel. That is when the error appears.

(Maybe I don't know how it works :?)
Registered user #92105
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Hi Roland

Windows Explorer opening the created folder is just a hidden feature I used for testing, I will probably remove it in the future (or ask for it).

The second point I did not really understand. The only files created using "Create Local Filesystem Repository" are the CVS administration files in the repository directory. If you use the CVSBrowser to look at this repository you will of course not see these admin files, you basically just see what a "cvs checkout" would return.

The third point (cvs errors while working with two panels using CVSBrowser) is a bug, which I will try to resolve for the next release. The problem is that both panels use the same resources, which are not completely protected.
CVSBrowser WFX Plugin Author
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

A new version of CVSBrowser has been released:

CVSBrowser 1.1.3

it is available at totalcmd.net.

New Features / Bug Fixes:
  • "Revision related view/open/diff functions"
    The new CVS log window implementation allows to select one or
    two revisions of a file to download for viewing, opening or
    comparing these revisions.
  • "Trace messages and CVS output to file"
    An option shall enable writing of trace messages to a trace file.
    An additional trace window shall allow to see the content of this
    file in real time.
  • Minor bug fixes
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,

Something interesting I found. The alias name is for example "My folder". It shows up as "My Folder". The alias name is "GDBI", now it shows up as "gdbi". No captial ;)

The trace to file is cool. Now I can easily copy my error ;)

Code: Select all

2005-10-13 11:14:57  CVS Login FAILED with command:                    
D:\Program Files\totalcmd\Plugins\WFX\CVSBrowser\cvs.exe
-d:pserver:roland-d:***@cvs.sourceforge.net:/cvsroot/phpgedview login 
and start directory:
D:\Program Files\totalcmd\Plugins\WFX\CVSBrowser
returned:
Logging in to :pserver:roland-d@cvs.sourceforge.net:2401/cvsroot/phpgedview
cvs.exe [login aborted]: connect to cvs.sourceforge.net(66.35.250.207):2401 failed: Connection refused
As you can see the connection is refused. Why? I don't know. As a test I tried it also on my laptop. The same problem. Firewall is allowing all traffic.

Is Sourceforge blocking CVSBrowser :evil: ?
Last edited by rolandd on 2005-10-13, 15:20 UTC, edited 1 time in total.
Registered user #92105
Post Reply