Jump to content

Problems to get started with CvsWrapper + TortoiseCVS


rudi
 Share

Recommended Posts

Hello.

After getting several times advices here to start to use a version tracking system I installed TrotoiseCVS. The Explorer Extensions work as described, check in / out / ... change the file's icons as by the documentation. :D

2.) I installed the SciTe addon CvsWrapper to the autoit-scite. In the file

"%programfiles%/AutoIt3/SciTE/cvsWrapper/cvsWrapper.htm" there is an advice to ADD some lines to an file named "SciTEUser.properties". As such a file doesn't exist in the SciTe folder (recursively) I created it beside SciTE.properties in the folder %programfiles%\AutoIt3\SciTE\

When starting SciTe, the F12 key, CTRL+F12 and ALT+F12 don't do anything.

I tried out what happens when runnig %programfiles%\autoit3\scite\cvsWrapper\cvsWrapper.exe -- seems to do nothing?

What did I miss to integrate the CvsWrapper correctly into SciTe?

3.) Another question I've already found in the forum, just to prove it:

Q: howto use a "Difference Viewer" other than WinMerge?

A: CvsWrapper was exclusively coded for use with WinMerge.

I'd like to use BeyondCompare from ScooterSoftware (http://www.scootersoftware.com/) as it has VERY powerfull rules to define what is *NOT* important: e.g. <"#cs>to <#ce"> and <";"> to <EOL> are comments, Upper/Lowercase doesn't matter, trailing blanks don't matter, ....

So finally I have a success feeling: :) Tortoise CVS is running ... :D

...and some frustration: I can't make SciTe :D to use CVS :D

Have a nice weekend, Rudi.

Edit: Path typo corrected.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

SciteUser is edited via the SciTE Menu: Options/Open User options file.

The file is stored in the your user data directory , not the scite program directory.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hello Jos.

Thanks for pointing me to the file!

SciteUser is edited via the SciTE Menu: Options/Open User options file.

The file is stored in the your user data directory , not the scite program directory.

:D It's amazing again and again: As soon as I'm doing right, its working :) --- almost :D

Now after pressing F12 I get a cvsWrapper box to choose what to use: SVN or CVS. It tells, both are NOT installed. Clicking the orange boxes telling so ("Click to download") is doing nothing.

TortoiseCVS is installed -- should I have installed it to some certain path?

I choose these folders:

c:\programme\tortoiseCVS\ for the program itself.

and

c:\daten\CVSroot\ for the main repository,

I started a project in folder: C:\daten\autoit3\CVSroot\NotesDistribution\ and checked in the files. I did so using TortoiseCVS's Explorer Extensions, before you pointed me towards how to edit SciTeUser.Properties...

The CvsRoot structure looks like this now, as the files from my project are listed I assume TortoiseCVS is working ??

CODE
C:\daten\CVSroot\CVSROOT

C:\daten\CVSroot\NotesDistribution

C:\daten\CVSroot\content.txt

C:\daten\CVSroot\CVSROOT\Emptydir

C:\daten\CVSroot\CVSROOT\loginfo,v

C:\daten\CVSroot\CVSROOT\rcsinfo,v

C:\daten\CVSroot\CVSROOT\keywords,v

C:\daten\CVSroot\CVSROOT\.#verifymsg

C:\daten\CVSroot\CVSROOT\verifymsg,v

C:\daten\CVSroot\CVSROOT\.#commitinfo

C:\daten\CVSroot\CVSROOT\commitinfo,v

C:\daten\CVSroot\CVSROOT\taginfo,v

C:\daten\CVSroot\CVSROOT\checkoutlist,v

C:\daten\CVSroot\CVSROOT\.#cvswrappers

C:\daten\CVSroot\CVSROOT\cvswrappers,v

C:\daten\CVSroot\CVSROOT\notify,v

C:\daten\CVSroot\CVSROOT\modules,v

C:\daten\CVSroot\CVSROOT\modules2,v

C:\daten\CVSroot\CVSROOT\config,v

C:\daten\CVSroot\CVSROOT\.#precommand

C:\daten\CVSroot\CVSROOT\precommand,v

C:\daten\CVSroot\CVSROOT\.#postcommand

C:\daten\CVSroot\CVSROOT\postcommand,v

C:\daten\CVSroot\CVSROOT\.#premodule

C:\daten\CVSroot\CVSROOT\premodule,v

C:\daten\CVSroot\CVSROOT\.#postmodule

C:\daten\CVSroot\CVSROOT\postmodule,v

C:\daten\CVSroot\CVSROOT\.#historyinfo

C:\daten\CVSroot\CVSROOT\historyinfo,v

C:\daten\CVSroot\CVSROOT\cvsrc,v

C:\daten\CVSroot\CVSROOT\triggers,v

C:\daten\CVSroot\CVSROOT\commit_email,v

C:\daten\CVSroot\CVSROOT\.#tag_email

C:\daten\CVSroot\CVSROOT\tag_email,v

C:\daten\CVSroot\CVSROOT\notify_email,v

C:\daten\CVSroot\CVSROOT\shadow,v

C:\daten\CVSroot\CVSROOT\val-tags

C:\daten\CVSroot\CVSROOT\CVS

C:\daten\CVSroot\CVSROOT\.#modules

C:\daten\CVSroot\CVSROOT\modules

C:\daten\CVSroot\CVSROOT\.#loginfo

C:\daten\CVSroot\CVSROOT\loginfo

C:\daten\CVSroot\CVSROOT\.#rcsinfo

C:\daten\CVSroot\CVSROOT\rcsinfo

C:\daten\CVSroot\CVSROOT\.#keywords

C:\daten\CVSroot\CVSROOT\keywords

C:\daten\CVSroot\CVSROOT\verifymsg

C:\daten\CVSroot\CVSROOT\commitinfo

C:\daten\CVSroot\CVSROOT\.#taginfo

C:\daten\CVSroot\CVSROOT\taginfo

C:\daten\CVSroot\CVSROOT\checkoutlist

C:\daten\CVSroot\CVSROOT\.#checkoutlist

C:\daten\CVSroot\CVSROOT\cvswrappers

C:\daten\CVSroot\CVSROOT\.#notify

C:\daten\CVSroot\CVSROOT\notify

C:\daten\CVSroot\CVSROOT\.#modules2

C:\daten\CVSroot\CVSROOT\modules2

C:\daten\CVSroot\CVSROOT\.#config

C:\daten\CVSroot\CVSROOT\config

C:\daten\CVSroot\CVSROOT\precommand

C:\daten\CVSroot\CVSROOT\postcommand

C:\daten\CVSroot\CVSROOT\premodule

C:\daten\CVSroot\CVSROOT\postmodule

C:\daten\CVSroot\CVSROOT\historyinfo

C:\daten\CVSroot\CVSROOT\.#cvsrc

C:\daten\CVSroot\CVSROOT\cvsrc

C:\daten\CVSroot\CVSROOT\.#triggers

C:\daten\CVSroot\CVSROOT\triggers

C:\daten\CVSroot\CVSROOT\commit_email

C:\daten\CVSroot\CVSROOT\.#commit_email

C:\daten\CVSroot\CVSROOT\tag_email

C:\daten\CVSroot\CVSROOT\notify_email

C:\daten\CVSroot\CVSROOT\.#notify_email

C:\daten\CVSroot\CVSROOT\.#shadow

C:\daten\CVSroot\CVSROOT\shadow

C:\daten\CVSroot\CVSROOT\CVS\fileattr.xml

C:\daten\CVSroot\NotesDistribution\CVS

C:\daten\CVSroot\NotesDistribution\AI-NotesUp.au3,v

C:\daten\CVSroot\NotesDistribution\AI-NotesUP.ini,v

C:\daten\CVSroot\NotesDistribution\Infoscreen.txt,v

C:\daten\CVSroot\NotesDistribution\CVS\fileattr.xml

confused, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

cvsWrapper checks the registry for the cvs program directory or else prompts for it: RegRead("HKLM\Software\TortoiseCVS", "RootDir")

Not sure what your question is though. The repository directory is the place were you versions will be stored, but you just look in the directory where you source code is stored. the checked-in file should not have a changed Icon and you can see the version info with Right-Mouse-Click where you find several cvs options.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hi Jos.

cvsWrapper checks the registry for the cvs program directory or else prompts for it: RegRead("HKLM\Software\TortoiseCVS", "RootDir")

That registry value is set correctly...

Not sure what your question is though.

Why doesn't CVSWrapper recognize the installed TotoiseCVS? Even when I paste into the CVSRoot edit the path to it, the wrapper still doesn't like it.

So I was wondering if it might be required to install TortoiseCVS and/or the CVSRoot directory to certain paths (may be some relative paths to the SciTe program file dir...)

I attached two images to show what I get on my PC.

Regards, Rudi.

post-12537-1208043511_thumb.jpg

post-12537-1208043533_thumb.jpg

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Hello Jos.

Does the "c:\programme\tortoiseCVS\" directory contain program cvs.exe?

Respect! :D:D No, there isn't an cvs.exe

searching for this file shows it's sitting here: C:\Programme\CVSNT\cvs.exe

I was using Tortoise CVS Version 1.10.6 (German localization)

"About" tells:

CVS Client Version: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382

SSH Client Version: TortoisePlink: Release 0.60

IIRC I simply followed the setup's suggestions except for the location for CVSROOT.

The Explorer Extensions seem to work fine as far as I can see...

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

Hello Jos.

Respect! :D:D No, there isn't an cvs.exe

searching for this file shows it's sitting here: C:\Programme\CVSNT\cvs.exe

I was using Tortoise CVS Version 1.10.6 (German localization)

"About" tells:

CVS Client Version: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382

SSH Client Version: TortoisePlink: Release 0.60

IIRC I simply followed the setup's suggestions except for the location for CVSROOT.

The Explorer Extensions seem to work fine as far as I can see...

Regards, Rudi.

I have been using TortoiseSVN for a while now but thought that cvs.exe came with the TortoiseCVS.exe installer in the past.

So i just downloaded the latest version TortoiseCVS-1.10.6.exe and did a full install.

..and YES they have changed the setup. The cvs.exe is now located in the CVSNT (server) directory in stead of the TortoiseCVS directory.

Will have a look at cvsWrapper to change that.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Uploaded an updated version to the Beta directory. This checks the registry for the location of CVSNT and updates the directory to that when there is no cvs.exe present in the tortoisecvs directory.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hello Jos.

Uploaded an updated version to the Beta directory. This checks the registry for the location of CVSNT and updates the directory to that when there is no cvs.exe present in the tortoisecvs directory.

Now it's recognizing CVS, thanks.

Nice is the integrated link in the CVSWrapper to easyly get the 7-ZIP plugin!

I'm still facing problems using it, propably I didn't understand the concept so far:

How does the versioning work? When pressing F12 the currently edited file is transfered to the repository from SciTe, I can give a comment, but I cannot see any way to control version numbering?

Beside this, in the Explorer Extensions the entry "compile with options" has gone?

Hmm. I thought it might integrate somehow with the "compile with options" version thing... ??

Thanks for your help,

Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

I'm still facing problems using it, propably I didn't understand the concept so far:

How does the versioning work? When pressing F12 the currently edited file is transfered to the repository from SciTe, I can give a comment, but I cannot see any way to control version numbering?

The cvs internal version numbering is sequential. Just right-mouse-click on a file that is under CVS control and select CVS/History. CVS/Annotate will show all changes made on the lines with each version. CVS/Diff will show the difference between the latest CVS stored version and the current working version.

Beside this, in the Explorer Extensions the entry "compile with options" has gone?

Hmm. I thought it might integrate somehow with the "compile with options" version thing... ??

It was removed for a short while but is put back in the latest versions of SciTE4Autoit3.

There should be now be 3 options:

Compile script - this will just use AUT2EXE

Compile with AutoIt3Wrapper - this will run AUtoit3wrappper

Compile with Options - this will run AutoIt3Wrapper_GUI

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hi Jos.

[compile with options EE?]

It was removed for a short while but is put back in the latest versions of SciTE4Autoit3.

There should be now be 3 options:

1.) Compile script - this will just use AUT2EXE

2.) Compile with AutoIt3Wrapper - this will run AUtoit3wrappper

3.) Compile with Options - this will run AutoIt3Wrapper_GUI

OK. I uninstalled 3.2.11.5 beta, then 3.2.10.0: EE gone.

Installed again 3.2.10.0: 1.) + 3.) are back again.

Installed 3.2.11.5 beta: 3.) is gone.

Installed once more 3.2.10.0: Overwrite (otherwise I'd need to uninstall the beta first), 3.) is back again.

Installed Autoit-SciTe (fresh downloaded just right now) -- no change.

Installed the CVSWrapper (the beta one you've just changed today from this thread) -- no change.

The EE "Compile with Autoit3Wrapper" did never show up in this sequence :D

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

The EE "Compile with Autoit3Wrapper" did never show up in this sequence :D

You are right, But "Compile with Options" should be there.

The "Compile with Autoit3Wrapper" is something I have but is not set by the Installer at this moment.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hi Jos.

The "Compile with Autoit3Wrapper" is something I have but is not set by the Installer at this moment.

Could you pls post the Registry Key/Val to add this EE? What does it do exactly?

Thanks for your help, regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • Developers

Hi Jos.

Could you pls post the Registry Key/Val to add this EE? What does it do exactly?

Thanks for your help, regards, Rudi.

It does as it says: It will run AutoIt3Wrappper thus do all the extra bits and pieces AutoIt3Wrapper does when Compiling your script, depending on the specified Directives.

It looks the same as:"HKCR\AutoIt3Script\Shell\Compile with Options\Command" just change "AutoIt3Wrapper_GUI.exe" to "AutoIt3Wrapper.exe"

:D

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hi Jos.

It looks the same as:"HKCR\AutoIt3Script\Shell\Compile with Options\Command" just change "AutoIt3Wrapper_GUI.exe" to "AutoIt3Wrapper.exe"

Thanks, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

  • 1 month later...
  • Developers

I am not aware of any problem which I should fix.

You will have to give me all your specific information like what is where installed and what your exact issue is to figure out why things go wrong on your installation.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hi Jos,

I have the problem where CVSWrapper in SciTE is not seeing the CVS as installed.

It is about the fact that the "cvs.exe" does not reside in "c:\programme\tortoiseCVS\" but in "C:\Program Files\CVSNT" which results in this problem i guess ?

I have the following installed :

SciTE 1.74

cvsWrapper 1.2.5.1

TortoiseCVS 1.10.6

CVSNT 2.5.03

Thanks,

Sebas

Link to comment
Share on other sites

  • Developers

Could you first try to upgrade to the latest version of cvsWrapper available on the downloadpage.

Believe I did fix something in that area too since your release.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...