Re: listing all the modules

2004-05-06 Thread shalini . gautam

I have install cvsnt 2.0.4.1 version (latest stable) .In the documentation
it show we have a command   ' cvs ls' for listing all modules.But it's not
working on this release.Can u please update me which version i have to use
for this command.

Thanks  Regards,
Shalini Gautam



   

  Mark D. Baushke

  [EMAIL PROTECTED]To:   [EMAIL PROTECTED]   
   
  Sent by: cc:   [EMAIL PROTECTED] 
 
  [EMAIL PROTECTED]  Subject:  Re: listing all the modules 
  
   

   

  05/05/2004 09:17 

  PM   

   

   





-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] writes:

 Hi ,
 Using  checkout -d top . command we are able to check out the modules
as
 well as able to view the modules in a list.But we do not want to check
out
 the modules on our local machine,we only want a list of all the modules
 present on the server. Can you please tell us the exact command only for
 listing all the modules as this is required very urgently.

If the modules are all listed in your CVSROOT/modules file, then you may
use the command:

cvs checkout -c

If the modules have not all been listed in the CVSROOT/modules file,
then you may be interested in the new 'cvs rls' command that has just
been added to the feature branch of the cvshome.org version of cvs
(1.12.7.1). It will be in the cvs 1.12.8 release of cvs when that
version is released.

If you need a more stable release of cvs that already has the 'cvs list'
functionality, you may be interested in the latest release from
cvsnt.org which already has that functionality available.

 Enjoy!
 -- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAmQx83x41pRYZE/gRAuQDAJ4/5GQzzlZDGPzrGqRbgxAQUFe2ogCePOW4
pVt+9MGUeyIh4dVl3oMHU4g=
=Czp+
-END PGP SIGNATURE-






Whilst this email has been checked for all known viruses, recipients should undertake 
their own virus checking as Xansa will not accept any liability whatsoever.

This email and any files transmitted with it are confidential and protected by client 
privilege.  It is solely for the use of the intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.

Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
 Xansa, Registered Office: 420 Thames Valley Park Drive,
 Thames Valley Park, Reading, RG6 1PU, UK.
 Registered in England No.1000954.
 t  +44 (0)8702 416181
 w  www.xansa.com



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


CVS server under WIndows

2004-05-06 Thread Stephan Leiwering
Ni NG,

is there a server version vor CVS that runs under just standard Windows 2000
or XP ?
Just wodnering, if I would have to set up a linux box to run it.

TIA;

Stephan


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


Re: RES: Checking out only files NEWER than given date/revision

2004-05-06 Thread Alek Lapuc
Hi Marcelo.

The reason is simple. At the begining of the project we had some
sources and include files supplied out-of-the-box with a commercial
product. Than we done some customizations -- some files were added,
some were changed, some were untouched.

The main idea is to filter out the untouched files, so they are
separated from out-of-the-box ones.

The reason for this is that files out-of-the-box can be automatically
patched while patching the whole product with official patch. The
patch is prepared outside to our project. Our changes are not known to
the product vendor, and most propably would be corrupted during such a
patch. But having original and customized files separated, we can
apply the patch and merge it manually to our sources if needed.

Filtering out the untouched files is to keep the directory structure
as clean as possible (it is huge and messy already as an
out-of-the-box product).

Of course the whole thing can be done with Perl/Bash scripting (as I
mentioned), but I was hoping that there is a little automagic switch
in CVS.


Best regards,
Alek


Marcelo Carvalho Fernandes [EMAIL PROTECTED] wrote in message news:[EMAIL 
PROTECTED]...
 Alek,
 
 Why are you trying this ?
 
 --
 Marcelo Carvalho Fernandes
 Smart Tech Consulting
 www.smartech.com.br
 Tel:(55)21-2532-6335 
 
 
 
 
  -Mensagem original-
  De: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] nome de Alek
  Lapuc
  Enviada em: quarta-feira, 5 de maio de 2004 05:59
  Para: [EMAIL PROTECTED]
  Assunto: Checking out only files NEWER than given date/revision
  
  
  Hi all.
  
  I've got somehow unusual problem. I need to checkout from my
  repository files that have been modified _after_ some date or have
  revision number _greater_ than given. And no others.
  In other words I want to check out HEAD revision of the files that
  have been modified lately and I want to discard files that have been
  created upon module creation, but have not been modified during
  development.
  
  As far as documentation states I can checkout files modified _before_
  given date, but as some would say: It is _almost_ the thing I want to
  do.
  
  I've tried to search the web and archives of this list -- with no
  success. Either I cannot form a proper querry or no one had dealt with
  such a problem yet.
  
  Of course, I could manually delete unwanted items (bleeehh!...) or
  write a Perl/Bash script that will parse Entries file from CVS dir and
  delete apropriate contents. But I keep that in reserve.
  
  Thanks for any hints about that (or pointer to a place in the
  Web/group archive).
  
  Alek
  ___
  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


Re: listing all the modules

2004-05-06 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] writes:

 I have install cvsnt 2.0.4.1 version (latest stable) .In the
 documentation

Did you mean 2.0.41 ? That is the latest release as of 2004-04-21 and
should work fine.

 it show we have a command ' cvs ls' for listing all modules.But it's
 not working on this release.Can u please update me which version i
 have to use for this command.
 
 Thanks  Regards,
 Shalini Gautam

To the best of my understanding, it should work. Are you seeing the the
'ls' command being sent to the server when you use the CVS_CLIENT_LOG
and CVS_SERVER_LOG environment variables?

cvs -t ls -R

To be honest, I have not spent much time with the CvsNT release. You may
find better support via the addresses you will find on the cvsnt.org web
site.

Good luck,
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAmfEg3x41pRYZE/gRAloqAJ4jskyt1vPI42Sk3gXYD0UdzU4uxACdHBeL
hpvMP/npUkFkT/FOVQAQYSI=
=IVAS
-END PGP SIGNATURE-


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


Re: CVS server under WIndows

2004-05-06 Thread Spiro Trikaliotis
Hello Stephan,

* On Thu, May 06, 2004 at 08:54:33AM +0200 Stephan Leiwering wrote:

 is there a server version vor CVS that runs under just standard
 Windows 2000 or XP ?  Just wodnering, if I would have to set up a
 linux box to run it.

Have a look at
http://www.cvsnt.org/ (this is *not* the version of CVS which is subject
of this ML)

http://www.cygwin.com/

Anyway, I would not use a Windows version of the server if you intend to
use any non-Windows clients, that is, MAC, xBSD, Linux, Solaris, ... Any
non-Windows client has a case-sensitive file system, Windows has not.
This might result in arbitrary problems afterwards.

Best regards,
   Spiro.

-- 
Spiro R. Trikaliotis I'm subscribed to the mailing lists I'm posting,
http://www.trikaliotis.net/  so please refrain from Cc:ing me. Thank you.


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


Re: RES: Checking out only files NEWER than given date/revision

2004-05-06 Thread Andy Jones
I needed this too, for similar reasons. The best I was ever able to manage was the 
script thing.

I based my script around the output to 'cvs rdiff -s'  which will show which files 
have changed, plus the relevant version numbers.


intY has scanned this email for all known viruses (www.inty.com)



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


Re: RES: Checking out only files NEWER than given date/revision

2004-05-06 Thread Spiro Trikaliotis
Hello Alek,

* On Thu, May 06, 2004 at 12:16:54AM -0700 Alek Lapuc wrote:
 
 The reason for this is that files out-of-the-box can be automatically
 patched while patching the whole product with official patch. 

Did you import (cvs import) the vendor sources? In this case, check out
(cvs export) the vendor branch, apply the vendor's patches, reimport
the patches sources on the vendor branch (cvs import -I !).

After this, you can merge the vendor branch with your modifications. It
should work as you want (but: TEST IT OUT ON A COPY OF THE REPOSITORY
beforehand!)

HTH,
   Spiro.

-- 
Spiro R. Trikaliotis I'm subscribed to the mailing lists I'm posting,
http://www.trikaliotis.net/  so please refrain from Cc:ing me. Thank you.


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


Re: How does one rename a project under CVS?

2004-05-06 Thread Spiro Trikaliotis
Hello,

* On Wed, May 05, 2004 at 09:48:50PM + kj wrote:

 How does one rename an entire project under CVS?

Is this project listes as module in CVSROOT/modules? Then just rename it
in the file.

If it is not, just rename the directory in the repository.


In both cases, make sure there are not checked-out sandboxes available
(or create an alias in the CVSROOT/modules, such that both module names
can be accessed).

HTH,
   Spiro.

-- 
Spiro R. Trikaliotis I'm subscribed to the mailing lists I'm posting,
http://www.trikaliotis.net/  so please refrain from Cc:ing me. Thank you.


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


Re: How does one rename a project under CVS?

2004-05-06 Thread kj
In [EMAIL PROTECTED] Spiro Trikaliotis [EMAIL PROTECTED] writes:

Hello,

* On Wed, May 05, 2004 at 09:48:50PM + kj wrote:

 How does one rename an entire project under CVS?

Is this project listes as module in CVSROOT/modules? Then just rename it
in the file.

If it is not, just rename the directory in the repository.


In both cases, make sure there are not checked-out sandboxes available
(or create an alias in the CVSROOT/modules, such that both module names
can be accessed).

HTH,
   Spiro.


Thanks!


-- 
NOTE: In my address everything before the period is backwards.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


listing of all the modules in JCVS

2004-05-06 Thread shalini . gautam
Can you please tell us the command for listing all the modules from server
repository in JCVS and also let us know the latest release of JCVS in which
that command work as we need this urgently.

Looking forward for your reply.

Thanks  Regards,
Shalini Gautam




Whilst this email has been checked for all known viruses, recipients should undertake 
their own virus checking as Xansa will not accept any liability whatsoever.

This email and any files transmitted with it are confidential and protected by client 
privilege.  It is solely for the use of the intended recipient.
Please delete it and notify the sender if you have received it in
error. Unauthorised use is prohibited.

Any opinions expressed in this email are those of the individual and not
necessarily the organisation.
 Xansa, Registered Office: 420 Thames Valley Park Drive,
 Thames Valley Park, Reading, RG6 1PU, UK.
 Registered in England No.1000954.
 t  +44 (0)8702 416181
 w  www.xansa.com



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


RES: Process for moving CVS Repository from 1 unix server to another.

2004-05-06 Thread Marcelo Carvalho Fernandes
Viraj,

Try just move your modules directories from under one $CVSROOT to the other.

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de Purang
 Viraj
 Enviada em: quarta-feira, 5 de maio de 2004 22:21
 Para: [EMAIL PROTECTED]
 Assunto: Process for moving CVS Repository from 1 unix server to
 another.


 Hi,
I am new to the administration aspect of CVS.

 Can someone list out the exact process (if possible
 with Caveats) of moving a CVS repository from server A
 to server B. Cederqvist and loria sites are very thin
 on documentation regarding a repository move.

 Regards,]
 Viraj Purang




 __
 Do you Yahoo!?
 Win a $20,000 Career Makeover at Yahoo! HotJobs
 http://hotjobs.sweepstakes.yahoo.com/careermakeover


 ___
 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


Re: CVS Beginner

2004-05-06 Thread Karl-König Königsson
Wendi Turner wrote:
 Just curious, does anyone have a good website link for getting 
started with WinCVS?

I tried to google for wincvs beginners (hint, hint) and it came up 
with this:

http://www.wincvs.org/winhtml/wincvs11.htm
There is also a mailing list for questions like yours (that has to do 
with a client, rather than the server). You can join it here:

http://groups.yahoo.com/subscribe/cvsgui
Cheers!
Karl-Koenig Koenigsson
--
Karl-Koenig Koenigsson, CM Pablo
Black holes are where god divided by 0.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RES: listing all the modules

2004-05-06 Thread Marcelo Carvalho Fernandes
Mark,

I use WinCVS (Windows and CVS (Linux). These enviroment variables
(CVS_CLIENT_LOG and CVS_SERVER_LOG) are to be created on the server machine
?
What values do I have to set up for them ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de Mark D.
 Baushke
 Enviada em: quinta-feira, 6 de maio de 2004 05:03
 Para: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Assunto: Re: listing all the modules


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 [EMAIL PROTECTED] writes:

  I have install cvsnt 2.0.4.1 version (latest stable) .In the
  documentation

 Did you mean 2.0.41 ? That is the latest release as of 2004-04-21 and
 should work fine.

  it show we have a command ' cvs ls' for listing all modules.But it's
  not working on this release.Can u please update me which version i
  have to use for this command.
 
  Thanks  Regards,
  Shalini Gautam

 To the best of my understanding, it should work. Are you seeing the the
 'ls' command being sent to the server when you use the CVS_CLIENT_LOG
 and CVS_SERVER_LOG environment variables?

   cvs -t ls -R

 To be honest, I have not spent much time with the CvsNT release. You may
 find better support via the addresses you will find on the cvsnt.org web
 site.

   Good luck,
   -- Mark
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (FreeBSD)

 iD8DBQFAmfEg3x41pRYZE/gRAloqAJ4jskyt1vPI42Sk3gXYD0UdzU4uxACdHBeL
 hpvMP/npUkFkT/FOVQAQYSI=
 =IVAS
 -END PGP SIGNATURE-


 ___
 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


RE: Does log just give info about files that are on my local mach ine?

2004-05-06 Thread Jim.Hyslop
Aditya Gandhi wrote:
 I have setup my CVS client (WinCVS) to access the CVS repository. I
 started by checking out a module.. but while this was 
 happening I force
 aborted the process of checkout. Then I tried to use the cvs 
 log command
 at a folder level to get history of all files that belong to 
 that folder
 in CVS.. but all that it showed to me was history of those files that
 had been checked out on my machine.
 Is that what is expected?
Yes. Most CVS commands will work only against the file that you have checked
out.

 How can I work around this?
Have you tried rlog?

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)


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


RE: Does log just give info about files that are on my local machine?

2004-05-06 Thread Aditya Gandhi
Thanks for your response Jim

I had tried rlog on my client... but that gave me even stranger
results... for rlog I get a blank response from my server.. i.e. not
even showing me info for files checked out on my machine. (this is
happening even if I run the command on a repository that I have checked
out completely)

Regards



- Aditya Gandhi
  -Original Message-
  From: Jim.Hyslop [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 06, 2004 7:09 PM
  To: Aditya Gandhi; [EMAIL PROTECTED]
  Subject: RE: Does log just give info about files that are on my local
  machine?
  
  Aditya Gandhi wrote:
   I have setup my CVS client (WinCVS) to access the CVS repository. I
   started by checking out a module.. but while this was
   happening I force
   aborted the process of checkout. Then I tried to use the cvs
   log command
   at a folder level to get history of all files that belong to
   that folder
   in CVS.. but all that it showed to me was history of those files
that
   had been checked out on my machine.
   Is that what is expected?
  Yes. Most CVS commands will work only against the file that you have
  checked
  out.
  
   How can I work around this?
  Have you tried rlog?
  
  --
  Jim Hyslop
  Senior Software Designer
  Leitch Technology International Inc. (http://www.leitch.com)
  Columnist, C/C++ Users Journal (http://www.cuj.com/experts)


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


Personal CVS repository?

2004-05-06 Thread J Krugman




My company has decided to collaborate with an academic group on an
on-going open-source project.  I'll be the only programmer on this
project; moreover, my contribution will probably be pretty
self-contained (i.e. I don't expect that anyone but me will be
modifying the code that I write for this.)

For reasons that I'm not too clear on, my supervisor has instructed
me that he must review my code before each submission to the off-site
CVS repository, and he wants to do this once a week.  My only
problem with this is that, even when I am the only programmer in
a project, I prefer to keep a finer-grained version control than
is possible with weekly submissions to the repository.

It occurs to me, though, that maybe I could set up a personal
CVS repository off my home directory (although I'll readily admit
that I've never set up a CVS repository of *any* kind before); I
would use it for my fine-grain version control, while submitting
new, boss-approved stuff to the real off-site repository only
once a week...

My knowledge of CVS is very limited; I know a few commands, and I
never deviate from the most basic functionality.  This personal
repository idea is far more adventurous than anything I've done
with CVS before.  That said, I have not found CVS to be terribly
flexible in the past, which is probably more a reflection of my
ignorance, than of CVS, but still I have to ask, how feasible is
this personal repository strategy? And if it is feasible at all,
how should I carry it out so as to facilitate the weekly submissions
to the off-site repository?


Thanks!

jill

-- 
To  se^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.

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


RE: Does log just give info about files that are on my local machine?

2004-05-06 Thread Aditya Gandhi
Using that format for rlog is getting me futhur... 

Unfortunately the way our cvs works... (I do not know why) the
rcommand will only work if I give it the absolute path of the file/
folder on the repository... else it gives a lock error...

SO I need to figure that out and then try the command...

Will send out an update when I am able to try that.

Thanks

- Aditya Gandhi

  -Original Message-
  From: Jim.Hyslop [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 06, 2004 7:20 PM
  To: Aditya Gandhi; Jim.Hyslop; [EMAIL PROTECTED]
  Subject: RE: Does log just give info about files that are on my local
  machine?
  
  Aditya Gandhi wrote:
   I had tried rlog on my client... but that gave me even stranger
   results... for rlog I get a blank response from my server.. i.e. not
   even showing me info for files checked out on my machine. (this is
   happening even if I run the command on a repository that I
   have checked
   out completely)
  Did you specify the module name? I found that 'cvs rlog' will give no
  response, but 'cvs rlog cvs-test/jhyslop' produces a full log, as
  expected.
  
  --
  Jim Hyslop
  Senior Software Designer
  Leitch Technology International Inc. (http://www.leitch.com)
  Columnist, C/C++ Users Journal (http://www.cuj.com/experts)
  



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


Re: CVS server on windows

2004-05-06 Thread Karl-König Königsson
mls wrote:
Are there any alternatives to CVSNT for running a CVS server on windows
(NT W2k, w2kserver etc)?
Eg, is it possible to run CVS as a server in cygwin?
According to this thread:
http://www.cygwin.com/ml/cygwin/2004-02/msg00340.html
is it possible, though the poster seems to have mixed success: one 
machine working and one down.

Karl-Koenig Koenigsson
--
Karl-Koenig Koenigsson, CM Pablo
Black holes are where god divided by 0.
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Personal CVS repository?

2004-05-06 Thread Geoff Beier
Hi Jill,
It occurs to me, though, that maybe I could set up a personal
CVS repository off my home directory (although I'll readily admit
that I've never set up a CVS repository of *any* kind before); I
would use it for my fine-grain version control, while submitting
new, boss-approved stuff to the real off-site repository only
once a week...
This is very easy to do... it's one of the easiest ways to use CVS and 
is an excellent application of the tool. Here's a quick synopsis. For a 
detailed, friendly explanation, look here: 
http://cvsbook.red-bean.com/cvsbook.html

(This assumes you're using a command line client in a UNIX-like 
environment.)

If you want the repository to go in your home directory, start there. 
Assume your project is in a subdirectory called myproject:
1. mkdir mypersonalrepository
2. cvs -d $HOME/mypersonalrepository init
3. cd myproject
4. cvs -d $HOME/mypersonalrepository import -m initial import of 
myproject from myvendor myproject myvendor initial
5. cd ..
6. mv myproject myproject.original
7. cvs -d $HOME/mypersonalrepository co myproject

Check the contents of myproj and make sure all is well, then you can 
work with files inside just like it's any other repository. You can 
even access it remotely with no further configuration if you have ssh 
access to the machine with your repository... just set CVS_RSH=ssh and 
issue the command
cvs -d:ext:[EMAIL PROTECTED]:/path/to/mypersonalrepository co myproject

Look at the cvs book on red-bean.com and the manual on cvshome.org for 
a more verbose explanation of what's happening here and of some tagging 
operations that will help you manage your contributions.

HTH,
Geoff

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


RE: Does log just give info about files that are on my local mach ine?

2004-05-06 Thread Jim.Hyslop
Aditya Gandhi wrote:
 I had tried rlog on my client... but that gave me even stranger
 results... for rlog I get a blank response from my server.. i.e. not
 even showing me info for files checked out on my machine. (this is
 happening even if I run the command on a repository that I 
 have checked
 out completely)
Did you specify the module name? I found that 'cvs rlog' will give no
response, but 'cvs rlog cvs-test/jhyslop' produces a full log, as expected.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




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


RES: Does log just give info about files that are on my localmachine?

2004-05-06 Thread Marcelo Carvalho Fernandes
What about the -m, -n or -p options of cvs history command ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335 




 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de Aditya
 Gandhi
 Enviada em: quinta-feira, 6 de maio de 2004 10:56
 Para: Jim.Hyslop; [EMAIL PROTECTED]
 Assunto: RE: Does log just give info about files that are on my
 localmachine?
 
 
 Using that format for rlog is getting me futhur... 
 
 Unfortunately the way our cvs works... (I do not know why) the
 rcommand will only work if I give it the absolute path of the file/
 folder on the repository... else it gives a lock error...
 
 SO I need to figure that out and then try the command...
 
 Will send out an update when I am able to try that.
 
 Thanks
 
 - Aditya Gandhi
 
   -Original Message-
   From: Jim.Hyslop [mailto:[EMAIL PROTECTED]
   Sent: Thursday, May 06, 2004 7:20 PM
   To: Aditya Gandhi; Jim.Hyslop; [EMAIL PROTECTED]
   Subject: RE: Does log just give info about files that are on my local
   machine?
   
   Aditya Gandhi wrote:
I had tried rlog on my client... but that gave me even stranger
results... for rlog I get a blank response from my server.. i.e. not
even showing me info for files checked out on my machine. (this is
happening even if I run the command on a repository that I
have checked
out completely)
   Did you specify the module name? I found that 'cvs rlog' will give no
   response, but 'cvs rlog cvs-test/jhyslop' produces a full log, as
   expected.
   
   --
   Jim Hyslop
   Senior Software Designer
   Leitch Technology International Inc. (http://www.leitch.com)
   Columnist, C/C++ Users Journal (http://www.cuj.com/experts)
   
 
 
 
 ___
 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


RES: Problems tagging files using a macro

2004-05-06 Thread Marcelo Carvalho Fernandes
Same CVS versions ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: Fouts Christopher (IFNA MP) [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 6 de maio de 2004 11:37
 Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
 Assunto: RE: Problems tagging files using a macro


 No...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Marcelo Carvalho Fernandes
 Sent: Wednesday, May 05, 2004 5:06 PM
 To: [EMAIL PROTECTED]
 Subject: RES: Problems tagging files using a macro


 Sorry, lock.c isn't a file of proj module ?

 --
 Marcelo Carvalho Fernandes
 Smart Tech Consulting
 www.smartech.com.br
 Tel:(55)21-2532-6335




  -Mensagem original-
  De: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] nome de Fouts
  Christopher (IFNA MP) Enviada em: quarta-feira, 5 de maio de 2004
  17:31
  Para: [EMAIL PROTECTED]
  Assunto: RE: Problems tagging files using a macro
 
 
  Yes, that's why I'm scratching my head. The strcmp and strlen
  functions referred are apparently in CVS's source file lock.c.
 
  -chris
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Marcelo Carvalho Fernandes
  Sent: Wednesday, May 05, 2004 4:17 PM
  To: [EMAIL PROTECTED]
  Subject: RES: Problems tagging files using a macro
 
 
  :-) I saw calls to strlen and strncmp functions and thought there was
  more code.
 
  Both systems are same version of HPUX and same shell ?
 
  --
  Marcelo Carvalho Fernandes
  Smart Tech Consulting
  www.smartech.com.br
  Tel:(55)21-2532-6335
 
 
 
 
   -Mensagem original-
   De: Fouts Christopher (IFNA MP)
   [mailto:[EMAIL PROTECTED]
   Enviada em: quarta-feira, 5 de maio de 2004 11:13
   Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
   Assunto: RE: Problems tagging files using a macro
  
  
   That IS the script, one line, solely to tag files!
  
   -chris
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On
   Behalf Of Marcelo Carvalho Fernandes
   Sent: Tuesday, May 04, 2004 4:55 PM
   To: [EMAIL PROTECTED]
   Subject: RES: Problems tagging files using a macro
  
  
   Could you post more code of your script around cvs -d /cvsroot rtag
   -r b_branch BR`date +%E%m%d` proj line ?
  
   --
   Marcelo Carvalho Fernandes
   Smart Tech Consulting
   www.smartech.com.br
   Tel:(55)21-2532-6335
  
  
  
  
-Mensagem original-
De: Fouts Christopher (IFNA MP)
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 4 de maio de 2004 17:49
Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
Assunto: RE: Problems tagging files using a macro
   
   
Yes, it's a normal Unix (HPUX in my case) command line call.
Thanks...
   
-chris
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Marcelo Carvalho Fernandes
Sent: Tuesday, May 04, 2004 4:37 PM
To: [EMAIL PROTECTED]
Subject: RES: Problems tagging files using a macro
   
   
Chris,
   
date +%E%m%d alone works in both system1 and system2 ?
   
--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335
   
   
   
   
 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de
 Fouts Christopher (IFNA MP) Enviada em: segunda-feira, 3 de maio
 de 2004 18:38
 Para: [EMAIL PROTECTED]
 Assunto: RE: Problems tagging files using a macro


 I believe this is CVS-related rather than unix-related (per se)
 so here goes.

 I have an *.sh script owned by user1/group1 on system1 that does
 the following. File has rwxr-x--- permissions.

cvs -d /cvsroot rtag -r b_branch BR`date +%E%m%d` proj

 which tags the b_branch of proj with the day's date, e.g.,
 BR20040503 (those are back quotes around the date command). If
 user1 runs this command on system1, where the proj file
 physically reside, it runs.

 Enter user2/group1 (same group) on system2. /cvsroot directory
 of system1 is NFS-mounted on system2 (I didn't set this up) so

  system2:/cvsroot -- system1:/cvsroot

 Now when user2 executes the script, it gets

 Assertion failed: strncmp (repository, CVSroot_directory),
 strlen(CVSroot_directory)) == 0, file lock.c line 176 Abort

 We have CVS v1.10.8 (don't ask why not the latest, I did).

 Any clues???

 --
 Chris T Fouts


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

   
   
   

RES: listing all the modules

2004-05-06 Thread Marcelo Carvalho Fernandes
I mean server by CVS server, not WinCVS (the client), Ok ?

I set up CVS_CLIENT_LOG with value /tmp/xxx on /etc/profile on the machine I
have CVS 1.11.2.
Then I went to a windows machine with WinCVS, loged in on the server with
pserver, checkout etc.
The files /tmp/xxx.in and /tmp/xxx.out weren't created, even if I connected
through pserver logged locally on the server.

Ok ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: Jim.Hyslop [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 6 de maio de 2004 11:51
 Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
 Assunto: RE: listing all the modules


 Marcelo Carvalho Fernandes wrote:
  Since CVS_CLIENT_LOG is in CVS server documentation I think
  it's to be set
  on the server isn't it ?
 What server documentation are you referring to? The link I
 provided was to
 cvs documentation.

 --
 Jim Hyslop
 Senior Software Designer
 Leitch Technology International Inc. (http://www.leitch.com)
 Columnist, C/C++ Users Journal (http://www.cuj.com/experts)







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


RE: Error compiling cvs on OpenVMS Alpha

2004-05-06 Thread Martin . Evans
Sorry Michael,

The patch error text,

bash-2.03$ cd cvs-1.12.5
bash-2.03$ unzip vms_patch.zip
Archive:  vms_patch.zip
  inflating: vms/fnmatch.h
  inflating: vms/ppwd.h
  inflating: cvs.patch
bash-2.03$
bash-2.03$
bash-2.03$ patch -icvs.patch
  Looks like a unified context diff.
File to patch: cvs.patch
Hunk #1 failed at line 1.
1 out of 1 hunks failed: saving rejects to cvs.patch.rej
patch: Memory mapping error: Bad file number
bash-2.03$


-Original Message-
From: Lemke, Michael IZ/HZA-IOP [mailto:[EMAIL PROTECTED] 
Sent: 30 April 2004 11:40
To: Evans, Martin; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Error compiling cvs on OpenVMS Alpha


Hi Martin,

seems to me you didn't apply the patch correctly.  Specially for 
version string I see

Index: vms/config.h
===
RCS file: /cvs/ccvs/vms/config.h,v
retrieving revision 1.26
diff -u -r1.26 config.h
--- vms/config.h19 Mar 2003 21:13:31 -  1.26
+++ vms/config.h29 Apr 2004 17:38:13 -
@@ -1,6 +1,7 @@
 /* config.h - OpenVMS/AXP specific configuration
   June 1995 - [EMAIL PROTECTED] */

+#define PACKAGE_STRING Concurrent Versions System (CVS) 1.12.5
 /* We only want to build the client */
 #define CLIENT_SUPPORT 1
 #undef SERVER_SUPPORT
@@ -13,6 +14,12 @@
 #define __VMS_VER   0
 #endif

+#define HAVE_GETHOSTNAME 1
+#define HAVE_MALLOC 1
+#define HAVE_REALLOC 1
+
+#define CVS_LSTAT lstat
+
 /* VMS is case insensitive */
 /* #define FOLD_FN_CHAR(c) tolower(c) */



And I don't know how to use patch on VMS.  I don't even have it there.

Michael

 -Original Message-
 From: Martin.Evans
 Sent: Friday, April 30, 2004 11:41 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Error compiling cvs on OpenVMS Alpha
 
 
 Thanks Michael,
 
 I'm still getting
 
 snip
 
 (void) fputs (PACKAGE_STRING, stdout); ..^
 %CC-E-UNDECLARED, In this statement, PACKAGE_STRING is not declared.
 at line number 62 in file
 DISK$DISK25:[SYSMGR.SMMARTIN.CVS-1_12_5.SRC]VERSION.C;1
 
 /snip
 
 Have I applied the patch correctly?
 
 I downloaded 1.12.5, copied patch.zip into the directory,
 unzipped and ran,
 $patch cvs.patch, when prompted for File to patch: I 
 entered the patch
 name again, is this correct?
 
 Thanks in advance,
 
 Martin.
 
 -Original Message-
 From: Michael Lemke
 Sent: 29 April 2004 22:01
 To: Evans, Martin; [EMAIL PROTECTED]
 Subject: Re: Error compiling cvs on OpenVMS Alpha
 
 
 As promised, attached is a patch against tag cvs1-12-5 from the ccvs
 repository.
 It isn't pretty, just to get to work (with DEC C V5.7-004 on 
 OpenVMS Alpha 
 V7.2-1).
 I've always meant to clean it up and submit it but maybe now 
 someone else 
 can do it?
 
 It works as a client (pserver) on an ODS-2 disk.  It does
 checkouts on 
 ODS-5 I believe but
 it doesn't take advantage of the case preservation.  1.12.5 
 is pre the 
 latest case preserving
 changes.  Presumably the latest versions can be much better 
 here.  It also 
 doesn't deal well
 with filenames illegal on VMS like configure.h.in and it 
 likes to create 
 new versions on update
 (also in [.CVS]).
 
 Enjoy,
 Michael
 
 On Thu, 29 Apr 2004 16:43:31 +0200, Lemke, Michael  IZ/HZA-IOP wrote:
 
  I've got one working (1.12.oldish), client that is.  There
 is more to
  it than just fnmatch.h .  I'll have a look tonight.
 
  Michael
 
 
  -Original Message-
  From: Martin.Evans
  Sent: Thursday, April 29, 2004 3:28 PM
  To: [EMAIL PROTECTED]
  Subject: Error compiling cvs on OpenVMS Alpha
 
 
 
  Can anyone help me with VMS?
 
  I Have Compaq C V6.2-003 on OpenVMS Alpha V7.2-1
 
  CVS version 1.11.55
 
  fnmatch.h is not on my system so compile is complaining.
 
  Regards,
 
  Martin.
 
 
 
 
  
 --
  
  The information in this Internet email is confidential and may be 
  legally privileged. It is intended solely for the addressee. Access 
  to this Internet email by anyone else is unauthorised.
 
  If you are not the intended recipient, any disclosure, copying, 
  distribution or any action taken or omitted to be taken in
 reliance on
  it, is prohibited and may be unlawful. When addressed to
 our clients any
  opinions or advice contained in this Internet email are
 subject to the
  terms and conditions expressed in any applicable governing
 ING terms of
  business or client engagement letter.
 
  Authorised by the Dutch Central Bank and regulated by the Financial 
  Services Authority for the conduct of UK business.
 
  Visit us at www.ing.com
  
 --
  
 
 
 
 
 
 --
 Using M2, Opera's revolutionary e-mail client: 
 http://www.opera.com/m2/
 
 
 
 --
 
 The information in this Internet email is confidential and may be
 legally privileged. It is intended 

Re: Personal CVS repository?

2004-05-06 Thread Frederic Brehm
At 10:06 AM 5/6/2004, J Krugman wrote:
For reasons that I'm not too clear on, my supervisor has instructed
me that he must review my code before each submission to the off-site
CVS repository, and he wants to do this once a week.  My only
problem with this is that, even when I am the only programmer in
a project, I prefer to keep a finer-grained version control than
is possible with weekly submissions to the repository.
You didn't say what platform you are using: Windows or Unix(-like).
On unix, you can use RCS or SCCS. Either would work in this case. All 
unix-like systems that I know of come with either RCS or SCCS or both.

Good luck with that boss of yours.
Fred
___
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/

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


RE: listing all the modules

2004-05-06 Thread Jim.Hyslop
Marcelo Carvalho Fernandes wrote:
 Since CVS_CLIENT_LOG is in CVS server documentation I think 
 it's to be set
 on the server isn't it ?
What server documentation are you referring to? The link I provided was to
cvs documentation.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




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


RES: listing all the modules

2004-05-06 Thread Marcelo Carvalho Fernandes
Jim,

Since CVS_CLIENT_LOG is in CVS server documentation I think it's to be set
on the server isn't it ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: Jim.Hyslop [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 6 de maio de 2004 10:54
 Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
 Assunto: RE: listing all the modules


 Marcelo Carvalho Fernandes wrote:
  I use WinCVS (Windows and CVS (Linux). These enviroment variables
  (CVS_CLIENT_LOG and CVS_SERVER_LOG) are to be created on the
  server machine
  ?
  What values do I have to set up for them ?

 http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_19.html#SEC181

 CVS_SERVER_LOG is not used by GNU CVS. CVS_CLIENT_LOG is set on the client
 side, not the server.

 --
 Jim Hyslop
 Senior Software Designer
 Leitch Technology International Inc. (http://www.leitch.com)
 Columnist, C/C++ Users Journal (http://www.cuj.com/experts)







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


RE: Error compiling cvs on OpenVMS Alpha

2004-05-06 Thread Lemke, Michael IZ/HZA-IOP
Well, I don't know.  Usually patch doesn't ask for files to patch.
Not sure if what I sent you is a proper patch.  It is simply the
output of 
  cvs -q diff -u
Maybe you have to get rid of the first lines with question marks.
OTOH it shouldn't be too hard to change the files manually.

Michael

 -Original Message-
 From: Martin.Evans
 Sent: Thursday, May 06, 2004 3:33 PM
 Subject: RE: Error compiling cvs on OpenVMS Alpha
 
 
 
 Hi Michael,
 
 I've tried to patch the files on a solaris system this time 
 but I get errors
 from patch and it still fails to build on the vms side. Am I missing
 something here? Do I simply need to run patch -icvs.patch and enter
 cvs.pacth again when prompted.
 
 bash-2.03$ patch  -icvs.patch
   Looks like a unified context diff.
 File to patch:
 
 Thanks in advance,
 
 Martin.
 
 -Original Message-
 From: Lemke, Michael IZ/HZA-IOP Sent: 30 April 2004 11:40
 Subject: RE: Error compiling cvs on OpenVMS Alpha
 
 
 Hi Martin,
 
 seems to me you didn't apply the patch correctly.  Specially for 
 version string I see
 
 Index: vms/config.h
 ===
 RCS file: /cvs/ccvs/vms/config.h,v
 retrieving revision 1.26
 diff -u -r1.26 config.h
 --- vms/config.h19 Mar 2003 21:13:31 -  1.26
 +++ vms/config.h29 Apr 2004 17:38:13 -
 @@ -1,6 +1,7 @@
  /* config.h - OpenVMS/AXP specific configuration
June 1995 - [EMAIL PROTECTED] */
 
 +#define PACKAGE_STRING Concurrent Versions System (CVS) 1.12.5
  /* We only want to build the client */
  #define CLIENT_SUPPORT 1
  #undef SERVER_SUPPORT
 @@ -13,6 +14,12 @@
  #define __VMS_VER   0
  #endif
 
 +#define HAVE_GETHOSTNAME 1
 +#define HAVE_MALLOC 1
 +#define HAVE_REALLOC 1
 +
 +#define CVS_LSTAT lstat
 +
  /* VMS is case insensitive */
  /* #define FOLD_FN_CHAR(c) tolower(c) */
 
 
 
 And I don't know how to use patch on VMS.  I don't even have it there.
 
 Michael
 
  -Original Message-
  From: Martin.Evans
  Sent: Friday, April 30, 2004 11:41 AM
  To: [EMAIL PROTECTED]
  Subject: RE: Error compiling cvs on OpenVMS Alpha
  
  
  Thanks Michael,
  
  I'm still getting
  
  snip
  
  (void) fputs (PACKAGE_STRING, stdout); ..^
  %CC-E-UNDECLARED, In this statement, PACKAGE_STRING is 
 not declared.
  at line number 62 in file
  DISK$DISK25:[SYSMGR.SMMARTIN.CVS-1_12_5.SRC]VERSION.C;1
  
  /snip
  
  Have I applied the patch correctly?
  
  I downloaded 1.12.5, copied patch.zip into the directory,
  unzipped and ran,
  $patch cvs.patch, when prompted for File to patch: I 
  entered the patch
  name again, is this correct?
  
  Thanks in advance,
  
  Martin.
  
  -Original Message-
  From: Michael Lemke
  Sent: 29 April 2004 22:01
  To: Evans, Martin; [EMAIL PROTECTED]
  Subject: Re: Error compiling cvs on OpenVMS Alpha
  
  
  As promised, attached is a patch against tag cvs1-12-5 from the ccvs
  repository.
  It isn't pretty, just to get to work (with DEC C V5.7-004 on 
  OpenVMS Alpha 
  V7.2-1).
  I've always meant to clean it up and submit it but maybe now 
  someone else 
  can do it?
  
  It works as a client (pserver) on an ODS-2 disk.  It does
  checkouts on 
  ODS-5 I believe but
  it doesn't take advantage of the case preservation.  1.12.5 
  is pre the 
  latest case preserving
  changes.  Presumably the latest versions can be much better 
  here.  It also 
  doesn't deal well
  with filenames illegal on VMS like configure.h.in and it 
  likes to create 
  new versions on update
  (also in [.CVS]).
  
  Enjoy,
  Michael
  
  On Thu, 29 Apr 2004 16:43:31 +0200, Lemke, Michael  
 IZ/HZA-IOP wrote:
  
   I've got one working (1.12.oldish), client that is.  There
  is more to
   it than just fnmatch.h .  I'll have a look tonight.
  
   Michael
  
  
   -Original Message-
   From: Martin.Evans
   Sent: Thursday, April 29, 2004 3:28 PM
   To: [EMAIL PROTECTED]
   Subject: Error compiling cvs on OpenVMS Alpha
  
  
  
   Can anyone help me with VMS?
  
   I Have Compaq C V6.2-003 on OpenVMS Alpha V7.2-1
  
   CVS version 1.11.55
  
   fnmatch.h is not on my system so compile is complaining.
  
   Regards,
  
   Martin.
  
  
  
  
   
  
 --
   
   The information in this Internet email is confidential and may be 
   legally privileged. It is intended solely for the 
 addressee. Access 
   to this Internet email by anyone else is unauthorised.
  
   If you are not the intended recipient, any disclosure, copying, 
   distribution or any action taken or omitted to be taken in
  reliance on
   it, is prohibited and may be unlawful. When addressed to
  our clients any
   opinions or advice contained in this Internet email are
  subject to the
   terms and conditions expressed in any applicable governing
  ING terms of
   business or client engagement letter.
  
   Authorised by the Dutch Central Bank and regulated 

RES: CVS Java Client

2004-05-06 Thread Marcelo Carvalho Fernandes
Patrick,

Do you want java code or cvs commands ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335 




 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de Patrick
 Adewunmi
 Enviada em: quarta-feira, 5 de maio de 2004 20:19
 Para: [EMAIL PROTECTED]
 Assunto: CVS Java Client
 
 
 All,
 
 I am looking for a sample code to use for javacvs or jcvs whereby I
 can log into my cvs server and perform add, update, checkin and
 checkout from my java program. A Look at the javadoc provided with
 javacvs or jcvs does not have any sample code showing correct usage.
 Thank you for your help.
 
 Patrick
 ___
 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


Re: RES: listing all the modules

2004-05-06 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcelo Carvalho Fernandes [EMAIL PROTECTED] writes:

 Mark,
 
 I use WinCVS (Windows and CVS (Linux). These enviroment variables
 (CVS_CLIENT_LOG and CVS_SERVER_LOG) are to be created on the server machine

CVS_CLIENT_LOG would be set to the pathname of to a file on the client
machine and set on the client machine. CVS_SERVER_LOG would be to the
pathname of a file on the server machine.

 ?
 What values do I have to set up for them ?

Whatever makes sense to you. Possible values might be /tmp/mcf.client
for the former and /tmp/mcf.server for the latter.

You will see this as the basename for two files each the .in and .out

To start with it is probably easier to just set the CVS_CLIENT_LOG
environment variable to /tmp/mcf.client and run your command. It should
create files /tmp/mcf.client.in and /tmp/mcf.client.out which is a copy
of the transactions that have occured between the client and the server.

-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAmm733x41pRYZE/gRAp/3AJ0RyFHQsujoRsqnwEWmiOPZrsIcUACeNHqU
NrwE660urPBcfKKdnokt6MU=
=Nt+a
-END PGP SIGNATURE-


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


RE: Error compiling cvs on OpenVMS Alpha

2004-05-06 Thread Martin . Evans

Hi Michael,

I've tried to patch the files on a solaris system this time but I get errors
from patch and it still fails to build on the vms side. Am I missing
something here? Do I simply need to run patch -icvs.patch and enter
cvs.pacth again when prompted.

bash-2.03$ patch  -icvs.patch
  Looks like a unified context diff.
File to patch:

Thanks in advance,

Martin.

-Original Message-
From: Lemke, Michael IZ/HZA-IOP [mailto:[EMAIL PROTECTED] 
Sent: 30 April 2004 11:40
To: Evans, Martin; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Error compiling cvs on OpenVMS Alpha


Hi Martin,

seems to me you didn't apply the patch correctly.  Specially for 
version string I see

Index: vms/config.h
===
RCS file: /cvs/ccvs/vms/config.h,v
retrieving revision 1.26
diff -u -r1.26 config.h
--- vms/config.h19 Mar 2003 21:13:31 -  1.26
+++ vms/config.h29 Apr 2004 17:38:13 -
@@ -1,6 +1,7 @@
 /* config.h - OpenVMS/AXP specific configuration
   June 1995 - [EMAIL PROTECTED] */

+#define PACKAGE_STRING Concurrent Versions System (CVS) 1.12.5
 /* We only want to build the client */
 #define CLIENT_SUPPORT 1
 #undef SERVER_SUPPORT
@@ -13,6 +14,12 @@
 #define __VMS_VER   0
 #endif

+#define HAVE_GETHOSTNAME 1
+#define HAVE_MALLOC 1
+#define HAVE_REALLOC 1
+
+#define CVS_LSTAT lstat
+
 /* VMS is case insensitive */
 /* #define FOLD_FN_CHAR(c) tolower(c) */



And I don't know how to use patch on VMS.  I don't even have it there.

Michael

 -Original Message-
 From: Martin.Evans
 Sent: Friday, April 30, 2004 11:41 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Error compiling cvs on OpenVMS Alpha
 
 
 Thanks Michael,
 
 I'm still getting
 
 snip
 
 (void) fputs (PACKAGE_STRING, stdout); ..^
 %CC-E-UNDECLARED, In this statement, PACKAGE_STRING is not declared.
 at line number 62 in file
 DISK$DISK25:[SYSMGR.SMMARTIN.CVS-1_12_5.SRC]VERSION.C;1
 
 /snip
 
 Have I applied the patch correctly?
 
 I downloaded 1.12.5, copied patch.zip into the directory,
 unzipped and ran,
 $patch cvs.patch, when prompted for File to patch: I 
 entered the patch
 name again, is this correct?
 
 Thanks in advance,
 
 Martin.
 
 -Original Message-
 From: Michael Lemke
 Sent: 29 April 2004 22:01
 To: Evans, Martin; [EMAIL PROTECTED]
 Subject: Re: Error compiling cvs on OpenVMS Alpha
 
 
 As promised, attached is a patch against tag cvs1-12-5 from the ccvs
 repository.
 It isn't pretty, just to get to work (with DEC C V5.7-004 on 
 OpenVMS Alpha 
 V7.2-1).
 I've always meant to clean it up and submit it but maybe now 
 someone else 
 can do it?
 
 It works as a client (pserver) on an ODS-2 disk.  It does
 checkouts on 
 ODS-5 I believe but
 it doesn't take advantage of the case preservation.  1.12.5 
 is pre the 
 latest case preserving
 changes.  Presumably the latest versions can be much better 
 here.  It also 
 doesn't deal well
 with filenames illegal on VMS like configure.h.in and it 
 likes to create 
 new versions on update
 (also in [.CVS]).
 
 Enjoy,
 Michael
 
 On Thu, 29 Apr 2004 16:43:31 +0200, Lemke, Michael  IZ/HZA-IOP wrote:
 
  I've got one working (1.12.oldish), client that is.  There
 is more to
  it than just fnmatch.h .  I'll have a look tonight.
 
  Michael
 
 
  -Original Message-
  From: Martin.Evans
  Sent: Thursday, April 29, 2004 3:28 PM
  To: [EMAIL PROTECTED]
  Subject: Error compiling cvs on OpenVMS Alpha
 
 
 
  Can anyone help me with VMS?
 
  I Have Compaq C V6.2-003 on OpenVMS Alpha V7.2-1
 
  CVS version 1.11.55
 
  fnmatch.h is not on my system so compile is complaining.
 
  Regards,
 
  Martin.
 
 
 
 
  
 --
  
  The information in this Internet email is confidential and may be 
  legally privileged. It is intended solely for the addressee. Access 
  to this Internet email by anyone else is unauthorised.
 
  If you are not the intended recipient, any disclosure, copying, 
  distribution or any action taken or omitted to be taken in
 reliance on
  it, is prohibited and may be unlawful. When addressed to
 our clients any
  opinions or advice contained in this Internet email are
 subject to the
  terms and conditions expressed in any applicable governing
 ING terms of
  business or client engagement letter.
 
  Authorised by the Dutch Central Bank and regulated by the Financial 
  Services Authority for the conduct of UK business.
 
  Visit us at www.ing.com
  
 --
  
 
 
 
 
 
 --
 Using M2, Opera's revolutionary e-mail client: 
 http://www.opera.com/m2/
 
 
 
 --
 
 The information in this Internet email is confidential and may be
 legally privileged. It is intended solely for the addressee. Access 
 to this Internet email by anyone else is 

RE: Problems tagging files using a macro

2004-05-06 Thread Fouts Christopher (IFNA MP)
No...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Marcelo Carvalho Fernandes
Sent: Wednesday, May 05, 2004 5:06 PM
To: [EMAIL PROTECTED]
Subject: RES: Problems tagging files using a macro


Sorry, lock.c isn't a file of proj module ?

--
Marcelo Carvalho Fernandes
Smart Tech Consulting
www.smartech.com.br
Tel:(55)21-2532-6335




 -Mensagem original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] nome de Fouts 
 Christopher (IFNA MP) Enviada em: quarta-feira, 5 de maio de 2004 
 17:31
 Para: [EMAIL PROTECTED]
 Assunto: RE: Problems tagging files using a macro


 Yes, that's why I'm scratching my head. The strcmp and strlen 
 functions referred are apparently in CVS's source file lock.c.

 -chris

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Marcelo Carvalho Fernandes
 Sent: Wednesday, May 05, 2004 4:17 PM
 To: [EMAIL PROTECTED]
 Subject: RES: Problems tagging files using a macro


 :-) I saw calls to strlen and strncmp functions and thought there was 
 more code.

 Both systems are same version of HPUX and same shell ?

 --
 Marcelo Carvalho Fernandes
 Smart Tech Consulting
 www.smartech.com.br
 Tel:(55)21-2532-6335




  -Mensagem original-
  De: Fouts Christopher (IFNA MP) 
  [mailto:[EMAIL PROTECTED]
  Enviada em: quarta-feira, 5 de maio de 2004 11:13
  Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
  Assunto: RE: Problems tagging files using a macro
 
 
  That IS the script, one line, solely to tag files!
 
  -chris
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On 
  Behalf Of Marcelo Carvalho Fernandes
  Sent: Tuesday, May 04, 2004 4:55 PM
  To: [EMAIL PROTECTED]
  Subject: RES: Problems tagging files using a macro
 
 
  Could you post more code of your script around cvs -d /cvsroot rtag 
  -r b_branch BR`date +%E%m%d` proj line ?
 
  --
  Marcelo Carvalho Fernandes
  Smart Tech Consulting
  www.smartech.com.br
  Tel:(55)21-2532-6335
 
 
 
 
   -Mensagem original-
   De: Fouts Christopher (IFNA MP) 
   [mailto:[EMAIL PROTECTED]
   Enviada em: terça-feira, 4 de maio de 2004 17:49
   Para: 'Marcelo Carvalho Fernandes'; [EMAIL PROTECTED]
   Assunto: RE: Problems tagging files using a macro
  
  
   Yes, it's a normal Unix (HPUX in my case) command line call. 
   Thanks...
  
   -chris
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] 
   On Behalf Of Marcelo Carvalho Fernandes
   Sent: Tuesday, May 04, 2004 4:37 PM
   To: [EMAIL PROTECTED]
   Subject: RES: Problems tagging files using a macro
  
  
   Chris,
  
   date +%E%m%d alone works in both system1 and system2 ?
  
   --
   Marcelo Carvalho Fernandes
   Smart Tech Consulting
   www.smartech.com.br
   Tel:(55)21-2532-6335
  
  
  
  
-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de 
Fouts Christopher (IFNA MP) Enviada em: segunda-feira, 3 de maio 
de 2004 18:38
Para: [EMAIL PROTECTED]
Assunto: RE: Problems tagging files using a macro
   
   
I believe this is CVS-related rather than unix-related (per se) 
so here goes.
   
I have an *.sh script owned by user1/group1 on system1 that does 
the following. File has rwxr-x--- permissions.
   
 cvs -d /cvsroot rtag -r b_branch BR`date +%E%m%d` proj
   
which tags the b_branch of proj with the day's date, e.g., 
BR20040503 (those are back quotes around the date command). If 
user1 runs this command on system1, where the proj file 
physically reside, it runs.
   
Enter user2/group1 (same group) on system2. /cvsroot directory 
of system1 is NFS-mounted on system2 (I didn't set this up) so
   
 system2:/cvsroot -- system1:/cvsroot
   
Now when user2 executes the script, it gets
   
Assertion failed: strncmp (repository, CVSroot_directory),
strlen(CVSroot_directory)) == 0, file lock.c line 176 Abort
   
We have CVS v1.10.8 (don't ask why not the latest, I did).
   
Any clues???
   
--
Chris T Fouts
   
   
___
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
  
  
 
 
 
 
  ___
  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


 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 

RE: listing all the modules

2004-05-06 Thread Jim.Hyslop
Marcelo Carvalho Fernandes wrote:
 I set up CVS_CLIENT_LOG with value /tmp/xxx on /etc/profile 
 on the machine I
 have CVS 1.11.2.
 Then I went to a windows machine with WinCVS, loged in on the 
 server with
 pserver, checkout etc.
 The files /tmp/xxx.in and /tmp/xxx.out weren't created, even 
 if I connected
 through pserver logged locally on the server.
As I said, set the CVS_CLIENT_LOG environment variable on the *client*
machine.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




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


RE: listing all the modules

2004-05-06 Thread Jim.Hyslop
Marcelo Carvalho Fernandes wrote:
 I use WinCVS (Windows and CVS (Linux). These enviroment variables
 (CVS_CLIENT_LOG and CVS_SERVER_LOG) are to be created on the 
 server machine
 ?
 What values do I have to set up for them ?

http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_19.html#SEC181

CVS_SERVER_LOG is not used by GNU CVS. CVS_CLIENT_LOG is set on the client
side, not the server.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




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


RE: Personal CVS repository?

2004-05-06 Thread Jim.Hyslop
Geoff Beier wrote:
 This is very easy to do... it's one of the easiest ways to 
 use CVS and 
 is an excellent application of the tool. Here's a quick 
 synopsis.
However, it does not address the issue that Jill will be using the same
source file in two different repositories, with two different histories. You
haven't addressed how she should keep the two properly in sync.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




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


simple taginfo question

2004-05-06 Thread Phillip Rhodes
According to the CVS docs, the program for taginfo is passed 4+ arguments.
 What I am trying to understand is arg 4,5,etc.

I would understand if there were 2 arguments, arg 4 could be the previous
revision with the tag, while arg 5 is the revision that will be tagged.

Can anyone clarify what arg 4,5, etc are for taginfo?
Thanks!


From the docs:

arg 1:  tag name
arg 2:  operation (add = tag, mov = tag -F, del = tag -d)
arg 3:  repository
arg 4, 5, etc:  file revision [file revision ...]


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


RE: Personal CVS repository?

2004-05-06 Thread Jim.Hyslop
MKlinke wrote:
 In a simple single-authored project where she is trying to maintain a 
 much more fine grained control over her revisions that what the 
 official repository allows I'm not sure why she would even want to 
 sync the repositories?  It seems a simple comment in her personal 
 repository to the effect that At this point in development the code 
 was released to the official repository should suffice.
 
 (By snycing I'm assuming you mean make them identical in all 
 respects including cvs assigned revision levels at some point in 
 time )  
 
 Given the assumption above, why do you feel syncing is important 
 here?
Well, without any further input from Jill, we're both making assumptions
here. My assumption was that when she said:

 I'll be the only programmer on this
 project; moreover, my contribution will probably be pretty
 self-contained (i.e. I don't expect that anyone but me will be
 modifying the code that I write for this.)

I assumed she meant she would be the only programmer *at her company*
working on the project, but there could be other people from the open-source
project, who might make changes.

If Jill is the only person working on the code in any capacity, then a CVS
repository is overkill. The local, fine-grained control might be more easily
achieved by making a tarball (or Windows equivalent) when appropriate.

But if she's not, then the whole issue becomes more complex - she will have
to manage both her changes, and make sure to integrate the changes from the
main repository. This is what I meant by keeping the two in sync.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)



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


RE: Personal CVS repository?

2004-05-06 Thread Jim.Hyslop
In the oh, by the way category...

MKlinke wrote:
 (By snycing I'm assuming you mean make them identical in all 
 respects including cvs assigned revision levels at some point in 
 time )
No, I would never advocate trying to keep the CVS-assigned numbers in sync.
We should always treat those as magic numbers that we don't understand.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)



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


RE: Moving a branch???

2004-05-06 Thread Fouts Christopher (IFNA MP)
Well they worked for me (as typed).

-chris

-Original Message-
From: Jim.Hyslop [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 06, 2004 4:09 PM
To: Fouts Christopher (IFNA MP); [EMAIL PROTECTED]
Subject: RE: Moving a branch???


Fouts Christopher (IFNA MP) wrote:
 Are these the steps taken to move (not delete) a branch?
 
 I want to move b_branch1, say from HEAD to b_branchX of proj
 
cvs tag -F -B b_branch1 proj
cvs tag -d b_branch1 proj
cvs tag -r b_branchX -b b_branch1 proj
I'm a great fan of learning-by-doing. Why don't you experiment, on a test
repository that won't matter if you screw it up? If you don't have one,
simply create a $CVSROOT/cvs-test directory in your main repository.

When you find those commands don't do what you expect, you can experiment
until you find the right combination that does work ;-)

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com) Columnist,
C/C++ Users Journal (http://www.cuj.com/experts)




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.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


Urgent to fix -- problem in CVS running on Linux RedHat Advanced Server 2.1

2004-05-06 Thread Victor
Dear Sir,

I am working on installing the CVS 1.12.7 (have already tried the
1.11.1p1) on the Linux RedHat Advanced Server 2.1.

Everything setup all right (and I can used intellij to load the source
code into the CVS1.12.7 repository, the real problem is in checking
out the source from the CVS and I get the read lock failure message):
I follow the steps bellow:

To get it simple, I used the root user to set this up:

0. Create a group called cvs and a user call victors and put the
user victors into the cvs group.
1. Installed the CVS successfully.
2. Created a new repository root succcessfully: /cvs1.12.7 and changed
the group ownership recursively right under the cvs1.12.7 root
directory to the cvs group, and then also right under the /cvs1.12.7
directory, I ran this: chmod ug+rwx . CVSROOT
3. Then I registered the cvspserver as a service, updated the
xinetd.conf accordingly, updated and restared the xinetd successfully.

And finally I can use the nmpa localhost | grep 2401 and I can see the
xinetd is running.

Now I login using my id say victors and I am at my home directory,
and I used the following command:

cvs -d :local:/cvs1.12.7 co CVSROOT

However, it shows me the following error:

cvs checkout: Updating CVSROOT
cvs checkout: cannot create read lock in repository
`/cvs1.12.7/CVSROOT': No such file or directory
cvs [checkout aborted]: read lock failed - giving up

Please know that this problem should not be related to the permission
setting because of the following reasons:

1. As you can see from the above there is NO permission error showing
2. I have double checked the permission setting on the directories in
the CVS ropository and they are all right, and I even used the root
user to try and it comes out with the same error message.

I have done a lot of research regarding this problem on the internet
and found no help and all of the similar problems are related to their
incorrect permission setting...But in my case there is no problem with
the permission setting.

I am now wondering whether this is the bug in CVS or there is the bug
on the RedHat Advanced Server 2.1, however I believe this looks more
likely a bug on the CVS rather than on the O/S.

As I need URGENTLY to finish the setup in order to let the development
activities to proceed smoothly, it would be EXTREMELY HIGHLY
appreciated if anyone could provide the help on this regard!!!

Thank you very much in advanced!!


Best Regards,
Victor
([EMAIL PROTECTED])
___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Personal CVS repository?

2004-05-06 Thread Steve deRosier
In her place, what I would do is:
1. Keep two local workspaces.  One is the checkout from the remote repository, the other is the checkout from the local personal repository.
2. Do all my work in the local one, checking in as necessary.
3. When I release to the remote repository, I would copy all my changes to the remote workspace, run an update and fix any conflicts that the other site may have introduced, make and debug (again to deal with new stuff that the other side introduced), and then check into the new repository.
4.  copy all that back into my personal workspace and checkin (since there is new stuff from outside) to the personal cvs.  
5. Put a tag in my personal cvs to indicate this is the result of the merge with the remote cvs.

Really, I don't know any other decent way to do it.
editorial
However... this seems like a huge extra amount of effort and time.  I don't know why 
the supervisor is requiring such a thing, but in my opinion this seems like the real 
problem.  Perhaps he's there to make sure that no company specific IP goes into the 
OSS project?  I don't know, but such requirements (not the requirement to keep company 
IP out, the requirement to be checked) really kill the use of good revision control 
and collaboration with the external projects, and I'd say that the cost of such 
oversight really needs to be examined.  We contribute to OSS projects here at my 
company and no one looks them over.  We have NDAs and I feel that should be sufficient 
to keep company IP out of the OSS projects.  And besides, my supervisors wouldn't even 
know how to read the code let alone determine if any of our IP is in it (but we've got 
a really small engr dept.).
/editorial

Jim.Hyslop wrote:
MKlinke wrote:
In a simple single-authored project where she is trying to maintain a 
much more fine grained control over her revisions that what the 
official repository allows I'm not sure why she would even want to 
sync the repositories?  It seems a simple comment in her personal 
repository to the effect that At this point in development the code 
was released to the official repository should suffice.

(By snycing I'm assuming you mean make them identical in all 
respects including cvs assigned revision levels at some point in 
time )  

Given the assumption above, why do you feel syncing is important 
here?
Well, without any further input from Jill, we're both making assumptions
here. My assumption was that when she said:

I'll be the only programmer on this
project; moreover, my contribution will probably be pretty
self-contained (i.e. I don't expect that anyone but me will be
modifying the code that I write for this.)

I assumed she meant she would be the only programmer *at her company*
working on the project, but there could be other people from the open-source
project, who might make changes.
If Jill is the only person working on the code in any capacity, then a CVS
repository is overkill. The local, fine-grained control might be more easily
achieved by making a tarball (or Windows equivalent) when appropriate.
But if she's not, then the whole issue becomes more complex - she will have
to manage both her changes, and make sure to integrate the changes from the
main repository. This is what I meant by keeping the two in sync.

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


Re: RES: Checking out only files NEWER than given date/revision

2004-05-06 Thread Pierre Asselin
Alek Lapuc [EMAIL PROTECTED] wrote:

 The reason is simple. At the begining of the project we had some
 sources and include files supplied out-of-the-box with a commercial
 product. Than we done some customizations -- some files were added,
 some were changed, some were untouched.

 The main idea is to filter out the untouched files, so they are
 separated from out-of-the-box ones.

 The reason for this is that files out-of-the-box can be automatically
 patched while patching the whole product with official patch. The
 patch is prepared outside to our project. Our changes are not known to
 the product vendor, and most propably would be corrupted during such a
 patch. But having original and customized files separated, we can
 apply the patch and merge it manually to our sources if needed.

Tracking third party sources in the presence of local changes is what
the 'cvs import' command does.  The external sources are usually
delivered as tarballs or zip archives, but applying patches will work
too.

So check out your last import tag, patch it, reimport the result
and merge your trunk.

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


Re: Module weirdness.

2004-05-06 Thread Pierre Asselin
Carter Thompson [EMAIL PROTECTED] wrote:

 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
 uiui

Your $CVSROOT/adm/ui/ collides with the ui/ that the ui is trying to
create.  You can't do that.  It will *not* give you the union of
$CVSROOT/adm/ui/ and $CVSROOT/ui/ .  It just breaks.

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


Re: Personal CVS repository?

2004-05-06 Thread Pierre Asselin
J Krugman [EMAIL PROTECTED] wrote:

 For reasons that I'm not too clear on, my supervisor has instructed
 me that he must review my code before each submission to the off-site
 CVS repository, and he wants to do this once a week.

Then you have to play by those rules.  There may be intellectual
property issues.


 My only
 problem with this is that, even when I am the only programmer in
 a project, I prefer to keep a finer-grained version control than
 is possible with weekly submissions to the repository.

 It occurs to me, though, that maybe I could set up a personal
 CVS repository off my home directory

Yes, indeed.  Create a directory under you $HOME and run 'cvs init'.
You'll have to get familiar with 'cvs import' too.  Read the docs at
http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_13.html#SEC104 ,
slowly.  The first import is easy, the imports following that are more
complicated.

In your case, you'll want to keep yourself in sync with commits from
external developers.  Here's what I would do.

1)  Keep a checked-out sandbox from the public repository, preferably
from a read-only account so you don't commit by mistake and
bypass your weekly review.

2)  Import the said sandbox in your own private repository, to
the vendor branch.
outside-sandbox cvs -d $CVSROOT import -I! -ICVS \
 path VENDOR import--mm-dd

3)  Checkout another sandbox from your private repo.  This is the
copy you work on.  Hack and commit normally.

4)  At review time, go to your inside sandbox, and
inside-sandbox cvs commit
inside-sandbox cvs tag review--mm-dd
inside-sandbox cvs diff -N -u -rVENDOR  ../to_review.patch

Go over the to_review.patch with your supervisor.
If approved, apply the patch to your outside sandbox.
Commit from there, using a -d option to switch to the
developer account they gave you, with read-write permission.

outside-sandbox cvs -d :ext:blahblah commit

Now there is the problem of keeping your outside sandbox up to date
(easy) and of propagating those changes to your inside sandbox
(takes some gymnastics).  At least every morning,

outside-sandbox cvs update
outside-sandbox cvs import -I! -ICVS path VENDOR import--mm-dd-1

That was the import.  Now the merge,

inside-sandbox cvs commit
inside-sandbox cvs tag premerge
inside-sandbox cvs update -j previous import tag -j last import tag
fix conflicts
inside-sandbox cvs commit
inside-sandbox cvs tag -d premerge

The 'premerge' tag is in case something goes wrong with the merge.  It
represents your last good point before attempting the merge.  If the
merge is full of conflicts, you can start a branch off of premerge to
continue your work while your figure out how to finish the merge.


 (although I'll readily admit
 that I've never set up a CVS repository of *any* kind before); I
 would use it for my fine-grain version control, while submitting
 new, boss-approved stuff to the real off-site repository only
 once a week...

 My knowledge of CVS is very limited; I know a few commands, and I
 never deviate from the most basic functionality.

The potentially hard part is all those imports and merges.  The bit
about setting up your own repository is really trivial.  One annoying
bit is that when you reimport your fresh commits to the external site,
your merge will show spurious conflicts with the same text on both side
of the conflict.  You'll just have to clean them up.


 This personal
 repository idea is far more adventurous than anything I've done
 with CVS before.

Yes, but it's the perfect thing here.  You commit to your private
repository at your chosen pace and you generate diffs at review time.

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