CVS Log

View: New views
15 Messages — Rating Filter:   Alert me  

CVS Log

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am unable to generate a cvs log for a module based on a date or date range.
 
I'm in the root of the working folder and there're 10 cvs projects in my working folder, I'd like to cd into each and generate a long from may 1st to sept 26 of 2008.  I'm testing right now and  run the command below to give me a short log since yesterday but the entire log or history spews out:
 
c:\myworkingfoler\project1>cvs log -d 2008-09-25
 
Help!
 
THANKS


Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now

Re: CVS Log

by Larry Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Res Pons writes:
>
> I'm testing right now and  run the command below to give me a short log
> since yesterday but the entire log or history spews out:
>  
> c:\myworkingfoler\project1>cvs log -d 2008-09-25

That's because you're not using -d correctly -- the above gives you the
most recent log entry on *or before* 2008-09-25.  To get the log *since*
that date, you need:

        c:\myworkingfoler\project1>cvs log -d '2008-09-25<'

To get 1-May to 26-Sep, you'd use:

        c:\myworkingfoler\project1>cvs log -d '2008-05-01<2008-09-26'
--
Larry Jones

Things are never quite as scary when you've got a best friend. -- Calvin



RE: CVS Log

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Great, thank you for your help.

> Subject: Re: CVS Log
> To: pons32@...
> Date: Fri, 26 Sep 2008 20:07:51 -0400
> CC: info-cvs@...
> From: lawrence.jones@...
>
> Res Pons writes:
> >
> > I'm testing right now and run the command below to give me a short log
> > since yesterday but the entire log or history spews out:
> >
> > c:\myworkingfoler\project1>cvs log -d 2008-09-25
>
> That's because you're not using -d correctly -- the above gives you the
> most recent log entry on *or before* 2008-09-25. To get the log *since*
> that date, you need:
>
> c:\myworkingfoler\project1>cvs log -d '2008-09-25<'
>
> To get 1-May to 26-Sep, you'd use:
>
> c:\myworkingfoler\project1>cvs log -d '2008-05-01<2008-09-26'
> --
> Larry Jones
>
> Things are never quite as scary when you've got a best friend. -- Calvin


Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now

RE: CVS Log

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Larry,
 
I tried both of the commands below, as you mentioned, in a project which hasn't had any activity for a long time, therefore, shouldn't have generated a report at all but to my amazement, it did!
 
cvs log -d"2008-05-01<2008-09-26"
 
I also realized that there shouldn't be any space between -d and its ARG, and the ARG should be in double quotes or CVS will complain.
 
Thanks
 
Rez


> To: pons32@...
> Date: Fri, 26 Sep 2008 20:07:51 -0400
> From: lawrence.jones@...
> CC: info-cvs@...
> Subject: Re: CVS Log
>
> Res Pons writes:
> >
> > I'm testing right now and run the command below to give me a short log
> > since yesterday but the entire log or history spews out:
> >
> > c:\myworkingfoler\project1>cvs log -d 2008-09-25
>
> That's because you're not using -d correctly -- the above gives you the
> most recent log entry on *or before* 2008-09-25. To get the log *since*
> that date, you need:
>
> c:\myworkingfoler\project1>cvs log -d '2008-09-25<'
>
> To get 1-May to 26-Sep, you'd use:
>
> c:\myworkingfoler\project1>cvs log -d '2008-05-01<2008-09-26'
> --
> Larry Jones
>
> Things are never quite as scary when you've got a best friend. -- Calvin
>
>
I


See how Windows connects the people, information, and fun that are part of your life. See Now

Re: CVS Log

by Larry Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Res Pons writes:
>  
> I tried both of the commands below, as you mentioned, in a project
> which hasn't had any activity for a long time, therefore, shouldn't have
> generated a report at all but to my amazement, it did!

Why do you think it shouldn't have generated a report at all?  The -d
option only affects which log messages get printed, you always get the
header for each file regardless of whether any log messages are selected
unless you also use the -S option.

> I also realized that there shouldn't be any space between -d and its
> ARG, and the ARG should be in double quotes or CVS will complain.

A space between -d and its argument is perfectly acceptable.  If < is
interpreted specially by your shell (as it is in most Unix-like and
Windows shells), then you need some kind of quoting.  That is an OS
issue, not specific to CVS.
--
Larry Jones

It's like SOMEthing... I just can't think of it. -- Calvin



Checking in flat files with passwords into CVS

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi
 

I'm not sure whether this is related to the forum or not.  I would like to check into CVS bunch of text files containing database login ids and passwords.  Is there anyway to encrypt the password and check-in the hashed version into CVS and only when I check it out it gets decrypted?  How're other people handling passwords in version control or CVS?

 

Thanks
 
Rez


Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now

Selective mix & match check out

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I'm trying to check out from an old label in CVS plus 3 or 4 newer folders from the latest mainline, however, when I check out from the old label, the newer folders didn't exist back then obviously. I'm not sure how to achieve this mix and match checkout? Help please.

Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now

Re: Selective mix & match check out

by Larry Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rez writes:
>
> I'm trying to check out from an old label in CVS plus 3 or 4 newer
> folders from the latest mainline, however, when I check out from the old
> label, the newer folders didn't exist back then obviously. I'm not sure
> how to achieve this mix and match checkout? Help please.

First checkout with the old label, then explicitly do update -Ad for the
new directories you want from the trunk:

        cvs co -rold stuff
        cd stuff
        cvs up -Ad sub1 sub2
--
Larry Jones

I'm getting disillusioned with these New Years. -- Calvin



RE: Selective mix & match check out

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Great and thank you for your help. It worked perfectly.

> Subject: Re: Selective mix & match check out
> To: pons32@...
> Date: Tue, 14 Oct 2008 14:47:56 -0400
> CC: info-cvs@...
> From: lawrence.jones@...
>
> Rez writes:
> >
> > I'm trying to check out from an old label in CVS plus 3 or 4 newer
> > folders from the latest mainline, however, when I check out from the old
> > label, the newer folders didn't exist back then obviously. I'm not sure
> > how to achieve this mix and match checkout? Help please.
>
> First checkout with the old label, then explicitly do update -Ad for the
> new directories you want from the trunk:
>
> cvs co -rold stuff
> cd stuff
> cvs up -Ad sub1 sub2
> --
> Larry Jones
>
> I'm getting disillusioned with these New Years. -- Calvin


Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now

CVS User Log

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi

 

Our CVS server is running on a linux box, users authenticate via pserver, and I'm the admin.  Is there anyway or a command to execute to see a list of users who logged into CVS within a given time period?

 

Thanks



Store, manage and share up to 5GB with Windows Live SkyDrive. Start uploading now

Re: CVS User Log

by Larry Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rez writes:
>  
> Our CVS server is running on a linux box, users authenticate via
> pserver, and I'm the admin.  Is there anyway or a command to execute to
> see a list of users who logged into CVS within a given time period?

No.
--
Larry Jones

Hmm... That might not be politic. -- Calvin



RE: CVS User Log

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks. Looks like I have to rely on system logs and see what I can extrapolate out of them.

> Subject: Re: CVS User Log
> To: pons32@...
> Date: Thu, 23 Oct 2008 19:15:24 -0400
> CC: info-cvs@...
> From: lawrence.jones@...
>
> Rez writes:
> >
> > Our CVS server is running on a linux box, users authenticate via
> > pserver, and I'm the admin. Is there anyway or a command to execute to
> > see a list of users who logged into CVS within a given time period?
>
> No.
> --
> Larry Jones
>
> Hmm... That might not be politic. -- Calvin


Store, manage and share up to 5GB with Windows Live SkyDrive. Start uploading now

CVS Clean Up

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Everyone,

 

We're running CVS repository on a linux box and the users connect from Windows client via pserve method.  There're a lot of obsolete projects  in our repository which I'd like to delete or commit to the attic without checking out a working copy first!  Is it possible to send a remove command to the server from my Windows PC or directly logon to the server and remove these obsolete folders and projects without checking out a working copy first?

 
 
Thanks
 
Rez





Store, manage and share up to 5GB with Windows Live SkyDrive. Start uploading now

Re: CVS Clean Up

by jason cipriani-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can log directly on to the server and remove the folders. If you
want to save them for posterity, we once did a similar thing and just
created an "obsolete" module and moved it there. Create the new module
as normal then you can simply move the folders into it on the server.
The folders are all self-contained in CVS so moving them around /
deleting them will do what you want and will not corrupt the
repository. Of course, always back up your repository first in case
you make a mistake and need to restore.

HTH,
Jason

On Mon, Oct 27, 2008 at 6:01 PM, Rez <pons32@...> wrote:

> Hi Everyone,
>
>
>
> We're running CVS repository on a linux box and the users connect from
> Windows client via pserve method.  There're a lot of obsolete projects  in
> our repository which I'd like to delete or commit to the attic without
> checking out a working copy first!  Is it possible to send a remove command
> to the server from my Windows PC or directly logon to the server and remove
> these obsolete folders and projects without checking out a working copy
> first?
>
>
>
> Thanks
>
> Rez
>
>
>
>
> ________________________________
> Store, manage and share up to 5GB with Windows Live SkyDrive. Start
> uploading now



RE: CVS Clean Up

by Rez-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thank you for your help.

> Date: Mon, 27 Oct 2008 18:09:11 -0400
> From: jason.cipriani@...
> To: pons32@...
> Subject: Re: CVS Clean Up
> CC: info-cvs@...
>
> You can log directly on to the server and remove the folders. If you
> want to save them for posterity, we once did a similar thing and just
> created an "obsolete" module and moved it there. Create the new module
> as normal then you can simply move the folders into it on the server.
> The folders are all self-contained in CVS so moving them around /
> deleting them will do what you want and will not corrupt the
> repository. Of course, always back up your repository first in case
> you make a mistake and need to restore.
>
> HTH,
> Jason
>
> On Mon, Oct 27, 2008 at 6:01 PM, Rez <pons32@...> wrote:
> > Hi Everyone,
> >
> >
> >
> > We're running CVS repository on a linux box and the users connect from
> > Windows client via pserve method. There're a lot of obsolete projects in
> > our repository which I'd like to delete or commit to the attic without
> > checking out a working copy first! Is it possible to send a remove command
> > to the server from my Windows PC or directly logon to the server and remove
> > these obsolete folders and projects without checking out a working copy
> > first?
> >
> >
> >
> > Thanks
> >
> > Rez
> >
> >
> >
> >
> > ________________________________
> > Store, manage and share up to 5GB with Windows Live SkyDrive. Start
> > uploading now


You live life beyond your PC. So now Windows goes beyond your PC. See how
LightInTheBox - Buy quality products at wholesale price!