RE: CVS e JAVA

2004-09-24 Thread Carter Thompson

Gleidson Sá Barreto,

I hope I've not lost the meaning of your question in the translation
but if I understand you correctly CVS will not care what development
languages you are using.  Your installation of CVS will only be 
dependent on the platform you intend to use to host your server. If
you use Unix or Linux you can download and use CVS from https://www.cvshome.org/
or if you intend to build a CVS repository on a Windows platform 
you can use CVSNT, http://www.cvsnt.com/cvspro/.

After you've downloaded and installed the software, create your repository
with cvs -d /path/to/repository init followed by an import of your JAVA or 
C++ source code.  cvs import -m initial import of source project vendor tag

Try to find a CVS book in your native language than you can start with it
will definitely make a difference.

-- Bad Translation - Tradução Má --

Eu espero I've não perdido o meaning de sua pergunta na tradução mas se eu 
o compreender corretamente CVS não se importará que línguas do desenvolvimento 
você está usando. Sua instalação de CVS será somente dependente da plataforma 
que você pretende se usar hospedar seu usuário. Se você usar Unix ou Linux que 
você pode download e usar CVS de https://www.cvshome.org/ ou se você pretender 
construir um repositório de CVS em uma plataforma de Windows você puder usar CVSNT, 
http://www.cvsnt.com/cvspro/. 

Depois que you've downloaded e instalou o software, críe seu repositório com os 
cvs -d /path/to/repositório init; seguido por uma importação de seu código 
de fonte de JAVA ou de C++. importação dos cvs  import -m initial de m do 
source project vendor tag Tente encontrar um livro de CVS em sua língua 
nativa do que você pode começar com ela fará definitivamente uma diferença.

Cheers,

Carter.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Gleidson Sá Barreto
 Sent: Friday, September 24, 2004 12:29 PM
 To: [EMAIL PROTECTED]
 Subject: CVS e JAVA
 
 
 Alguém poderia me informar sobre a integração de CVS
 com as plataformas de desenvolvimento de software JAVA
 e C++?
 
 
   
   
   
 ___
 Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita 
 diversão. Instale agora! http://br.download.yahoo.com/messenger/
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://lists.gnu.org/mailman/listinfo/info-cvs
 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


RE: CVS to Subversion

2004-09-23 Thread Carter Thompson


If you're having problems with Subversion try the Subversion
mailing list.  http://subversion.tigris.org/

The conversion you're attempting would be more appropriately
addressed there.

Carter.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Mario Scheer
 Sent: Thursday, September 23, 2004 4:51 AM
 To: [EMAIL PROTECTED]
 Subject: CVS to Subversion
 
 
 Hi, I have some troubles converting a CVS repository to a 
 Subversion repository. I'm using the tool cvs2svn.py. 
 (http://cvs2svn.tigris.org)
 
 I always get this error message:
 
 
 Unable to convert a path 
 'trunk/defaullt/rve/ap/tact/comp/data_reiseb|ro.zip'
 to internal encoding.
 Consider rerunning with (for example) '--encoding=latin1'
 
 I know that there is a | in the filename, because it's a 
 german symbol. I tried cp850, and UTF-8 as encodings, but it 
 doesnt work.
 
 Any ideas?
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://lists.gnu.org/mailman/listinfo/info-cvs
 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


cvs [log aborted]: unrecognized operation error

2004-06-23 Thread Carter Thompson

Hi,

I have a file that I'm getting an abort from cvs log on in my
repository.

$ cvs log
appspack/oracle/ig/modules/ar/install/sql/obtig_ar_filter_pb.sql
cvs [log aborted]: unrecognized operation '\x73' in
/export/cvs/prodops/appspack/oracle/ig/modules/ar/install/sql/obtig_ar_f
ilter_pb.sql,v

What's the best way to go about resolving this error?  I've tried to
find problems
directly with the RCS file itself but I've been unable to find anything
wrong with
it and I'm afraid that I'm missing something obvious.

Suggestions?

Carter.




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Replacing a branch tag.

2004-06-14 Thread Carter Thompson

I need to replace a branch tag. After experimenting a little with 
a test repository I think I have the answer, but before I go banging
around in the production repository I thought I'd run this by you
folks.  Does this look right?

cvs -q rtag -B -F -r original-branch-tag new-branch-tag module
cvs -q rtag -B -d original-branch-tag module

Aside from the usual, Why do you want to do this? and You'll lose
history warnings, is there anything I'm missing here?  

Thanks!

Carter.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Module weirdness.

2004-05-06 Thread Carter Thompson

I have some really strange problems with my repository.

I have the module adm with a subdirectory ui.  I also
have a module named ui.  Both are part of a module alias,
adm-suite.  That is,

== Modules ==
adm-suite   adm ui
adm adm
ui  ui

If I check out the adm-suite module I get the a ui directory
with the CVS/Repository file pointing to adm/ui.  What's 
going on here?  All updates in ui now change contents in adm/ui.
It almost acts like a symlink.

Thoughts?

Carter.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Merging from main to branch.

2004-04-21 Thread Carter Thompson

Hi all,

I've got a pretty simple question and I think I'm close to the
answer but I'm missing something.   I need to merge some code
I have on the mainline to a project branch.  That would be
easy using something like:

cvs update -j rev1 -j rev2 filename

But I need to move a large number of files into the branch and
using the previous command for every file would be prohibitive.

Using tags would be much easier, however I'm just not getting
what I need when playing around in my own sandbox.  If I tag
the directory install in the main line merge-from and I 
tag the branch merge-to shouldn't I be able to do something 
like this:

cvs co -r project-branch module
cvs update -j merge-from -j merge-to 

Shouldn't I end up with the install dir from the mainline in
the project branch?   Did I miss a step?

Thanks for any assistance.

Carter.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Moving a CVSNT Repository to Linux.

2004-04-13 Thread Carter Thompson

Hi All,

I'm going to help a friend move his CVSNT repository from Windows 2000
to Linux.  Knowing that we'd like to preserve the history and copy
all the RCS files to the new machine what problems can I expect,
including
line endings (LF,CR).  What's the best method of solving this problem?

Many thanks!

Carter.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Watch add failing

2004-04-12 Thread Carter Thompson

Hi All,

I checked the archives and Googled for cvs watch add server aborted
to find out if the problems I've been experiencing with cvs watches 
was known:

cvs watch add filename
cvs [server aborted]: unknown command: watch_add

I've found multiple reports that this is a known problem in older
releases of CVS, however no one has stated in which release it's
been fixed.  I tried querying the www.cvshome.org issue tracking
system without luck, does anyone know what release this has been
fixed in?  I'll likely upgrade to the latest stable version but 
I think my superiors would like to know in which release this 
was fixed (not entirely sure why).

Many thanks,

Carter.



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: Loginfo not failing commit.

2004-04-02 Thread Carter Thompson

Thanks, Mark.

I came to that conclusion last night.  Thanks for your
help.  

I hope this doesn't bite others that are using Karl Fogel's
Open Source Development with CVS book.  Although it's a 
fabulous resource for CVS the comment on failing the 
commit when using a script in loginfo could be better
explained.

Cheers,

Carter.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark D. Baushke
 Sent: Thursday, April 01, 2004 11:54 PM
 To: Carter Thompson
 Cc: [EMAIL PROTECTED]
 Subject: Re: Loginfo not failing commit. 
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Carter,
 
 By the time that loginfo is called, the commit has already 
 happened for at least one directory, so failing the remainder 
 of the directories will likely leave the repository in an 
 inconsistent state.
 
 
 Carter Thompson [EMAIL PROTECTED] writes:
 
  I have written a perl script to parse some log information 
 from CVS.  
  However, from Karl Fogel's book, Open Source Development 
 with CVS, he 
  states that any nonzero exit from a script/program run by 
 loginfo will 
  fail the commit.  Unfortunately, this appears not to be 
 true.  Would 
  someone be so kind as to verify this?  I'm running CVS 
 Server version 
  1.11.2 on solaris and my loginfo script and test perl script are 
  included below.  I'd really like to fail the commit if the 
 bug number 
  isn't included in the log message.
  
  
  #
  # loginfo
  #
  
  DEFAULT $CVSROOT/CVSROOT/obt-parse.pl
  
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  #
  # Perl script.
  #
  
  #!/usr/bin/perl -w
  #
  print test\n;
  exit 123;
  
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  
  Thanks for any assistance!
  
  Carter.
 
 If you want to fail a commit, you probably want to determine 
 that when the verifymsg script is run or when the commitinfo 
 script is run. A non-zero return from either of those scripts 
 will abort the commit such that none of the loginfo scripts 
 will be run.
 
   Good luck,
   -- Mark
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (FreeBSD)
 
 iD8DBQFAbRwJ3x41pRYZE/gRAumhAJ0QcflhcqFvEDCxOaL+MFhckkt37ACgkgTL
 a0lpjNV9Wg0YY+jTfg/jqrw=
 =kqyy
 -END PGP SIGNATURE-
 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Loginfo not failing commit.

2004-04-01 Thread Carter Thompson

Hi,

I have written a perl script to parse some log information from
CVS.  However, from Karl Fogel's book, Open Source Development 
with CVS, he states that any nonzero exit from a script/program 
run by loginfo will fail the commit.  Unfortunately, this appears
not to be true.  Would someone be so kind as to verify this?  I'm
running CVS Server version 1.11.2 on solaris and my loginfo script
and test perl script are included below.  I'd really like to fail
the commit if the bug number isn't included in the log message.


#
# loginfo
#

DEFAULT $CVSROOT/CVSROOT/obt-parse.pl

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# Perl script.
#

#!/usr/bin/perl -w
#
print test\n;
exit 123;

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Thanks for any assistance!

Carter.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: find out check in files in CVS

2004-03-12 Thread Carter Thompson

[replying to list in case others want to know this as well]

To get a list of files between two dates you can use rdiff.

Like so:

cvs rdiff -s -D 2004-03-01 -D 2004-03-10 module(s)

The -s option give you a single line with the file status of new,
changed or removed and a revision number.  You can then use a revision
number to get the information you want specifically from cvs log, like
so:

cvs log -N -rrevision file

This will provide you with the time, version, comment and user making
the change in one step.  You'll need to parse the output if you want
something easily readable. Oh, and I use the -N option to skip the
listing of tags which isn't that useful at this stage.

I've got all this scripted together so it's a one step operation.  You
should be able to do something similar pretty easily.

Best of luck.

Carter.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Ben Kial
 Sent: Wednesday, March 10, 2004 12:17 AM
 To: [EMAIL PROTECTED]
 Subject: find out check in files in CVS
 
 
 How can I generate a list of files that are checked in for a given
 time period (e.g. between Mar. 1 and Mar. 10) with the following
 information?
 
1. Check in time
2. Check in version
3. Check in comment
4. Check in user account
 
 I tried cvs log but it prints lots of information. Is there any tool
 that I can use to generate such report?
 
 Any help will be very much appreciated.
 
 
 Ben
 
 
 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs
 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Finding Branch Info

2003-10-24 Thread Carter Thompson

Greetings,

I just recently inherited a CVS repository that has been neglected
for quite some time.  While I'm in the process of coming back up to
speed with CVS (haven't used CVS in about 18 months), I need to recurse
the source tree and find what branches have been created.

Can one of you fine people point me in the right direction?  I'm assuming
a little Perl and cvs log might be what's required.

Many Thanks!

Carter.

--
Carter A. Thompson 
Senior Release Engineer
Dana Software Inc.
(408) 535-4343
[EMAIL PROTECTED]


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs