Re: Change a keyword for another keyword

2005-02-09 Thread Mark Jackson
"Jim.Hyslop" <[EMAIL PROTECTED]> writes:
> Paola Attadio wrote:
> > I need the change a keyword for another keyword in the 
> > archives a module 
> > of cvs. Quisiera to do this of once. Somebody knows some tool 
> > and/or way 
> > to do this?
> 
> Off the top of my head, something like:
> 
> find -type f -exec sed -i 's/\$OriginalRCSKeyword[^\$]*/$NewRCSKeyword/g' {}
> \;
> 
> should do it. Check your changes very carefully before committing, though,
> in case one of the files is binary, or otherwise happens to have a string
> that matches the keyword. You'll also probably want a way to filter out
> files in the CVS subdirectories - I haven't figured out how to do that with
> 'find' yet (if indeed it's possible).

If you start with

find . ! \( -name CVS -prune \)

you should omit CVS subdirectories and their contents.

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
People who write obscurely are either unskilled in writing
or up to mischief.  - Sir Peter Medawar


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: unsubscribe

2002-04-10 Thread Mark Jackson

"Daniels, David F" <[EMAIL PROTECTED]> writes:

> > From: Vishal Jain [mailto:[EMAIL PROTECTED]]

> > Why do we get unsubscribe messages here?

> I think the reason is the link found at the bottom of most list messages
> doesn't provide an obvious and easy way to unsubscribe.

How about the links found in the header of *every* list message:

List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
<mailto:[EMAIL PROTECTED]?subject=unsubscribe>

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
The greatest masterpiece in literature is only a dictionary
out of order.   - Jean Cocteau


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



Re: Daniel Peterson/sfm/spc is out of the office.

2002-02-09 Thread Mark Jackson

<[EMAIL PROTECTED]> writes:
> I will be out of the office starting  02/08/2002 and will not return until
> 02/25/2002.
> 
> PVCS requests should use the PVCS-NEW_PROJECT or the PVCS-USER-CHANGE
> request forms in Notes.  Questions can be directed to Amy Davis ISD. 0-8404

Wrong newsgroup.  This belongs in rec.arts.burglary.opportunities.

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Back in the Sixties we didn't have video games and the
Internet.  All we had was drugs and naked people.
- Scott Bateman


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



Re: how to change a rev number

2002-02-06 Thread Mark Jackson

Shane McDaniel <[EMAIL PROTECTED]> writes:

> On Wed, 6 Feb 2002, Thornley, David wrote:

> > The right answer is to stop thinking about the rev number and just
> > apply a tag when you want something you can refer to.  Leave the
> > revision numbers to CVS.

> point taken.  but then what is the use of having a hierchal rev number if
> tags are what one should use?  wouldn't cvs just use an incrementing
> number ie 1,2,3,4 instead of 1.0.1,1.0.2,etc..

Some of it is purely historical, required for compatibility with RCS
(upon which CVS was built), and hence serves no useful purpose.  The
major rev number (to the left of the first decimal) is an example of
this.

But some kind of branching scheme (as opposed to simple one-dimensional
increments) is required to support, well, branching.

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Back in the Sixties we didn't have video games and the
Internet.  All we had was drugs and naked people.
- Scott Bateman


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



Re: URGENT: Initial revision number for CVS.

2002-01-28 Thread Mark Jackson

[EMAIL PROTECTED] (Carsten Wich) writes:

> No, importing the other, non RCS-controlled sources has the same
> effect that you describe. All files get the revision number 1.1.1.1.,
> so the depth here is 4.
> 
> We really do not need the depth 4 revision numbers and want a default
> revision number depth of 2. I have searched all the CVS manuals,
> Google and other written resources, but found no answer to this
> question.
> 
> Has anybody an answer that is other than "don't care about the CVS
> revision numbers, use your own scheme with the use of tags" ?

How about "please don't care about the CVS revision numbers, use your
own scheme with the use of tags?"

Seriously - is it not true that if you check out, edit, and commit one
of these imported files with the evil 4-ply revision number, that
the new version is "1.2"?  And - unless this has changed since 1.10 -
is it not true that the original, imported file can be addressed either
as 1.1.1.1 *or* 1.1?  I quote from the "cvs log" output for such a
file:

revision 1.1
date: 2001/09/14 17:42:01;  author: mjackson;  state: Exp;
branches:  1.1.1;
Initial revision

revision 1.1.1.1
date: 2001/09/14 17:42:01;  author: mjackson;  state: Exp;  lines: +0 -0
initial import

Same file, two numbers.  In what sense does this *not* meet your actual needs?

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Distrust any enterprise that requires new clothes.
- Henry David Thoreau


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



Re: listing un-added files?

2001-11-30 Thread Mark Jackson

Michael Reed <[EMAIL PROTECTED]> writes:

> Can anyone recommend a way to list files (or directories) that exist
> w/in a working copy that haven't been added/committed?

cvs -n update | grep ^\?

may tell you what you want. . .

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
After a recent trip to New York one French journalist remarked that
leafing through a copy of /Forbes/ or /Fortune/ is like reading the
operating manual of a strangely sanctimonious pirate ship.
- Adam Gopnik


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



Re: [kfogel@collab.net: Re: rename in cvs]

2001-10-11 Thread Mark Jackson

[EMAIL PROTECTED] (Kaz Kylheku) writes:
> In article <[EMAIL PROTECTED]>, Greg A. Woods wrote:

> >Let me repeat:  You DO NOT want or need to have "cvs log BAR" list
> >changes in the file "FOO".  To want that is illogical.  It is
> >unnecessary!
> 
> It's irrational to want the present implementation of a tool to do
> something that it isn't designed to do.

> You should accept that some people do not form a religious belief system
> around the capabilities of a software system.

It's irrational to want the present implementation of the other half of
this dialogue to do something that it isn't designed to do.

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Meeting the author, I think, is one of life's most reliably
disappointing experiences.  - Billy Collins


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



Re: Cannot unsubscribe

2001-09-28 Thread Mark Jackson

"Luna, Glen" <[EMAIL PROTECTED]> writes:

> I just wanted the group to know that unsubscribing is not always so
> easy.

Did you try the web interface?  From the headers:

> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
>   

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Physics is like sex:  sure, it may give some practical results,
but that's not why we do it.- Richard Feynman


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



Re: cvs status question

2001-09-24 Thread Mark Jackson

"Robben Mario" <[EMAIL PROTECTED]> writes:

> is there an easy way to see which files don't have the status "Up-to-date"

cvs status | grep ^File | grep -v Up-to-date

> in WinCVS.

Oh.  Well, maybe there's a Windows equivalent.

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Physics is like sex:  sure, it may give some practical results,
but that's not why we do it.- Richard Feynman


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



Re: checking links into source control

2001-09-14 Thread Mark Jackson

[EMAIL PROTECTED] (Kaz Kylheku) writes:

> Not combining unrelated responsibilities into the same program is not
> necessarily a limitation.  What would you say about an e-mail application
> that contains a C compiler, and a filesystem repair tool?

"Microsoft Outlook owns that market."

-- 
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Physics is like sex:  sure, it may give some practical results,
but that's not why we do it.- Richard Feynman


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